Changelog for PubNub Unity SDK

v7.2.1

May 9, 2024
Fixed
  • Fixes issue of Unity SDK not being able to have a fully independent IJsonPluggableLibrary implementation because of direct nu-get Newtonsoft usage in C# SDK (Unity has it's own version that works with IL2CPP builds).

v7.2.0

April 18, 2024
Added
  • Added event engine implementation for subscribe and presence operation.
  • Added support for RetryConfiguration to configure subscribe request retry.

v7.1.4

April 2, 2024
Fixed
  • Fixes issue of inaccurate DateTime to TimeToken conversion in TranslateDateTimeToPubnubUnixNanoSeconds.

v7.1.3

November 28, 2023
Fixed
  • Handle unencrypted message while getting it with CryptoModule configured.
  • Fixes issue of default serialisation settings applied globally.

v7.1.2

October 30, 2023
Modified
  • Changed license to PubNub Software Development Kit License.

v7.1.1

October 25, 2023
Fixed
  • Fixes issue of getting error when hereNow is called with channelGroups param only.

7.1.0

October 16, 2023
Added
  • Add crypto module that allows configure SDK to encrypt and decrypt messages.
Fixed
  • Improved security of crypto implementation by adding enhanced AES-CBC cryptor.

7.0.1

September 18, 2023
Fixed
  • Package exporting fix.

7.0.0

September 1, 2023
Fixed
  • Release script configuration.

v6.0.9

March 30, 2023
Fixed
  • Fixed deserialization fail on arrays with all null values.

v6.0.8

March 24, 2023
Fixed
  • Add DontDestroyOnLoad flag.

v6.0.7

November 2, 2022
Fixed
  • Expose exceptions fired within callbacks.
  • Log null arguments passed to EncodeURL.

v6.0.6

October 12, 2022
Fixed
  • The PlaymodeTests folder has been excluded from the build; also, GrantToken has been moved to the appropriate place in the project.

v6.0.5

September 2, 2022
Fixed
  • Json.net stores its settings globally, which means any changes in the client application will affect the behaviour of the SDK. The SDK will now use the initial default settings.

v6.0.4

July 27, 2022
Modified
  • UUID has been marked as deprecated, and it's being renamed to UserId. For now, both variants will work, but UUID will be gradually phased out in favor of UserId.

v6.0.3

July 12, 2022
Fixed
  • Fixes continuous allocation of components per request.
Modified
  • Reduce the load of TestPublishLoadTest to stop derailing the pipeline.
  • Disable TestPublishLoadTest temporarily.

v6.0.2

June 28, 2022
Fixed
  • Fixes issue of encoding in FetchMessages and MessageCount apis.

v6.0.1

November 30, 2021
Modified
  • Remove BouncyCastle, JsonFx.Json, MarkerMetro and crypto DLLs. Features works without the need of these libs.

v6.0.0

October 12, 2021
Added
  • SetToken and ParseToken for PAMv3.
Modified
  • BREAKING CHANGE - Removed Token Management System - Client end

v5.0.1

July 6, 2021
Fixed
  • Fixed missing UUID in message action events.
  • Fixed custom count settings in Fetch Messages with Message Actions.

v5.0.0

April 12, 2021
Modified
  • BREAKING CHANGE - New JSON Parser Json .Net for Unity 2.0.1. The parser used earlier has been deprecated.
  • BREAKING CHANGE - IV used for encryption is now random by default.

v4.10.1

December 14, 2020
Fixed
  • Fixes issue of missing more field in FetchMessages response.

v4.10.0

October 19, 2020
Added
  • Files.
  • Random IV in Encryption.
  • Fetch with UUID and Message Type.
Modified
  • Fetch with 100 messages.

v4.9.0

September 15, 2020
Added
  • Objects V2.

v4.8.3

June 17, 2020
Fixed
  • Example scene fix for Unity 2018.

v4.8.2

April 10, 2020
Added
  • Objects Sorting

v4.8.1

March 10, 2020
Fixed
  • Correct null check for signal callback

v4.8.0

February 18, 2020
Modified
  • Token Management System - Client end

v4.7.3

February 5, 2020
Modified
  • HereNow Deserialization Error fix

v4.7.2

January 16, 2020
Fixed
  • Heartbeat query param in Presence heartbeat call
Modified
  • Presence Heartbeat defaults to 300

v4.7.1

January 6, 2020
Modified
  • Objects Filtering

v4.7.0

December 24, 2019
Modified
  • APNS2
  • Push payload helper class

v4.6.0

November 22, 2019
Modified
  • Message Actions added missing TotalCount, Next, Prev for Get Users/Spaces, Manage/Get Members/Memberships
  • Return types of Start and End in PNGetMessageActionsMore changed to long

v4.5.0

November 21, 2019
Modified
  • Message Actions
  • Fetch with Message Actions

v4.4.0

November 8, 2019
Modified
  • Objects

v4.3.0

October 10, 2019
Modified
  • Signals
  • IncludeMeta in History and Fetch

v4.2.1

June 4, 2019
Modified
  • Presence Timeout cannot be lower than 20
Fixed
  • PNPresenceEventResult.State property not populated in callback

