v4.24.3 - Jun 19, 2019
Added support to enable heartbeat requests while subscribe when heartbeat interval is provided
v4.24.2 - Jun 13, 2019
Added try catch block to handle exception for JSON.parse function
Updated default origin to ps.pndsn.com
v4.24.1 - Jun 06, 2019
Maintains the state when the presence heartbeat is explicitly disabled
v4.24.0 - May 09, 2019
Disables the presence heartbeat by default when a subscribe is called. Presence heartbeat can still be enabled explicitly.
v4.23.0 - Mar 14, 2019
timetokenparameter is deprecated in the
message-countsfunction. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results.
v4.22.0 - Mar 04, 2019
use null instead of '' for NativeScript networking module
v4.21.7 - Dec 20, 2018
fix flow process on nativescript
v4.21.6 - Oct 04, 2018
fix POST for nativescript adapter over android
v4.21.5 - Aug 06, 2018
v4.21.4 - Aug 04, 2018
return error parameter into errorData when logVerbosity = true
v4.21.3 - Jul 10, 2018
v4.21.2 - Jun 12, 2018
add stringifiedTimeToken into the fetch endpoint
v4.21.1 - Jun 08, 2018
avoid security vulnerability in growl < 1.10.0
v4.21.0 - Jun 06, 2018
subscribe without using the heartbeat loop with flag withHeartbeats = false
v4.20.3 - Apr 24, 2018
fix timetoken announces
categorize ETIMEDOUT errors as PNNetworkIssuesCategory
v4.20.2 - Feb 28, 2018
fix signature to delete message
v4.20.1 - Jan 29, 2018
allow set ssl to false for nodejs
v4.20.0 - Jan 04, 2018
add support for heartbeat sending without subscription via .presence()
add method setProxy for Nodejs
set ssl to true for nodejs by default
v4.19.0 - Dec 05, 2017
add support for Native Script
add missing flow types
upgrade superagent to ^3.8.1
v4.18.0 - Nov 20, 2017
keepAlive is now initialized globally instead of per-call, allowing better connection reuse
added sdkName configuration parameter which allow completely override pnsdk in request query
v4.17.0 - Oct 19, 2017
allow disabling of heartbeats by passing 0 during initialization.
v4.16.2 - Oct 19, 2017
fix UUID library to work in browsers.
v4.16.1 - Oct 12, 2017
fix incorrect packaging of lil-uuid and uuid
v4.16.0 - Oct 10, 2017
support delete messages from history
swap uuid generator with support for IE9 and IE10
v4.15.1 - Aug 21, 2017
fix typo to enable http keep alive support
v4.15.0 - Aug 21, 2017
Support optional message deduping via the dedupeOnSubscribe config
Do not issue leave events if the channel mix is empty.
v4.14.0 - Aug 14, 2017
Allow disable of heartbeats by passing heartbeatInterval = 0
v4.13.0 - Jul 27, 2017
patch up 503 reporting
fix issue with where now and invalid server response
fix issue with here now and invalid server response
v4.12.0 - Jun 19, 2017
fix issue of net with android for titanium
add additional hooks for connectivity
add auto network detection
v4.10.0 - May 23, 2017
fix issue of net with android for react-native
metadata is now passed on message envelope
v4.9.1 - May 18, 2017
add support custom encryption and decryption
integrate fetch for react-native SDK
announce when subscription get reactivated
stop heartbeats for responses with status PNBadRequestCategory
v4.8.0 - Apr 06, 2017
allow manual control over network state via listenToBrowserNetworkEvents
v4.7.0 - Mar 30, 2017
add support for titanium SDK
fix support for react-native SDK
add validation for web distribution
v4.6.0 - Mar 27, 2017
add support for presence deltas.
keep track of new and upcoming timetokens on status messages
v4.5.0 - Mar 08, 2017
add optional support for keepAlive by passing the keepAlive config into the init logic
v4.4.4 - Feb 14, 2017
add guard to check for channel or channel group on state setting
add guard to check for publish, secret keys when performing a grant
v4.4.3 - Feb 07, 2017
downgrade superagent to v2; add new entry point for react native.
v4.4.2 - Jan 31, 2017
adjust compilation for webpack based compilations
v4.4.1 - Jan 31, 2017
proxy support for node
v4.4.0 - Jan 23, 2017
upgrade dependencies; fix up linting.
handle network outage cases for correct reporting.
v4.3.3 - Dec 16, 2016
bump version after v3 release.
v4.3.2 - Nov 28, 2016
removes bundling of package.json into the dist file
v4.3.1 - Nov 22, 2016
SDK now supports the restore config to allow message catch-up
v4.3.0 - Nov 18, 2016
bulk history exposed via pubnub.fetchMessages
publish supports custom ttl interval
v2 for audit and grant; no consumer facing changes.
fixes for param validation on usage of promises
v4.2.5 - Nov 04, 2016
SDK reports on the id of the publisher in the message
v4.2.4 - Nov 01, 2016
Detection of support of promises improved.
v4.2.3 - Nov 01, 2016
Fixes on encoding of apostraphes.
v4.2.2 - Oct 31, 2016
Add promise support on setState operation (@jskrzypek)
Add hooks to stop polling time when the number of subscriptions drops to 0 (@jasonpoe)
v4.2.1 - Oct 30, 2016
Encode signatures to avoid sending restricted characters
v4.2.0 - Oct 26, 2016
Add optional support for promises on all endpoints.
History always returns timetokens in the payloads.
Optionally, if queue size is set, send status on queue size threshold
v4.1.1 - Oct 17, 2016
Fix state setting for channels with reserved tags.
v4.1.0 - Oct 13, 2016
Reset timetoken when all unsubscribes happen
Sign requests when a a secret key is passed
v4.0.13 - Oct 05, 2016
Propogate status events to the status callback on subscribe operations.
v4.0.12 - Oct 03, 2016
affectedChannels and affectedChannelGroups are now populated on subscribe / unsubscribe events
v4.0.11 - Sep 27, 2016
v4.0.10 - Sep 14, 2016
Expose decryption and encryption as a global
v4.0.9 - Sep 09, 2016
Channel / subscription items are populated in
Constants for operation and category are exposed on global object
v4.0.8 - Aug 25, 2016
Re-publish of v4.0.7
v4.0.7 - Aug 25, 2016
Try..catch wrapped around localStorage for iframe compliance
v4.0.6 - Aug 18, 2016
Adjustment of reconnection policies for web distributions.
PNSDK support for partner identification
v4.0.5 - Aug 10, 2016
Stop exposing .babelrc which causes unpredictable behavior on react native.
v4.0.4 - Aug 09, 2016
Adjust handling of presence payloads for state settings.
Triggering disconnect, reconnect events on Web distributions.
React Native adjustments to package.json information.
Exposing generateUUID method to create uuids.
v4.0.3 - Aug 07, 2016
Global Here Now parsing adjustments.
v4.0.2 - Aug 03, 2016
Adjustments to internet disconnects on node.
v4.0.1 - Aug 01, 2016
Fixes to avoid double encoding on JSON payloads.
New iteration of JS / Node SDK family