referance content
v4.27.1 - Nov 20, 2019
Make changes in fetch_messages endpoint to move message actions (if any) for message from 'data' to 'actions' property (old 'data' will be in place for few updates to not break existing clients).
fix PAMv3 tests mocked signature
fix lint warnings for tests and code
fix gulp build so that failures in test and lint will trigger failure in travis
v4.27.0 - Oct 08, 2019
Add Message Actions API support which allow to: add, remove and fetch previously added actions
Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata
Add new handler which can be used to track message actions addition / removal events
v4.26.1 - Sep 27, 2019
Ensures history response is an array before iterating it
v4.26.0 - Sep 20, 2019
Add support for auth tokens with Objects for Users, Spaces and Memberships
v4.25.2 - Sep 03, 2019
Fix issue with subdomains ending in 'ps'
v4.25.1 - Aug 23, 2019
Fix titanium build to support recent version
v4.25.0 - Aug 16, 2019
Add Objects support for Users, Spaces and Memberships
v4.24.6 - Aug 09, 2019
Fix regression: 'PubNub is not a constructor' in Node.js
v4.24.5 - Aug 07, 2019
Add Signals support
v4.24.4 - Jul 26, 2019
Add minimum presence timeout
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
The
timetoken
parameter is deprecated in themessage-counts
function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results.
v4.22.0 - Mar 04, 2019
message counts
use null instead of '' for NativeScript networking module
v4.21.7 - Dec 20, 2018
update dependencies
fix flow process on nativescript
v4.21.6 - Oct 04, 2018
fix POST for nativescript adapter over android
v4.21.5 - Aug 06, 2018
update dependencies
v4.21.4 - Aug 04, 2018
return error parameter into errorData when logVerbosity = true
v4.21.3 - Jul 10, 2018
update dependencies
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
Dependency upgrades
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
Dependency upgrades
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
v4.27.1 - Nov 20, 2019
Make changes in fetch_messages endpoint to move message actions (if any) for message from 'data' to 'actions' property (old 'data' will be in place for few updates to not break existing clients).
fix PAMv3 tests mocked signature
fix lint warnings for tests and code
fix gulp build so that failures in test and lint will trigger failure in travis
v4.27.0 - Oct 08, 2019
Add Message Actions API support which allow to: add, remove and fetch previously added actions
Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata
Add new handler which can be used to track message actions addition / removal events
v4.26.1 - Sep 27, 2019
Ensures history response is an array before iterating it
v4.26.0 - Sep 20, 2019
Add support for auth tokens with Objects for Users, Spaces and Memberships
v4.25.2 - Sep 03, 2019
Fix issue with subdomains ending in 'ps'
v4.25.1 - Aug 23, 2019
Fix titanium build to support recent version
v4.25.0 - Aug 16, 2019
Add Objects support for Users, Spaces and Memberships
v4.24.6 - Aug 09, 2019
Fix regression: 'PubNub is not a constructor' in Node.js
v4.24.5 - Aug 07, 2019
Add Signals support
v4.24.4 - Jul 26, 2019
Add minimum presence timeout
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
The
timetoken
parameter is deprecated in themessage-counts
function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results.
v4.22.0 - Mar 04, 2019
message counts
use null instead of '' for NativeScript networking module
v4.21.7 - Dec 20, 2018
update dependencies
fix flow process on nativescript
v4.21.6 - Oct 04, 2018
fix POST for nativescript adapter over android
v4.21.5 - Aug 06, 2018
update dependencies
v4.21.4 - Aug 04, 2018
return error parameter into errorData when logVerbosity = true
v4.21.3 - Jul 10, 2018
update dependencies
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
Dependency upgrades
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
Dependency upgrades
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
Beta Version Available! | A beta release of the PubNub React framework, version 2.0 is now available. You can access it in the v2.0 branch of the |
v1.3.1 - Jun 14, 2019
update pubnub js sdk
v1.3.0 - Mar 08, 2019
add messageCounts
v1.2.0 - Nov 23, 2017
add fetchMessages and deleteMessages
v1.1.1 - Nov 14, 2017
update readme
v1.1.0 - Oct 01, 2017
keep the stack of messages with only the latest 100
v1.0.2 - Sep 18, 2017
add npmignore
v1.0.1 - Aug 04, 2017
add webpack
v1.0.0 - Aug 02, 2017
first public version
v4.27.1 - Nov 20, 2019
Make changes in fetch_messages endpoint to move message actions (if any) for message from 'data' to 'actions' property (old 'data' will be in place for few updates to not break existing clients).
fix PAMv3 tests mocked signature
fix lint warnings for tests and code
fix gulp build so that failures in test and lint will trigger failure in travis
v4.27.0 - Oct 08, 2019
Add Message Actions API support which allow to: add, remove and fetch previously added actions
Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata
Add new handler which can be used to track message actions addition / removal events
v4.26.1 - Sep 27, 2019
Ensures history response is an array before iterating it
v4.26.0 - Sep 20, 2019
Add support for auth tokens with Objects for Users, Spaces and Memberships
v4.25.2 - Sep 03, 2019
Fix issue with subdomains ending in 'ps'
v4.25.1 - Aug 23, 2019
Fix titanium build to support recent version
v4.25.0 - Aug 16, 2019
Add Objects support for Users, Spaces and Memberships
v4.24.6 - Aug 09, 2019
Fix regression: 'PubNub is not a constructor' in Node.js
v4.24.5 - Aug 07, 2019
Add Signals support
v4.24.4 - Jul 26, 2019
Add minimum presence timeout
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
The
timetoken
parameter is deprecated in themessage-counts
function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results.
v4.22.0 - Mar 04, 2019
message counts
use null instead of '' for NativeScript networking module
v4.21.7 - Dec 20, 2018
update dependencies
fix flow process on nativescript
v4.21.6 - Oct 04, 2018
fix POST for nativescript adapter over android
v4.21.5 - Aug 06, 2018
update dependencies
v4.21.4 - Aug 04, 2018
return error parameter into errorData when logVerbosity = true
v4.21.3 - Jul 10, 2018
update dependencies
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
Dependency upgrades
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
Dependency upgrades
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
v4.27.1 - Nov 20, 2019
Make changes in fetch_messages endpoint to move message actions (if any) for message from 'data' to 'actions' property (old 'data' will be in place for few updates to not break existing clients).
fix PAMv3 tests mocked signature
fix lint warnings for tests and code
fix gulp build so that failures in test and lint will trigger failure in travis
v4.27.0 - Oct 08, 2019
Add Message Actions API support which allow to: add, remove and fetch previously added actions
Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata
Add new handler which can be used to track message actions addition / removal events
v4.26.1 - Sep 27, 2019
Ensures history response is an array before iterating it
v4.26.0 - Sep 20, 2019
Add support for auth tokens with Objects for Users, Spaces and Memberships
v4.25.2 - Sep 03, 2019
Fix issue with subdomains ending in 'ps'
v4.25.1 - Aug 23, 2019
Fix titanium build to support recent version
v4.25.0 - Aug 16, 2019
Add Objects support for Users, Spaces and Memberships
v4.24.6 - Aug 09, 2019
Fix regression: 'PubNub is not a constructor' in Node.js
v4.24.5 - Aug 07, 2019
Add Signals support
v4.24.4 - Jul 26, 2019
Add minimum presence timeout
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
The
timetoken
parameter is deprecated in themessage-counts
function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results.
v4.22.0 - Mar 04, 2019
message counts
use null instead of '' for NativeScript networking module
v4.21.7 - Dec 20, 2018
update dependencies
fix flow process on nativescript
v4.21.6 - Oct 04, 2018
fix POST for nativescript adapter over android
v4.21.5 - Aug 06, 2018
update dependencies
v4.21.4 - Aug 04, 2018
return error parameter into errorData when logVerbosity = true
v4.21.3 - Jul 10, 2018
update dependencies
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
Dependency upgrades
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
Dependency upgrades
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