From 285cf276d8dd4b10442aae9c38e0c38b4007ae3e Mon Sep 17 00:00:00 2001 From: evgeny Date: Fri, 18 Jul 2025 12:01:07 +0100 Subject: [PATCH 1/2] chore: bump version number --- CONTRIBUTING.md | 2 +- README.md | 6 +++--- gradle.properties | 2 +- .../io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e4758959..f849a3545 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -215,7 +215,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.2.53.aar') +implementation files('libs/ably-android-1.2.54.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 802c4b010..ba9e483e3 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.2.22 + 1.2.54 ``` ### Install for Gradle: ```gradle -implementation 'io.ably:ably-java:1.2.22' +implementation 'io.ably:ably-java:1.2.54' implementation 'org.slf4j:slf4j-simple:2.0.7' ``` @@ -117,7 +117,7 @@ Add the following dependency to your `build.gradle` file: ```groovy dependencies { - runtimeOnly("io.ably:network-client-okhttp:1.2.53") + runtimeOnly("io.ably:network-client-okhttp:1.2.54") } ``` diff --git a/gradle.properties b/gradle.properties index 1232d062f..0f0c9f090 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=io.ably -VERSION_NAME=1.2.53 +VERSION_NAME=1.2.54 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 6b958b103..5c4a33d62 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.2.53 jre/" + System.getProperty("java.version"))); + Collections.singletonList("ably-java/1.2.54 jre/" + System.getProperty("java.version"))); /* Spec RTN2a */ assertEquals("Verify correct format", requestParameters.get("format"), From 3551836184f75867a7fe3bf95fdfb990e3711fdd Mon Sep 17 00:00:00 2001 From: evgeny Date: Fri, 18 Jul 2025 12:06:01 +0100 Subject: [PATCH 2/2] chore: update `CHANGELOG.md` --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8da57ee16..d7b482d93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## [1.2.54](https://github.com/ably/ably-java/tree/v1.2.54) + +[Full Changelog](https://github.com/ably/ably-java/compare/v1.2.53...v1.2.54) + +This release includes minor improvements and bug fixes. + +**Implemented enhancements:** + +- Prevents NPE in the connectivity check [\#1111](https://github.com/ably/ably-java/issues/1111) +- Fixes async connection state transition side effects [\#1119](https://github.com/ably/ably-java/issues/1119) + ## [1.2.53](https://github.com/ably/ably-java/tree/v1.2.53) [Full Changelog](https://github.com/ably/ably-java/compare/v1.2.52...v1.2.53)