December 16 2024
- Internal fixes.
December 12 2024
- Internal changes for Chat SDK.
December 05 2024
- Added type aka. membershipType to Memberships and ChannelMembers APIs. Added also a way to specify optional data being added to the response for Membership and ChannelMembers APIs.
December 03 2024
- Internal changes in preparation for other releases.
November 18 2024
- Added customMessageType to publish, signal, file, subscribe and history.
November 06 2024
- 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.
- Fix for NullPointerException in
pubnub-gson
when grant() is called without authKeys.
September 24 2024
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.
- A migration script is provided with this release to help with package name changes.
- Please consult the migration guide for JVM SDKs version 10.0.0 for required changes to your code.
August 19 2024
- Fixes a crash on Android after
PubNub.destroy
is called and there are requests running.
July 29 2024
- Fixed incorrect multiple callbacks (with exception) when sending files.
July 04 2024
- SetState via Heartbeat fix.
July 02 2024
- Add missing
auth_method
to APNS2 configuration.
June 11 2024
- Add new FCMPayloadV2 for required new FCM push message format.
- Disallow DTD in XML parser and enable SecureRandom.
April 15 2024
- 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.
April 09 2024
- 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
.
- Remaining classes from
com.pubnub.internal
package were hidden from compilation classpath. Users should only use classes incom.pubnub.api
package.
March 28 2024
- 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.
February 22 2024
- 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. - Added support for scoped event listeners using new entity objects: Channels, ChannelGroups, ChannelMetadata and UserMetadata.
February 06 2024
- Fixed transitions so that SubscribeEvenEngine can handle multiple subscribe calls executed one by one.
- Add missing Leave events with EE enabled and heartbeat = 0.
January 17 2024
- Added
enableEventEngine
,retryConfiguration
andmaintainPresenceState
configuration flags.
November 28 2023
- Add
error
field toPNFileEventResult
and set it in case of decryption failure.
November 23 2023
- Handle unencrypted message in subscribe and history when crypto configured (error flag is set on message result).
November 08 2023
- Fixed reading unencrypted history message when crypto is configured.
October 30 2023
- Updated the JSON lib to version 20231013.
- Changed license type from MIT to PubNub Software Development Kit License.
October 16 2023
- Add crypto module that allows configure SDK to encrypt and decrypt messages.
- Improved security of crypto implementation by adding enhanced AES-CBC cryptor.
August 14 2023
- Kotlin SDK doesn't depend on Jackson library anymore. This reduces the size of required dependencies which should result in size reduction of applications that use Kotlin SDK.
April 19 2023
- It's now possible to return messageType in PNFetchMessageItem from fetchMessages method. Possible values are either Message or File .
April 11 2023
- Do not cancel subscribe call on set state.
March 07 2023
- Remove deprecation for Grant Token methods.
- Update Jackson and Json libraries to avoid vulnerabilities.
February 02 2023
- Uploading an encrypted file correctly sets the content size in the multipart body.
September 20 2022
- PNFileEventResult has messageJson field with the same JsonElement type as in other events.
July 21 2022
- Gson, logback.
- Removed "create" for space as a valid permission that can be assigned to token.
June 28 2022
- Renamed name to id in SpacePermissions.
June 28 2022
- Introduced new GrantToken method with no channel groups.
June 14 2022
- PNChannelMetadata and PNUUIDMetadata has status and type now.
- PNChannelMembership and PNMember has status now.
- It's possible to sort memberships and members by nested fields.
May 23 2022
- Upgrade okhttp library .
April 19 2022
- Update Jackson library with fixes for CVE-2020-36518.
January 12 2022
- BREAKING CHANGES: uuid is required parameter in PNConfiguration constructor.
December 16 2021
- Add revoke token feature.
October 6 2021
- Acceptance tests plugged into CI pipeline.
- Internal telemetry enhancement.
- Meta field exposed correctly in PNToken class.