Releases: pubnub/kotlin
Releases · pubnub/kotlin
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.
Kotlin SDK v8.0.0
February 22 2024
Added
- A new version of subscription and presence handling is enabled by default (
enableEventEngine
flag is set totrue
). Please consult the documentation for new PNStatus values that are emitted for subscriptions, as code changes might be required to support this change. - Channels, ChannelGroups, ChannelMetadata and UserMetadata.
Kotlin SDK v7.8.1
February 06 2024
Fixed
- Fixed transitions so that SubscribeEvenEngine can handle multiple subscribe calls executed one by one.
- Add missing Leave events with EE enabled and heartbeat = 0.
Kotlin SDK v7.8.0
January 17 2024
Added
- Added
enableEventEngine
,retryConfiguration
andmaintainPresenceState
configuration flags.