PhoneGapPhoneGapNode.jsReact V4WebJavaScriptChangelog for PubNub PhoneGap V4 SDK

PubNub EOL Policy


Modified
  • add stringifiedTimeToken into the fetch endpoint

Fixed
  • avoid security vulnerability in growl < 1.10.0

Added
  • subscribe without using the heartbeat loop with flag withHeartbeats = false

Fixed
  • fix timetoken announces

Modified
  • categorize ETIMEDOUT errors as PNNetworkIssuesCategory

Fixed
  • fix signature to delete message

Modified
  • allow set ssl to false for nodejs

Added
  • add support for heartbeat sending without subscription via .presence()

  • add method setProxy for Nodejs

  • set ssl to true for nodejs by default

Added
  • add support for Native Script

Modified
  • add missing flow types

  • upgrade superagent to ^3.8.1

Modified
  • keepAlive is now initialized globally instead of per-call, allowing better connection reuse

Added
  • added sdkName configuration parameter which allow completely override pnsdk in request query

Modified
  • allow disabling of heartbeats by passing 0 during initialization.

Fixed
  • fix UUID library to work in browsers.

Fixed
  • fix incorrect packaging of lil-uuid and uuid

Added
  • support delete messages from history

Modified
  • swap uuid generator with support for IE9 and IE10

Modified
  • fix typo to enable http keep alive support

Modified
  • Support optional message deduping via the dedupeOnSubscribe config

  • Do not issue leave events if the channel mix is empty.

Modified
  • Allow disable of heartbeats by passing heartbeatInterval = 0

Modified
  • patch up 503 reporting

  • fix issue with where now and invalid server response

  • fix issue with here now and invalid server response

Modified
  • fix issue of net with android for titanium

Added
  • add additional hooks for connectivity

  • add auto network detection

Modified
  • fix issue of net with android for react-native

Added
  • metadata is now passed on message envelope

Added
  • add support custom encryption and decryption

Added
  • integrate fetch for react-native SDK

Modified
  • announce when subscription get reactivated

  • stop heartbeats for responses with status PNBadRequestCategory

Added
  • allow manual control over network state via listenToBrowserNetworkEvents

Added
  • add support for titanium SDK

Modified
  • fix support for react-native SDK

  • add validation for web distribution

Added
  • add support for presence deltas.

  • keep track of new and upcoming timetokens on status messages

Added
  • add optional support for keepAlive by passing the keepAlive config into the init logic

Modified
  • add guard to check for channel or channel group on state setting

  • add guard to check for publish, secret keys when performing a grant

Modified
  • downgrade superagent to v2; add new entry point for react native.

Modified
  • adjust compilation for webpack based compilations

Modified
  • proxy support for node

Modified
  • upgrade dependencies; fix up linting.

  • handle network outage cases for correct reporting.

Modified
  • bump version after v3 release.

Modified
  • removes bundling of package.json into the dist file

Modified
  • SDK now supports the restore config to allow message catch-up

Modified
  • 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

Modified
  • SDK reports on the id of the publisher in the message

Modified
  • Detection of support of promises improved.

Modified
  • Fixes on encoding of apostraphes.

Modified
  • Add promise support on setState operation (@jskrzypek)

  • Add hooks to stop polling time when the number of subscriptions drops to 0 (@jasonpoe)

Modified
  • Encode signatures to avoid sending restricted characters

Modified
  • 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

Modified
  • Fix state setting for channels with reserved tags.

Modified
  • Reset timetoken when all unsubscribes happen

  • Sign requests when a a secret key is passed

Modified
  • Propogate status events to the status callback on subscribe operations.

Modified
  • affectedChannels and affectedChannelGroups are now populated on subscribe / unsubscribe events

Modified
  • Dependency upgrades

Modified
  • Expose decryption and encryption as a global

Modified
  • Channel / subscription items are populated in

  • Constants for operation and category are exposed on global object

Modified
  • Re-publish of v4.0.7

Modified
  • Dependency upgrades

  • Try..catch wrapped around localStorage for iframe compliance

Modified
  • Adjustment of reconnection policies for web distributions.

  • PNSDK support for partner identification

Modified
  • Stop exposing .babelrc which causes unpredictable behavior on react native.

Modified
  • Adjust handling of presence payloads for state settings.

  • Triggering disconnect, reconnect events on Web distributions.

  • React Native adjustments to package.json information.

Added
  • Exposing generateUUID method to create uuids.

Modified
  • Global Here Now parsing adjustments.

Modified
  • Adjustments to internet disconnects on node.

Fixed
  • Fixes to avoid double encoding on JSON payloads.

Added
  • New iteration of JS / Node SDK family