From 2cbdf337c0f7a632ff7c2cbb1c9c52176d7b1b71 Mon Sep 17 00:00:00 2001 From: sachin shinde Date: Thu, 9 May 2024 11:06:09 +0000 Subject: [PATCH 1/3] bumped up lib version --- CONTRIBUTING.md | 2 +- README.md | 4 ++-- common.gradle | 2 +- .../io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5489b8e97..60760faf8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -191,7 +191,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.37.aar') +implementation files('libs/ably-android-1.2.38.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 ecb63e221..3d8c6fd14 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ Include the library by adding an `implementation` reference to `dependencies` bl For [Java](https://mvnrepository.com/artifact/io.ably/ably-java/latest): ```groovy -implementation 'io.ably:ably-java:1.2.37' +implementation 'io.ably:ably-java:1.2.38' ``` For [Android](https://mvnrepository.com/artifact/io.ably/ably-android/latest): ```groovy -implementation 'io.ably:ably-android:1.2.37' +implementation 'io.ably:ably-android:1.2.38' ``` The library is hosted on [Maven Central](https://mvnrepository.com/repos/central), so you need to ensure that the repository is referenced also; IDEs will typically include this by default: diff --git a/common.gradle b/common.gradle index b95013f2a..6ab0a2193 100644 --- a/common.gradle +++ b/common.gradle @@ -3,7 +3,7 @@ repositories { } group = 'io.ably' -version = '1.2.37' +version = '1.2.38' description = 'Ably java client library' tasks.withType(Javadoc) { 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 0059c91eb..76d09aecd 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.37 jre/" + System.getProperty("java.version"))); + Collections.singletonList("ably-java/1.2.38 jre/" + System.getProperty("java.version"))); /* Spec RTN2a */ assertEquals("Verify correct format", requestParameters.get("format"), From 585a1311c4b71c2161766c994a1905b616144892 Mon Sep 17 00:00:00 2001 From: sachin shinde Date: Thu, 9 May 2024 11:07:21 +0000 Subject: [PATCH 2/3] incremented version code in build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index c41d6b7b7..af624c001 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -31,7 +31,7 @@ android { minSdkVersion 19 targetSdkVersion 30 // This MUST be incremented by 1 on each ably-java release - versionCode 12 + versionCode 13 versionName version setProperty('archivesBaseName', "ably-android-$versionName") testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' From 60c8f7bca83b92216fc2ed646787fc05d79f66aa Mon Sep 17 00:00:00 2001 From: sachin shinde Date: Thu, 9 May 2024 11:14:33 +0000 Subject: [PATCH 3/3] updated changelog --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 109b14422..70a97a77b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## [1.2.38](https://github.com/ably/ably-java/tree/v1.2.38) + +[Full Changelog](https://github.com/ably/ably-java/compare/v1.2.37...v1.2.38) + +**Breaking changes:** + +- v1.2.34 is incompatible with older Android API versions [\#1004](https://github.com/ably/ably-java/issues/1004) + +**Fixed bugs:** + +- REST client not attempting fallback hosts upon `httpOpenTimeout` expiry [\#997](https://github.com/ably/ably-java/issues/997) + +**Closed issues:** + +- Gracefully shutdown Ably resources [\#917](https://github.com/ably/ably-java/issues/917) +- Read timed out [\#850](https://github.com/ably/ably-java/issues/850) + ## [1.2.37](https://github.com/ably/ably-java/tree/v1.2.37) [Full Changelog](https://github.com/ably/ably-java/compare/v1.2.36...v1.2.37)