Releases: pwittchen/ReactiveNetwork
Releases · pwittchen/ReactiveNetwork
0.11.0-rx2
- added
WalledGardenInternetObservingStrategy
- fixes #116 - made
WalledGardenInternetObservingStrategy
a default strategy for checking Internet connectivity - added documentation for
NetworkObservingStrategy
- solves #197 - added documentation for
InternetObservingStrategy
- solves #198 - fixed package name in
AndroidManifest.xml
file - solves #195 - bumped RxJava2 version to 2.1.2
- bumped Kotlin version to 1.1.3-2
- bumped Gradle Android Tools version to 2.3.3
- bumped Retrolambda to 3.7.0
- increased code coverage with unit tests
0.11.0
- added
WalledGardenInternetObservingStrategy
- fixes #116 - made
WalledGardenInternetObservingStrategy
a default strategy for checking Internet connectivity - added documentation for
NetworkObservingStrategy
- solves #197 - added documentation for
InternetObservingStrategy
- solves #198 - bumped Kotlin version to 1.1.3-2
- bumped Gradle Android Tools version to 2.3.3
- bumped Retrolambda to 3.7.0
0.10.0-rx2
- bumped RxJava2 version to 2.1.1
- bumped test dependencies
- created Code of Conduct
- updated unit tests
- updated Kotlin version in sample apps
- added retrolambda to the sample Java app - issue #163
- fixed behavior of network observing in disconnected state - issue #159
- added the following methods to
ReactiveNetwork
class:Single<Boolean> checkInternetConnectivity()
Single<Boolean> checkInternetConnectivity(InternetObservingStrategy strategy)
Single<Boolean> checkInternetConnectivity(String host, int port, int timeoutInMs)
Single<Boolean> checkInternetConnectivity(String host, int port, int timeoutInMs, ErrorHandler errorHandler)
Single<Boolean> checkInternetConnectivity(InternetObservingStrategy strategy, String host, int port, int timeoutInMs, ErrorHandler errorHandler)
0.10.0
0.9.1-rx2
0.9.1
0.9.0-rx2
- migrated library to RxJava2.x on RxJava2.x branch and released it as
reactivenetwork-rx2
artifact - updated dependencies
- updated documentation
- updated sample apps
0.9.0
0.8.0
- renamed
DefaultInternetObservingStrategy
toSocketInternetObservingStrategy
class - added
observeInternetConnectivity(InternetObservingStrategy)
method toReactiveNetwork
class - removed
DefaultInternetObservingStrategy#ON_CLOSE_SOCKET_ERROR_MSG
static field - added permission annotations
- updated
Connectivity
class. Now it contains the following fields with getters:state, detailedState, type, subType, available, failover, roaming, typeName, subTypeName, reason, extraInfo
(it's wrapped data ofNetworkInfo
class from Android SDK) - added
Builder
to theConnectivity
class - created
ConnectivityPredicate
class - methods
Func1<Connectivity, Boolean> hasState(final NetworkInfo.State... states)
andFunc1<Connectivity, Boolean> hasType(final int... types)
were moved fromConnectivity
class toConnectivityPredicate
class - updated Gradle and Travis configuration
- updated project dependencies
0.7.0
- added
isConnected(final String host, final int port, final int timeoutInMs, ErrorHandler errorHandler)
method toDefaultInternetObservingStrategy
class - added
isConnected(final Socket socket, final String host, final int port, final int timeoutInMs, final ErrorHandler errorHandler)
method toDefaultInternetObservingStrategy
class - renamed
SocketErrorHandler
toErrorHandler
and updated its API - renamed
DefaultSocketErrorHandler
toDefaultErrorHandler
- updated API of the
InternetObservingStrategy
- updated packages organization
- migrated unit tests to Robolectric (now tests can be executed without an emulator or a device)
- enabled test coverage reports with codecov.io and Jacoco
- test coverage was increased from 54% to 74%
- unit tests are now executed on Travis CI
- test coverage report is generated by Travis CI with codecov.io
- added
MarshmallowNetworkObservingStrategy
and handling Doze mode - bumped RxJava to v. 1.2.3
- updated build tools to v. 2.0.3
- updated Gradle configuration
- updated Travis CI configuration
- added ProGuard configuration