pubnub

PubNub JavaScript SDK. https://www.pubnub.com/docs/javascript/pubnub-javascript-sdk-v4

Showing:
Jump to

186 Versions

4.33.0

August 31 2021

Full Changelog

  • 🌟️ Added support for Objects v2 in PAM v3 api.
  • 🐛 Fixes issue related to file decryption when cipherkey is provided in method.

4.32.1

May 26 2021

Full Changelog

  • 🐛 Fixes issue of signature does not match error with getAllUUIDMetadata call.
  • 🐛 Error handling with global hereNow call to provide detailed error message when feature not enabled.

4.32.0

April 28 2021

Full Changelog

  • 🌟️ Add grantToken support for channel and group resources.

4.31.0

April 22 2021

Full Changelog

  • ⭐️️ BREAKING CHANGE - Set true for useRandomIVs by default.
  • 🐛 Fix channel and uuid which is used with: files API, Objects and presence.

4.30.1

March 30 2021

Full Changelog

  • 🐛 Revert v4.300.

4.30.0

March 30 2021

Full Changelog

  • 🌟️ Add random initialization vector.
  • 🌟️ Add custom origin domain sharding handling.

4.29.11

January 11 2021

Full Changelog

  • ⭐️️ Set default increased limit for message count of History v3 api single call.

4.29.10

November 30 2020

Full Changelog

  • 🐛 Fixes issue of missing more field in fetch messages response.

4.29.9

October 5 2020

Full Changelog

  • 🌟️ Adds timetoken of file publish in the sendFile response.
  • 🐛 Fixes getFileUrl so that it includes auth and signature query params.
  • 🐛 Fixes downloadFile method to generate correct signature.

4.29.8

September 21 2020

Full Changelog

  • 🐛 Fixes compatibility with @sentry/react-native library.

4.29.8-rc1

4.29.7

September 14 2020

Full Changelog

  • 🌟️ Added support for managing permissions of objects v2 while applying PAM v2.
  • 🐛 Fix uncaught promise exception in subscription manager caused by error in user code inside of subscription handlers. Error will be handled and returned to status handler with PNUnknownCategory category where errorData can be examined.

4.29.6

September 8 2020

Full Changelog

  • 🌟️ Add file download to Blob in React Native.

4.29.5

September 1 2020

Full Changelog

  • 🌟️ Add support for file upload via file URI in React Native.
  • 🐛 Fix file download to ArrayBuffer in React Native.

4.29.4

August 14 2020

Full Changelog

  • 🐛 Fixes an artifact where ract-native entrypoint didnt use ssl.

4.29.3

August 14 2020

Full Changelog

  • 🐛 Fixes an issue with react-native entrypoint where interfaces to File and Crypto are not included in the build.
  • 🐛 Fixes the ability to sendByPost in publish.
  • 🐛 Fixes an issue where getFileUrl returned and URI without a protocol.
  • 🐛 Fixes an issue where storeInHistory false would not include the param.
  • 🐛 Removes mime types dependency since that will be handled by the server.
  • 🐛 Adds userMetadata to file event listener.

4.29.2

August 5 2020

Full Changelog

  • 🐛 Move @babel/runtime to runtime dependency.

4.29.1

August 4 2020

Full Changelog

  • 🐛 Release 4.291.

4.29.0

August 4 2020

Full Changelog

  • 🌟️ Allows to upload files to channels, download them with optional encryption support.
  • 🌟️ Allows to enable random IVs when encrypting messages.
  • 🐛 Fixes a bug with PAM and Objects v2.

4.28.4

July 15 2020

Full Changelog

  • 🐛 Fixes issue of high cpu usage when heartbeat interval is not set.

4.28.3

July 15 2020

Full Changelog

  • 🐛 getAllChannelMetadata no longer includes customFields by default, removeChannelMetadata no longer hits wrong endpoint, getMemberships and getChannelMembers now includes customFields by default, getAllUUIDMetadata now includes totalCount by default, getAllUUIDMetadata no longer includes limit by default, all membership and channel members methods now accept a callback, all objects v2 methods are properly typed now to include an optional callback, getMemberships and getChannelMembers now include totalCount, prev, and next in the response.

4.28.2

June 29 2020

Full Changelog

  • 🐛 Fixes a bug in removeChannelMembers and removeMemberships.

4.28.1

June 19 2020

Full Changelog

  • 🐛 Ensure proper bytes padding in ArrayBuffer prepared for cbor-js library.

4.28.0

June 3 2020

Full Changelog

  • 🌟️ Added Objects v2 API and deprecated Objects v1 API.

4.27.6

April 24 2020

Full Changelog

  • 🌟️ Added support for delete permission in the grant method of accesses manager.
  • ⭐️️ Added missing feature entries. Removed incorrect feature entries.

4.27.5

April 21 2020

Full Changelog

  • 🐛 Update READMEmd CDN links during deployment.
  • 🐛 Fix pre-compiled scripts update.

4.27.4

March 18 2020

Full Changelog

  • 🌟️ Add telemetry (latency) for all existing operation types.
  • 🐛 Replace cbor-sync module with cbor-js for client implementation for web to fix compatibility with Salesforce Lightning Web Components.