v4.2.0

March 13, 2019
Modified
  • Message Counts simplification (Breaking changes from the previous version).

v4.1.1

March 5, 2019
Modified
  • Message Counts API

v4.1.0

February 18, 2019
Modified
  • BREAKING CHANGE: Fixed a typo by renaming the event from SusbcribeCallback to SubscribeCallback and the EventArgs from SusbcribeEventEventArgs to SubscribeEventEventArgs

v4.0.5

January 9, 2019
Modified
  • Presence Heartbeat call delays itself when a Subscribe call precedes it
  • User Exceptions Fix
Added
  • Heartbeats per channel
  • QueryParams in all API calls
Fixed
  • Leave callback message exception fix

v4.0.4

November 13, 2018
Modified
  • UnityPackage reorganization

v4.0.3

November 12, 2018
Modified
  • Travis update for UnityPackage

v4.0.2

August 23, 2018
Modified
  • Delete Messages Fix

v4.0.1

March 8, 2018
Modified
  • Integration tests fixes

v4.0-rc2

February 28, 2018
Modified
  • Here Now Refresh

v4.0-beta6

January 22, 2018
Modified
  • Cleanup

v4.0-beta5

January 18, 2018
Modified
  • Logging enhancements

v4.0-beta4

January 16, 2018
Modified
  • Cleanup

v4.0-beta3

January 11, 2018
Modified
  • Windows Universal compatibility

v4.0-beta2

December 26, 2017
Modified
  • Leave fixes

v4.0-beta1

December 18, 2017
Modified
  • All new PubNub Unity SDK

v3.7.10

December 11, 2017
Modified
  • Presence delta intervals

v3.7.9

August 8, 2017
Modified
  • Unity UWP compatibility

v3.7.8

March 31, 2017
Modified
  • Presence delta intervals

v3.7.7

February 20, 2017
Fixed
  • Region check in Timetoken dictionary
Modified
  • Prefix UUID with 'pn-'

v3.7.6.2

January 12, 2017
Fixed
  • Fixed user state issue for other UUID

v3.7.6.1

December 21, 2016
Added
  • Changed origin to ps.pndsn.com

v3.7.6

December 9, 2016
Added
  • Offers the ability to set a per message time to live in storage.
  • Find out which UUID sent the message (only available when debug symbol PUBNUB_PS_V2_RESPONSE is used).

v3.7.5

Modified
  • Windows Store Universal 10 store compatibility
  • Changed the JSON lib to use: https://github.com/MarkerMetro/MarkerMetro.Unity.JsonFx, as it is compatible with Windows store.
  • BouncyCastle(http://www.bouncycastle.org/csharp/) is used for crypto functionality.

v3.7.4

September 24, 2016
Added
  • Added a debug symbol PUBNUB_PS_V2_RESPONSE to enable v4 subscribe

v3.7.3

Added
  • Fixed SetGameObject

v3.7.2

August 2, 2016
Added
  • PubSub v2
  • Channel Groups
  • Message Filtering
  • Wildcard Subscribe
Modified
  • Code optimizations

v3.6.9.1

June 21, 2016
Modified
  • A new debug symbol to reduce the usage of coroutines. Set REDUCE_PUBNUB_COROUTINES, to use the alternate logic for www coroutines used by the PubNub's SDK. When using this option it is recommended that you call TerminateCurrentSubscriberRequest when the app comes back to the foreground else an ongoing long request will wait till the timeout value to abort and reinit the request.
  • For iOS if the value of NonSubscribeTimeout and SubscribeTimeout is greater than 59 secs, the SDK will force the value to be 59 secs.

v3.6.9.0

Modified
  • Refactored code.
  • JSON library: the pre-compiler directives to choose between MiniJSON and JSONFx have been moved to the class JSONSerializer.cs.
  • Logging: In addition to setting the variables PubnubLogLevel = LoggingMethod.Level.Info and PubnubErrorLevel = PubnubErrorFilter.Level.Info you also need to add a "define symbol": ENABLE_PUBNUB_LOGGING for each of the platform you want to enable logging. This setting is available in the Unity Editor: File-> Build Settings -> Player Settings -> Other Settings -> Configuration -> Scripting define symbols. After you type ENABLE_PUBNUB_LOGGING in it do remember to press return with the focus still in the text box or your setting will not be saved.
  • Default value of SSL is now true.
Added
  • Add mobile push methods.

v3.6.8.8

Fixed
  • some fixes for subscribe request timeouts.

v3.6.8.7

Modified
  • removes forceful garbage collection.

v3.6.8.6

Fixed
  • Fix for "null" message in callback when a message contains multiple messages, one of which is of type System.Collections.Generic.Dictionary`2[System.String,System.Object].

v3.6.8.4

Fixed
  • Duplicate messages on some occasions.

v3.6.8.3

Fixed
  • Non subscribe callbacks were not fired when called from within a callback of an earlier request.

v3.6.8.1

Fixed
  • Missed messages when adding a channel to multiplexed.
  • Sub timeout gets fired when in app goes in background and the request is not complete.
  • User State didn't change in some cases.
  • Multiple requests heartbeats were running.
Last updated on
On this page