Skip to content

Releases: pwittchen/ReactiveNetwork

2.0.0-rx2

20 Jul 17:31
Compare
Choose a tag to compare
  • bumped project dependencies -> RxJava: 1d1a301, others: 597dc03
  • refactored Connectivity class to better builder pattern to improve code consistency (breaking API of the Connectivity class) - PR #283
  • improved unit tests coverage - PR #287

1.0.0-rx2

24 Jun 18:46
2b6d15a
Compare
Choose a tag to compare
  • fixed docs in 76ab2b2 after reporting problem in #276 (returning false-positive connectivity results in one edge-case)
  • updated project dependencies - PR #269, commit 02449af
  • refactored ReactiveNetwork class with Builder pattern - PR #279
  • removed the following methods from the ReactiveNetwork class:
Observable<Boolean> observeInternetConnectivity(int interval, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(int initialIntervalInMs, int intervalInMs, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(final int initialIntervalInMs, final int intervalInMs, final String host, final int port, final int timeoutInMs, final ErrorHandler errorHandler)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy, final String host)

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(final InternetObservingStrategy strategy, final String host)
  • added InternetObservingSettings class
  • added the following methods to the ReactiveNetwork class:
Observable<Boolean> observeInternetConnectivity(InternetObservingSettings settings)
Single<Boolean> checkInternetConnectivity(InternetObservingSettings settings)

0.12.4

24 Jun 18:42
b4ff29a
Compare
Choose a tag to compare

0.12.3

11 Feb 19:14
a7fdd56
Compare
Choose a tag to compare
  • bumped RxJava: 1.3.3 -> 1.3.5
  • updated Gradle Build Tools: 3.0.0 -> 3.0.1
  • added script for publishing JavaDoc on gh-pages
  • added script for publishing documentation on gh-pages

0.12.3-rx2

03 Jan 18:16
fcba357
Compare
Choose a tag to compare
  • updated project dependencies -> see: abc1fd5
  • updated gradle configuration in config/quality.gradle (replaced deprecated invocations with new ones)

0.12.2

12 Nov 16:30
7b3b112
Compare
Choose a tag to compare
  • updated project dependencies
  • updated Gradle to 3.0.0

0.12.2-rx2

11 Nov 20:07
de3cf56
Compare
Choose a tag to compare
  • updated API of MarshmallowNetworkObservingStrategy
    • made void registerIdleReceiver(context) protected
    • made boolean isIdleMode(context) protected
    • made tryToUnregisterCallback(ConnectivityManager) protected
    • made tryToUnregisterReceiver(context) protected
    • made NetworkCallback createNetworkCallback(context) protected
    • added BroadcastReceiver createIdleBroadcastReceiver()
    • added onNext(Connectivity connectivity)
    • added MarshmallowNetworkObservingStrategy() constructor
    • extracted String messages into protected static final fields
  • set min sdk version for sample apps to 14
  • updated Gradle v. 3.0.0.
  • updated compile sdk version: 25 -> 26
  • updated build tools version: 25.0.2 - > 26.0.2
  • updated kotlin version: 1.1.3-2 -> 1.1.51
  • updated project dependencies
    • RxJava 2.1.2 -> 2.1.6
    • support-annotations: 25.3.0 -> 27.0.1
    • appcompat-v7: 25.3.0 -> 27.0.1
    • truth: 0.34 -> 0.36
    • mockito-core: 2.8.47 -> 2.12.0
  • added ErrorProne for static code analysis
  • added NullAway for static code analysis

0.12.1-rx2

02 Sep 16:30
Compare
Choose a tag to compare

Fixed memory leak in PreLollipopNetworkObservingStrategy during disposing of an Observable - issue #219.

0.12.0-rx2

30 Aug 16:35
Compare
Choose a tag to compare
  • Fixed NPE occuring when ConnectivityManager is null in ReactiveNetwork.observeNetworkConnectivity() method - issue #209
  • Added new methods to the API for checking Internet connectivity - issue #205
    • Observable<Boolean> observeInternetConnectivity(strategy, host)
    • Single<Boolean> checkInternetConnectivity(strategy, host)
  • Added to documentation comment about monitoring Internet connectivity with custom host - issue #204
  • Classes which implement InternetObservingStrategy handle custom hosts with and without http:// or https:// prefix gracefully - issue #206
  • organized packages with unit tests
  • made the library more hermetic
  • changed visibility of SocketInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler handler) method from public to protected
  • changed visibility of SocketInternetObservingStrategy#isConnected(Socket socket, String host, int port, int timeoutInMs, ErrorHandler errorHandler) method from public to protected
  • changed visibility of Connectivity#create(Context, ConnectivityManager) method from public to protected
  • changed visibility of WalledGardenInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler errorHandler) method from public to protected
  • changed visibility of WalledGardenInternetObservingStrategy#createHttpUrlConnection(String host, int port, int timeoutInMs) method from public to protected

0.12.0

30 Aug 16:34
Compare
Choose a tag to compare
  • Fixed NPE occuring when ConnectivityManager is null in ReactiveNetwork.observeNetworkConnectivity() method - issue #209
  • Added new method to the API for checking Internet connectivity - issue #205
    • Observable<Boolean> observeInternetConnectivity(strategy, host)
  • Added to documentation comment about monitoring Internet connectivity with custom host - issue #204
  • Classes which implement InternetObservingStrategy handle custom hosts with and without http:// or https:// prefix gracefully - issue #206
  • organized packages with unit tests
  • made the library more hermetic
  • changed visibility of SocketInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler handler) method from public to protected
  • changed visibility of SocketInternetObservingStrategy#isConnected(Socket socket, String host, int port, int timeoutInMs, ErrorHandler errorHandler) method from public to protected
  • changed visibility of Connectivity#create(Context, ConnectivityManager) method from public to protected
  • changed visibility of WalledGardenInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler errorHandler) method from public to protected
  • changed visibility of WalledGardenInternetObservingStrategy#createHttpUrlConnection(String host, int port, int timeoutInMs) method from public to protected