4.27.3

⭐ Support for APNS2 Push API ⭐ Restore functionality to set heartbeat interval when presence timeout is set below the default

4.27.2

4.27.1

4.30.0-beta.0

4.27.0

  • Add Message Actions API support which allow to: add, remove and fetch previously added actions.
  • feat: modify fetch messages endpoint to fetch message 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.

4.26.1

4.26.0

Add support for auth tokens with Objects for Users, Spaces and Memberships

4.25.2

4.25.1

Fix titanium build to support recent version

4.25.0

  • add objects support

4.24.6

  • hotfix for issue 'PubNub is not a constructor' in Node.js

4.24.5

  • added Signals support

4.24.4

4.24.3

4.24.2

  • Add error handling when parsing JSON responses
  • Setting presence heartbeat default to false
  • Adding state data to the subscribe response and maintain that in the client
  • Update of the default origin to the latest

4.24.1

4.24.0

4.23.0

"'timetoken' is deprecated in message-counts API. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results."

4.22.0

4.21.7

4.21.6

4.21.5

4.21.2

4.21.1

4.21.0

4.20.3

  • 🐛fix timetoken announces

  • ⭐categorize ETIMEDOUT errors as PNNetworkIssuesCategory

4.20.3-beta1

4.20.2

4.20.1

4.20.0

4.19.0

  • 🌟add support for Native Script
  • ⭐add missing flow types
  • ⭐upgrade superagent to ^3.8.1

4.18.0

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

4.17.0

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

4.16.2

  • 🐛fix UUID library to work in browsers.

4.16.1

  • 🐛fix incorrect packaging of lil-uuid and uuid

4.15.1

  • ⭐fix typo to enable http keep alive support

4.15.0

  • ⭐Support optional message deduping via the dedupeOnSubscribe config
  • ⭐Do not issue leave events if the channel mix is empty.

4.14.0

  • ⭐Allow disable of heartbeats by passing interval = 0

4.13.0

  • ⭐patch up 503 reporting

4.12.0

  • ⭐fix issue of net with android for titanium

  • 🌟add additional hooks for connectivity

  • 🌟add auto network detection

4.11.0-beta.3

4.11.0-beta.1

4.10.0

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

4.9.1

  • 🌟add support custom encryption and decryption

4.9.0

4.8.0

  • 🌟allow manual control over network state via listenToBrowserNetworkEvents

4.7.0

  • 🌟add support for titanium SDK

  • 🌟fix issue with React-Native SDK

  • 🌟Validate web distribution

4.6.0

  • 🌟add support for presence deltas.
  • 🌟keep track of new and upcoming timetokens on status messages

4.5.0

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

4.4.4

4.4.3

4.4.2

4.4.1

4.4.0

4.3.3

3.16.5

4.3.2

4.3.1

4.3.0

4.2.5

4.2.3

4.2.2

4.2.1

4.2.0

4.1.1

4.1.0

4.0.13

4.0.12

4.0.11

3.16.4

4.0.10

3.16.3

4.0.9

4.0.8

3.16.1

4.0.7

4.0.6

3.16.0

4.0.5

4.0.4

4.0.3

4.0.2

4.0.1

4.0.0

4.0.0-beta1

3.15.2

3.15.1

3.14.7

3.14.6

3.14.5

3.14.4

3.14.3

3.14.2

3.15.0

3.14.1

3.14.0

3.13.0

3.12.0

3.11.0

3.10.3

3.10.2

3.10.0

3.9.2

3.9.1

3.9.0

3.8.0

3.7.23

3.7.22

3.7.21

3.7.20

3.7.19

3.7.18

3.7.17

3.7.16

3.7.15

3.7.14

3.7.13

3.7.12

3.7.11

3.7.10

3.7.9

3.7.8

3.7.7

3.7.6

3.7.5

3.7.4

3.7.0

3.6.8

3.6.7

3.6.6

3.6.5

3.6.4

3.6.3

3.6.2

3.6.1

3.5.48

3.5.47

3.5.45

3.5.43

3.5.4

3.5.3

3.4.4

3.3.1

3.1.9

3.1.8

3.1.7

3.1.6

3.1.5

3.1.4

3.1.3

3.1.2

3.1.1

3.1.0

4.33.1

October 18 2021

Full Changelog

  • 🐛 Fixes issue of performing file publish message retry according to fileUploadPublishRetryLimit setting of PubNub instance.

4.34.2

December 01 2021

Fixed
  • Fix listener callback is invoked multiple times. Fixed the following issues reported by @puopg: #230.

4.34.1

November 22 2021

Fixed
  • Update .npmignore and excluded resources from from NPM package. Fixed the following issues reported by @ElridgeDMello: #228.

4.34.0

November 19 2021

Added
  • Upgrade superagent.

4.35.0

December 06 2021

Added
  • Allows to specify multiple origins in the config, which enables domain sharding for custom origins.

4.36.0

December 09 2021

Fixed
  • Remove isomorphic-webcrypto polyfill for web Add buffer polyfill to react native. Fixed the following issues reported by @JakeOrel: #233.