Releases: ably/ably-java
1.2.14
We've made some changes to JDK and Android API Level minimum requirements in this release, which might cause problems for those with very old build toolchains, or application projects with really permissive minimum runtime requirements:
- Java source and target compatibility level increased from 1.7 to 1.8
- Android minimum SDK API Level increased from 16 to 19 (4.4 KitKat)
We've also fixed an oversight in our REST support whereby it previously was not possible to fully release resources consumed by the background thread pool used for HTTP operations, neither explicitly nor passively via GC. This was most noticeably a problem for applications which created several client instances during the lifespan of their application process.
Fixed bugs:
- NoSuchMethodError in ably-android for API lower than 24 #802, fixed by #808 (KacperKluka)
- Threads remain in parked (waiting) state indefinitely when
AblyRest
instance is freed #801, addressed by addingfinalize()
andAutoCloseable
support toAblyRest
instances #807 (QuintinWillison) - Minimum API Level supported for Android is 19 (KitKat, v.4.4) #804 (QuintinWillison)
Merged pull requests:
- Increase minimum JRE version to 1.8 #805 (QuintinWillison)
1.2.13
Closed issues:
1.2.12
Fixed bugs:
1.2.11
Fixed bugs:
ConcurrentModificationException
whenunsubscribe
thendetach
channel presence listener #743, fixed in #744 (QuintinWillison)IllegalStateException
inCrypto
CBCCipher
'sdecrypt
method #741, fixed in #746 (QuintinWillison)- Incorrect use of locale sensitive String APIs #713, fixed in #722 (martin-morek)
push.listSubscriptionsImpl
method not respecting params #705, fixed in #710 (martin-morek)
Other merged pull requests:
- Fix indentation and typos in authCallback example #724 (QuintinWillison)
1.2.10
Fixed bugs:
- Using Firebase installation ID as registration token: Users cannot reactivate the device after deactivating #715
Merged pull requests:
1.2.9
Fixed bugs:
- IllegalArgumentException: No enum constant io.ably.lib.http.HttpAuth.Type.BASİC #711
- ProGuard warnings emitted by Android build against 1.1.6 #529
Merged pull requests:
- Fix incorrect parsing of HTTP auth type for some locales #712 (QuintinWillison)
- Suppressed warning in ProGuard #709 (martin-morek)
1.2.8
Implemented enhancements:
Fixed bugs:
- Push Activation State Machine exception handling needs improvement #685
- WebsocketNotConnectedException on send #430
Merged pull requests:
- Replaced ULID with UUID for deviceID #702 (martin-morek)
- Separate handling WebsocketNotConnectedException #701 (martin-morek)
- Updated Stats fields with the latest MessageTraffic types #698 (martin-morek)
1.2.7
Implemented enhancements:
Fixed bugs:
- Remove use of forClass method in push activation state machine implementation #686
- Race condition releasing short lived channels #570
- Using a clientId should no longer be forcing token auth in the 1.1 spec #473
- Ensure correct feedback to developer when malformed key is supplied #382
Closed issues:
- Fail connection immediately if authorize() called and 403 returned #620
- FCM getToken method is deprecated #597
- Support for encryption of shared preferences #593
- RSC7c TI1 addRequestIds on ClientOptions and requestId on ErrorInfo #574
Merged pull requests:
- Increase minimum SDK version to Android 4.1 (Jelly Bean, API Level 16) #691 (KacperKluka)
- Throws exception when AuthOptions are initialized with an empty string #690 (martin-morek)
- Removed forName method #689 (martin-morek)
- Updated Firebase cloud messaging dependency #687 (martin-morek)
- Unified custom toString() method implementations to use curly bracket… #683 (martin-morek)
- Support for encryption of shared preferences #681 (martin-morek)
- Add request_id query param if addRequestIds is enabled #678 (martin-morek)
- Using a clientId should no longer be forcing token auth #675 (martin-morek)
- Checking if error code is 403 and failing connection #672 (martin-morek)
- Add Ably-Agent header #671 (KacperKluka)
- Changing Capability.addResource() to take varargs as last parameter #664 (Thunderforge)
1.2.6
1.2.5
Fixed bugs:
- Crypto.getRandomMessageId isn't working as intended #654
- Hosts class is not thread safe #650
- AblyBase.InternalChannels is not thread-safe #649
Merged pull requests:
- Makes the Hosts class safe to be called from any thread #657 (QuintinWillison)
- Fix getRandomMessageId #656 (sacOO7)
- Improve channel map operations in respect of thread-safety #655 (QuintinWillison)