diff --git a/CHANGELOG.md b/CHANGELOG.md index 95154f66f..ea9f61ccf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## [1.2.51](https://github.com/ably/ably-java/tree/v1.2.51) + +[Full Changelog](https://github.com/ably/ably-java/compare/v1.2.50...v1.2.51) + +**Implemented enhancements:** + +- Made query params URL-encoded in the request API by default [\#1075](https://github.com/ably/ably-java/issues/1075) +- Implemented RTN11d spec point [\#1074](https://github.com/ably/ably-java/issues/1074) + ## [1.2.50](https://github.com/ably/ably-java/tree/v1.2.50) [Full Changelog](https://github.com/ably/ably-java/compare/v1.2.49...v1.2.50) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a65faaf8e..e845d3bc3 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.50.aar') +implementation files('libs/ably-android-1.2.51.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 666351ccd..fcb623531 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.50' +implementation 'io.ably:ably-java:1.2.51' ``` For [Android](https://mvnrepository.com/artifact/io.ably/ably-android/latest): ```groovy -implementation 'io.ably:ably-android:1.2.50' +implementation 'io.ably:ably-android:1.2.51' ``` 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: @@ -512,7 +512,7 @@ Add the following dependency to your `build.gradle` file: ```groovy dependencies { - runtimeOnly("io.ably:network-client-okhttp:1.2.50") + runtimeOnly("io.ably:network-client-okhttp:1.2.51") } ``` diff --git a/gradle.properties b/gradle.properties index 42052c5de..ce3a70bc2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=io.ably -VERSION_NAME=1.2.50 +VERSION_NAME=1.2.51 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 8f672ff28..915b36251 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.50 jre/" + System.getProperty("java.version"))); + Collections.singletonList("ably-java/1.2.51 jre/" + System.getProperty("java.version"))); /* Spec RTN2a */ assertEquals("Verify correct format", requestParameters.get("format"),