Skip to content

Releases: ably/ably-java

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.

Version 0.9.0 first beta

07 Mar 01:38

Choose a tag to compare

Pre-release
v0.9.0beta1

Bump version to 0.9.0beta1

v0.8.4

07 Oct 11:38

Choose a tag to compare

Fixed bugs:

  • Connect whilst suspended does not appear to be connecting immediately #167
  • Prep for 0.9 spec #145

Closed issues:

  • RSC11: Environment option #160
  • ably-java 0..8.3 release isn't available on jcenter #155

Merged pull requests:

  • issues/170: Fixed message serial out of sync after recover #175 (trenouf)
  • heartbeat support #173 (trenouf)
  • tpr/issue167: Fixed explicit connect after connection has disconnected #172 (trenouf)

Version 0.8.3 release

25 Aug 08:03

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • README not complete #88
  • authCallback must accept TokenDetails or token strings #34
  • PaginatedResult#isLast method missing #33

Fixed bugs:

  • A post-suspend clean connection removes all channels instead of moving them to DETACHED #133
  • Reauthentication on external URLs #92
  • Attach CompletionListener #84
  • Implicit attach on Publish or Subscribe #45

Merged pull requests:

v0.8.2 - Significant API updates

14 Mar 13:51

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Lower case PresenceMessage.Action enum #90
  • Switch arity of auth methods #44
  • Realtime Presence and Channel untilAttach functionality is missing #36
  • Proposal: errorReason instead of reason #30
  • Presence subscribe with presence action #21
  • Message publish overloaded without a listener #17
  • Emit errors #16
  • README to include code examples and follow common format #15

Fixed bugs:

  • force is an attribute of AuthOptions, not an argument #103
  • Lower case PresenceMessage.Action enum #90
  • Presence enter, update, leave methods need to be overloaded #89
  • Message constructor is inconsistent #87
  • Channel state should be initialized not initialised for consistency #85
  • Unsubscribe all and off all is missing #83
  • Presence data assumed to be a string, Map not supported #75
  • Host fallback for REST #54
  • Switch arity of auth methods #44
  • NullPointerException: Attempt to invoke interface method 'java.lang.String java.security.Principal.getName()' on a null object reference #41
  • Unable to deploy client lib in Android Studio project on OSX #39
  • Realtime Presence and Channel untilAttach functionality is missing #36
  • Java logLevel #26
  • Timeout in test suite #24
  • Presence subscribe with presence action #21

Closed issues:

  • Fix missing JCE dependency on Travis #69
  • Remove eclipse artifact #68
  • Typo on Presence#history javadoc #63
  • Spec validation #23

Merged pull requests:

v0.8.1 - Android & Gradle support

01 Jan 14:18

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Travis.CI support #4

Fixed bugs:

  • Gradle build should be able to build library without Android SDK installed #46
  • Token authentication "Request mac doesn't match" #40
  • Re-enable temporarily disabled test #31
  • Travis.CI support #4

Closed issues:

  • Re-enable temporarily disabled test #32
  • Additional encoding / decoding tests #1

Merged pull requests:

v0.8.0

19 May 08:39

Choose a tag to compare

Add travis yml file