diff --git a/CHANGELOG.md b/CHANGELOG.md index 04b44a9f0..403bd2c68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [1.4.2](https://github.com/ably/ably-java/tree/v1.4.2) + +[Full Changelog](https://github.com/ably/ably-java/compare/v1.4.1...v1.4.2) + +### What's Changed + +* Fixed an issue where async requests were not working after the realtime client reconnected following a manual close in https://github.com/ably/ably-java/pull/1176 + ## [1.4.1](https://github.com/ably/ably-java/tree/v1.4.1) [Full Changelog](https://github.com/ably/ably-java/compare/v1.4.0...v1.4.1) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 713078c33..f5251d94b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -235,7 +235,7 @@ You may wish to make changes to Ably Java or Ably Android, and test it immediate - Open the directory printed from the output of that command. Inside that folder, get the `ably-android-x.y.z.aar`, and place it your Android project's `libs/` directory. Create this directory if it doesn't exist. - Add an `implementation` dependency on the `.aar`: ```groovy -implementation files('libs/ably-android-1.4.1.aar') +implementation files('libs/ably-android-1.4.2.aar') ``` - Add the `implementation` (not `testImplementation`) dependencies found in `dependencies.gradle` to your project. This is because the `.aar` does not contain dependencies. - Build/run your application. diff --git a/README.md b/README.md index 13bb93294..7b20f8693 100644 --- a/README.md +++ b/README.md @@ -51,14 +51,14 @@ The Java SDK is available as a [Maven dependency](https://mvnrepository.com/arti io.ably ably-java - 1.4.1 + 1.4.2 ``` ### Install for Gradle: ```gradle -implementation 'io.ably:ably-java:1.4.1' +implementation 'io.ably:ably-java:1.4.2' implementation 'org.slf4j:slf4j-simple:2.0.7' ``` @@ -113,7 +113,7 @@ Add the following dependency to your `build.gradle` file: ```groovy dependencies { - runtimeOnly("io.ably:liveobjects:1.4.1") + runtimeOnly("io.ably:liveobjects:1.4.2") } ``` @@ -140,7 +140,7 @@ Add the following dependency to your `build.gradle` file: ```groovy dependencies { - runtimeOnly("io.ably:network-client-okhttp:1.4.1") + runtimeOnly("io.ably:network-client-okhttp:1.4.2") } ``` diff --git a/gradle.properties b/gradle.properties index 5b3bf99c2..21f0613f0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=io.ably -VERSION_NAME=1.4.1 +VERSION_NAME=1.4.2 POM_INCEPTION_YEAR=2015 POM_URL=https://github.com/ably/ably-java POM_SCM_URL=https://github.com/ably/ably-java/ diff --git a/lib/src/test/java/io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java b/lib/src/test/java/io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java index 9d02aae2d..940aa3dd2 100644 --- a/lib/src/test/java/io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java +++ b/lib/src/test/java/io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java @@ -88,7 +88,7 @@ public void realtime_websocket_param_test() { * Defaults.ABLY_AGENT_PARAM, as ultimately the request param has been derived from those values. */ assertEquals("Verify correct lib version", requestParameters.get("agent"), - Collections.singletonList("ably-java/1.4.1 jre/" + System.getProperty("java.version"))); + Collections.singletonList("ably-java/1.4.2 jre/" + System.getProperty("java.version"))); /* Spec RTN2a */ assertEquals("Verify correct format", requestParameters.get("format"),