Releases: pubnub/kotlin
Releases · pubnub/kotlin
Java & Kotlin SDK v10.1.0
November 06 2024
Added
- Add extension selection and support for single file in migration_tool.
- Move shared java/kotlin APIs to a shared module.
- Added timetoken utils methods.
- Added getToken to Kotlin SDK.
- Added authToken (PAM v3) to Kotlin SDK PNConfiguration.
Fixed
- Fix for NullPointerException in
pubnub-gson
when grant() is called without authKeys.
Java & Kotlin SDK v10.0.0
September 24 2024
Added
PatchValue
is now used in objects returning optional data from the server, such asPNChannelMetadata
,PNUUIDMetadata
for example.- Removed mutable
PNConfiguration
classes which were deprecated in previous releases. PNConfiguration.retryConfiguration
is now enabled by default only for Subscribe requests and set toExponential
Fixed
- A migration script is provided with this release to help with package name changes.
Modified
- Please consult the migration guide for JVM SDKs version 10.0.0 for required changes to your code.
Java & Kotlin SDK v9.2.4
August 19 2024
Fixed
- Fixes a crash on Android after
PubNub.destroy
is called and there are requests running.
Java & Kotlin SDK v9.2.3
July 29 2024
Fixed
- Fixed incorrect multiple callbacks (with exception) when sending files.
Java & Kotlin SDK v9.2.2
July 04 2024
Fixed
- SetState via Heartbeat fix.
Java & Kotlin SDK v9.2.1
July 02 2024
Added
- Add missing
auth_method
to APNS2 configuration.
Java & Kotlin SDK v9.2.0
June 11 2024
Added
- Add new FCMPayloadV2 for required new FCM push message format.
Fixed
- Disallow DTD in XML parser and enable SecureRandom.
Java & Kotlin SDK v9.1.1
April 15 2024
Fixed
- The parameter names were not saved in compiled class files and were shown as
o
,s1
etc. in the IDE. This change fixes the SDK to correctly show parameter names.
Kotlin SDK v9.1.0
April 09 2024
Added
- Added methods for publishing messages and signals on the
Channel
class. Also added new builder factories onPubNub
with required parameters provided upfront, e.g.PubNub.publish(message,channel)
. . - Allow overriding certain PubNub configuration options per API call through
Endpoint.overrideConfiguration
.
Modified
- Remaining classes from
com.pubnub.internal
package were hidden from compilation classpath. Users should only use classes incom.pubnub.api
package.
Kotlin SDK v9.0.0
March 28 2024
Modified
- From now on, Java and Kotlin SDKs will be versioned and released together, and clients using both SDKs will get new features and bug fixes at the same time.
- RemoteAction.async() now provides a single
Result<Output>
parameter to the callback. Please see documentation for details. - PubNub initialization must be done through
PubNub.create()
. Constructor initialization is disallowed. - There is a new immutable PNConfiguration class with builder. The old PNConfiguration class is marked deprecated, but functional for the time being.
- Internal classes and interfaces have been moved to the
com.pubnub.internal
classes or removed from the compile classpath. You should not use them in your app. All user facing classes are incom.pubnub.api
package.