Skip to content

Releases: ably/ably-java

1.0.8

03 Nov 00:45

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.8

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.8
Android: https://bintray.com/ably-io/ably/ably-android/1.0.8

Implemented enhancements:

  • Ensure request method accepts UPDATE, PATCH & DELETE verbs #416

Fixed bugs:

  • Error in release mode due to missing proguard exclusion #427
  • Exception when failing to decode a message with unexpected payload type #425

v1.0.7

17 Aug 06:05

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.7

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.7
Android: https://bintray.com/ably-io/ably/ably-android/1.0.7

Closed issues:

  • IllegalStateException scheduling transport activity timer #418

Merged pull requests:

  • Handle exceptions in activity timer task, and when attempting to reschedule the timer #419 (paddybyers)

v1.0.6

25 Jul 12:11

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.6

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.6
Android: https://bintray.com/ably-io/ably/ably-android/1.0.6

Fixed bugs:

  • ably-java gets into a channel attach retry loop #410

Merged pull requests:

  • RTL13b: ensure that detached+error responses form the server do not result in a busy loop of attach requests #411 (paddybyers)

1.0.5

17 Jul 22:45

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.5

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.5
Android: https://bintray.com/ably-io/ably/ably-android/1.0.5

Fixed bugs:

  • Async HTTP thread pool issues #405

Merged pull requests:

v1.0.4

22 Jun 16:25

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.4

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.4
Android: https://bintray.com/ably-io/ably/ably-android/1.0.4

Implemented enhancements:

  • Add support for JWT #384
  • Allow to specify a message id when publishing a message with REST #396 (paddybyers)

Closed issues:

  • Maven devpendency failed #383

v1.0.3

18 May 16:25

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.3

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.3
Android: https://bintray.com/ably-io/ably/ably-android/1.0.3

Implemented enhancements:

  • Document supported platforms #363

Fixed bugs:

  • Received messages have no event names #366
  • Tests failing because of "no output in the last 10m" #330

Merged pull requests:

v1.0.2

01 Mar 19:33

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v1.0.2

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.2
Android: https://bintray.com/ably-io/ably/ably-android/1.0.2

Implemented enhancements:

  • Implement AblyRealtime.connect() #305
  • Auth header included in HTTP requests #166
  • autoConnect & useTokenAuth #27
  • authParams & authMethod ClientOptions #25

Fixed bugs:

  • When using token auth with client-side signing, renewing a token is broken #350
  • Remove calls to System.xxx.println() #217
  • Race condition when lib is closed soon after being instantiated #319
  • Crash inside a library #309
  • Android System.out: (ERROR): io.ably.lib.transport.WebSocketTransport: No activity for 25000ms, closing connection #306
  • RSC19 is not implemented according to the spec in 0.9 #278
  • Invalid binary error message #247

Merged pull requests:

  • Fix connectionmgr regressions #368 (paddybyers)
  • Avoid depending on reference equality of interned strings and literals; this seems to fail sometimes on Android #367 (paddybyers)
  • Update to latest gradle and tools plugins #362 (paddybyers)
  • Auth.assertValidToken: always remove old token when force == true. #354 (tcard)
  • Omit TTL in TokenRequest as JSON if unset. #353 (tcard)
  • Add ability to generalize over a HTTP request being async or not. #347 (tcard)
  • Implement and add test for AblyRealtime.connect() #345 (paddybyers)
  • Connectionmgr sync transport #344 (paddybyers)
  • Fix issue where a close() would not abort an existing in-progress connection #343 (paddybyers)
  • New test RealtimeResumeTest.resume_none #204 (trenouf)

v1.1.0 - Push notification support - beta v1

13 Oct 16:09

Choose a tag to compare

See https://www.ably.io/documentation/realtime/push for details on how to use Ably's native push notifications.

Installation

  1. Clone the push branch: git clone -b push git@github.com:ably/ably-java.git
  2. Follow the build instructions to get either an Android AAR or a Java JAR.
  3. Link the generated archive file into your project.
  4. If you're using Android, the generated AAR won't include Ably's dependencies. You should add this to your own build.gradle files:
apply from: '/path/to/your/clone/of/ably-java/dependencies.gradle'
apply from: '/path/to/your/clone/of/ably-java/android/dependencies.gradle'

v1.0.1

13 Oct 15:39

Choose a tag to compare

Changelog:
https://github.com/ably/ably-java/blob/master/CHANGELOG.md#v101

Release:
Java: https://bintray.com/ably-io/ably/ably-java/1.0.1
Android: https://bintray.com/ably-io/ably/ably-android/1.0.1

Implemented enhancements:

  • Allow custom transportParams #327

Fixed bugs:

  • authHeaders are being included in requests to non authUrl endpoints #331
  • 1.0.0 sending v=0.9 #324
  • 1.0 not automatically re-authing when token expires if initialized with key + clientId? #322

Closed issues:

  • UTF-8 / ASCII detection issue in compile #334
  • Allow authUrl to contain querystring params #328
  • Dependency management for ably-android #316
  • Exceptions thrown in client onMessage callbacks are silently swallowed #314

Merged pull requests:

  • Spec RTC1f: implement support for ClientOptions.transportParams #342 (paddybyers)
  • Implement spec for handling of queryParams in authURL #340 (paddybyers)
  • Preemptive HTTP authentication #339 (paddybyers)
  • Rest token renewal fix + tests #338 (paddybyers)
  • Don't send authHeaders or authParams in calls to requestToken #337 (paddybyers)
  • Replace StandardCharset.UTF-8 with Charset.forName(“UTF-8”) #333 (liuzhen2008)
  • Crypto default 256 bit length like all other libraries #329 (mattheworiordan)
  • Add log message if a client's listener throws an exception whilst handling a message #318 (paddybyers)

v1.0.0 Major update

13 Oct 15:19

Choose a tag to compare

Major update to this client library with some breaking changes. See https://blog.ably.io/v1-0-client-libraries-released-8a375dca7a26 for a summary of important, breaking changes and upgrade notes.