Releases: ably/ably-java
v1.0.2
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
See https://www.ably.io/documentation/realtime/push for details on how to use Ably's native push notifications.
Installation
- Clone the
pushbranch:git clone -b push git@github.com:ably/ably-java.git - Follow the build instructions to get either an Android AAR or a Java JAR.
- Link the generated archive file into your project.
- 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
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
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
v0.9.0beta1 Bump version to 0.9.0beta1
v0.8.4
Fixed bugs:
Closed issues:
Merged pull requests:
Version 0.8.3 release
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:
- Detach on suspend #146 (paddybyers)
- Header X-Ably-Lib (RSC7b) #143 (VOstopolets)
- Ensure interoperability with other libraries over JSON. #140 (tcard)
- Update README.md #138 (hauleth)
- Ensure that messages with invalid data type are rejected. #137 (tcard)
- Add messages encoding fixtures test. #136 (tcard)
- Ensure graceful handling of DETACH and DISCONNECT. #131 (tcard)
- Proxy support #123 (paddybyers)
- RTN17 #122 (gokhanbarisaker)
- Avoid stalled state from previous connection when reusing Realtime. #117 (tcard)
- AuthOptions javadoc enhancements and testcases #116 (gokhanbarisaker)
- Add implicit attach test cases for channel publish and subscribe #115 (gokhanbarisaker)
- Add isLast API to PaginatedResult #111 (gokhanbarisaker)
- Add CompletionListener to Channel's attach API #108 (gokhanbarisaker)
v0.8.2 - Significant API updates
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:
- Add information for listening specific connection state changes to readme #114 (gokhanbarisaker)
- Add null check #113 (gokhanbarisaker)
- Move force argument to AuthOptions as a variable #107 (gokhanbarisaker)
- Update MessageListener and PresenceListener interface #106 (gokhanbarisaker)
- Add until attach functionality to Presence & Channel #102 (gokhanbarisaker)
- Add unsubscribe all and off all #101 (gokhanbarisaker)
- Fix channel state initialised spelling to initialized #100 (gokhanbarisaker)
- Fix constructor signature #99 (gokhanbarisaker)
- Overload publish APIs #98 (gokhanbarisaker)
- Add presence subscribe with presence action APIs #97 (gokhanbarisaker)
- Update Auth#requestToken signature for spec id RSA8e #96 (gokhanbarisaker)
- Presence overloading #95 (gokhanbarisaker)
- Convert enum variable naming to lowercase #94 (gokhanbarisaker)
- Fix recover spec regex pattern #86 (gokhanbarisaker)
- Add httpMaxRetryCount && Simplify http fallback flow #80 (gokhanbarisaker)
- Remove eclipse artifact #79 (gokhanbarisaker)
- Upgrade gradle version #78 (gokhanbarisaker)
- Upgrade dependencies #77 (gokhanbarisaker)
- Fix leaking non-AblyExceptions on ConnectionManager#onMessage callback #74 (gokhanbarisaker)
- Add custom test suite tasks to travis config #70 (gokhanbarisaker)
- Add maven package export script #67 (gokhanbarisaker)
- Fix typo on Presence#history javadoc #66 (gokhanbarisaker)
- Readme enhancement #65 (gokhanbarisaker)
- Add Auth#requestToken test cases #60 (gokhanbarisaker)
v0.8.1 - Android & Gradle support
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:
Merged pull requests:
- Async http #59 (paddybyers)
- changes to run provided RestInit test case #58 (gorodechnyj)
- Allow connection manager thread to exit when closed or failed, and re… #50 (paddybyers)
- Add script for running tests in CI #49 (lmars)
- Publish implicit attach #48 (paddybyers)
- Make inclusion of android-test project conditional on whether or not … #47 (paddybyers)
- RSC1 and RSC2 - initialisation and default logging behaviour #43 (iliyakostadinov)
- Key length case and ably common #35 (mattheworiordan)
v0.8.0
Add travis yml file