v4.31.0 - Feb 25, 2020
Implemented Objects Filtering API
Handled more network events to keep the client subscribed
Improved interaction with classes from org.json*
Made PNCallback eligible for SAM/lambda conversion
Deprecated PNPushType.GCM in favor of PNPushType.FCM
v4.30.0 - Jan 23, 2020
Add support for APNS2 Push API
Add a utility class to ease creating push payloads
v4.29.2 - Dec 02, 2019
Disable OkHttp reconnection policy
v4.29.1 - Oct 22, 2019
Made the SDK more Kotlin-friendly
Categorized cancelled requests as such
Removed the 'audit' method
v4.29.0 - Oct 08, 2019
Implemented Message Actions API
Added 'includeMeta' to history()
Added 'includeMeta' to fetchMessages()
Added 'includeMessageActions' to fetchMessages()
v4.28.0 - Oct 01, 2019
Add PAMv3 support
Implement TMS (Token Manager)
Upgrade PAM endpoints to v2
Introduce delete permission for grant
v4.27.0 - Aug 27, 2019
Add Objects API support
v4.26.1 - Aug 13, 2019
Introduce serialization class for Signals API
v4.26.0 - Aug 09, 2019
Add Signals support
Expose OkHttp logging interceptor library
v4.25.0 - Jun 06, 2019
Enable app level grants
Custom encode auth key where it's not encoded automatically
Move state param from heartbeat to subcribe calls
v4.24.0 - May 21, 2019
Enforce a minimum presence timeout value
Disable presence heartbeats by default
v4.23.0 - May 08, 2019
Fix reconnection issues by allowing it solely for network issues
v4.22.0 - Apr 26, 2019
Introduce Message Count API
Update 3rd party libraries
v4.22.0-beta - Jan 31, 2019
Update 3rd party libraries
v4.21.0 - Oct 26, 2018
Support optional query parameters for every request
v4.20.0 - Aug 07, 2018
Fix an issue where the global-here-now response was interpreted incorrectly
v4.19.0 - Mar 29, 2018
Fix an issue where end of channel history was interpreted as an error
v4.18.0 - Jan 11, 2018
lock down okHTTP version to support latest android version
v4.17.0 - Dec 19, 2017
allow SDK to only send heartbeats without subscribing to the data channel.
v4.16.0 - Nov 21, 2017
allow setting setMaximumConnections to open more connections to PubNub
v4.15.0 - Nov 17, 2017
update gson dependency
make listeners thread safe
close hanging threads on shutdown
v4.14.0 - Oct 25, 2017
add support to supress leave events
v4.13.0 - Oct 23, 2017
do not execute subscribe on empty string channel, channel groups
stop heartbeat loop if an error shows up.
v4.12.0 - Oct 05, 2017
fix worker thread unloading.
prevent concurrent modification of listeners.
v4.11.0 - Oct 05, 2017
fix retrofit unloading.
v4.10.0 - Sep 17, 2017
rework the loading of services to load the classes once.
v4.9.1 - Aug 14, 2017
patch-up to the deduping algorithm
v4.9.0 - Aug 14, 2017
Internal deduping mechanism when devices cross regions (dedupOnSubscribe).
v4.8.0 - Aug 08, 2017
Allow certificate pinning via setCertificatePinner on PNConfiguration
Allow disabling of heartbeat by setting the interval to 0.
v4.7.0 - Jul 20, 2017
Allow injection of httpLoggingInterceptor for extra logging monitoring..
v4.6.5 - Jun 28, 2017
adjust queue exceeded notifications to be greater or equal of.
v4.6.4 - Jun 10, 2017
gracefully handle disabled history
v4.6.3 - Jun 03, 2017
on interval events, pass hereNowRefresh to indicate if a here_now fetch is needed.
v4.6.2 - Apr 13, 2017
set a name for Subscription Manager Consumer Thead.
v4.6.1 - Apr 06, 2017
SDK crash in Android with Airplane Mode
add deltas on interval action.
v4.6.0 - Mar 14, 2017
To distinguish UUID's that were generated by our SDK, we appended
pn-before the UUID to signal that it's a randomly generated UUID.
Allow the passing of okHttp connection spec via setConnectionSpec
Bump retrofit to 2.2.0
v4.5.0 - Feb 15, 2017
add .toString methods to all public facing models and POJOs
v4.4.4 - Feb 06, 2017
Add support to configure host name verifier.
v4.4.3 - Feb 02, 2017
Add support to configure custom certificate pinning via SSLSocketFactory and X509 configuration objects.
v4.4.2 - Jan 31, 2017
SDK was not sending the user metadata on Message Callback
v4.4.1 - Jan 25, 2017
SDK did not honor the exhaustion of reconnections, it will now disconnect once max retries happened
v4.4.0 - Jan 24, 2017
Support for maximum reconnection attempts
Populate affectedChannel and affectedChannelGroups
Support for GAE
Emit pnconnected when adding / removing channels.
v4.3.1 - Dec 22, 2016
support for key-level grant.
v4.3.0 - Dec 14, 2016
JSON parser is switched to GSON, new artifact on nexus as pubnub-gson
GetState, setState return a JsonElement instead of a plain object.
Swapping out logger for slf4japi and removing final methods
v4.2.2 - Dec 09, 2016
remove final identifiers from the public facing API.
v4.2.1 - Nov 23, 2016
include publisher UUID on incoming message
allow to set custom TTL on a publish
v4.2.0 - Oct 25, 2016
Signatures are generated for all requests with secret key to ensure secure transmission of data
support for alerting of queue exceeded (PNRequestMessageCountExceededCategory)
signaling to okhttp to stop the queues on termination.
v4.1.0 - Oct 12, 2016
destory now correctly forces the producer thread to shut down; stop is now deprecated for disconnect
support for sending instance id for presence detection (disabled by default)
support for sending request id to burst cache (enabled by default)
proxy support via the native proxy configurator class.
v4.0.14 - Sep 20, 2016
on PAM error, populate the affectedChannel or affectedChannelGroup to signal which channels are failing
v4.0.13 - Sep 14, 2016
populate jso with the error.
v4.0.12 - Sep 13, 2016
fixing parsing of origination payload within the psv2 enevelope
v4.0.11 - Sep 09, 2016
bumping build process for gradle 3 / merging documentation into the repo and test adjustments
v4.0.10 - Sep 07, 2016
adding channel / channelGroup fields when a message / presence event comes in.
v4.0.9 - Aug 24, 2016
adjustments for handling pn_other and decryption
retrofit version bumps.
v4.0.8 - Aug 16, 2016
added unsubscribeAll, getSubscribedChannels, getSubscribedChannelGroups
SDK will establish secure connections by default
added support for exponential backoff reconnection policies
v4.0.7 - Aug 11, 2016
reduce overlap on error handling when returning exceptions.
v4.0.6 - Jul 18, 2016
send heartbeat presence value when subscribing
v4.0.5 - Jul 07, 2016
unified retrofit handling to lower amount of instances and sync'd the state methods.
v4.0.4 - Jun 24, 2016
setting State for other UUID's is now supported.
v4.0.3 - Jun 15, 2016
fire() method and no-replicaton options.
v4.0.2 - Jun 15, 2016
fix to the version fetching.
v4.0.1 - Jun 06, 2016
adjustment of the subscribe loop to alleviate duplicate dispatches.
v4.0.0 - Jun 03, 2016
reconnects and minor adjustments.
fixing state not coming on the subscriber callback.
adjustments to URL encoding on publish, subscribe, set-state operations to avoid double encoding with retrofit.
reworking of message queue.
reworking error notifications.