Skip to content

Releases: pubnub/kotlin

Java & Kotlin SDK v10.1.0

06 Nov 11:46
b03b1a4
Compare
Choose a tag to compare

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

24 Sep 10:51
0e292a7
Compare
Choose a tag to compare

September 24 2024

Added

  • PatchValue is now used in objects returning optional data from the server, such as PNChannelMetadata, 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 to Exponential

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

19 Aug 08:41
317a99d
Compare
Choose a tag to compare

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

29 Jul 10:42
973d1a0
Compare
Choose a tag to compare

July 29 2024

Fixed

  • Fixed incorrect multiple callbacks (with exception) when sending files.

Java & Kotlin SDK v9.2.2

04 Jul 15:11
4fc3e80
Compare
Choose a tag to compare

July 04 2024

Fixed

  • SetState via Heartbeat fix.

Java & Kotlin SDK v9.2.1

02 Jul 20:27
55f99d8
Compare
Choose a tag to compare

July 02 2024

Added

  • Add missing auth_method to APNS2 configuration.

Java & Kotlin SDK v9.2.0

11 Jun 07:43
f29c053
Compare
Choose a tag to compare

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

15 Apr 09:55
f203b90
Compare
Choose a tag to compare

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

09 Apr 14:36
88a8b5b
Compare
Choose a tag to compare

April 09 2024

Added

  • Added methods for publishing messages and signals on the Channel class. Also added new builder factories on PubNub 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 in com.pubnub.api package.

Kotlin SDK v9.0.0

28 Mar 09:32
f3c017e
Compare
Choose a tag to compare

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 in com.pubnub.api package.