pubnub
Version:
Publish & Subscribe Real-time Messaging with PubNub
1,239 lines • 220 kB
YAML
---
changelog:
- date: 2025-12-16
version: v10.2.5
changes:
- type: improvement
text: "Use `fast-text-encoding` for react native instead of outdated `fast-encoding` polyfill."
- date: 2025-12-04
version: v10.2.4
changes:
- type: improvement
text: "Prevent resubscribe to previously subscribed entities."
- date: 2025-11-20
version: v10.2.3
changes:
- type: improvement
text: "Enforce use of the `fetch` function from the context, which is not affected by APM monkey patching."
- date: 2025-11-19
version: v10.2.2
changes:
- type: improvement
text: "Replace `gcm` with `fcm` for push notification gateway type."
- date: 2025-11-03
version: v10.2.1
changes:
- type: improvement
text: "Expose `File` on pubnub instance to manually create supported File construct."
- date: 2025-10-29
version: v10.2.0
changes:
- type: feature
text: "Add a zero-based `offset` index parameter to be used together with `limit` for `here now` pagination."
- date: 2025-09-30
version: v10.1.0
changes:
- type: feature
text: "Reintroduced legacy encryption and decryption functions for the React Native target to ensure backward compatibility."
- type: bug
text: "Resolves issue where presence heartbeat channels/groups sets were out of sync."
- type: improvement
text: "Temporarily remove the `offset` parameter until implementation synchronization across SDKs is completed."
- date: 2025-09-18
version: v10.0.0
changes:
- type: feature
text: "BREAKING CHANGES: Add 'limit' and 'offset' parameters for 'HereNowRequest' for pagination support."
- date: 2025-09-09
version: v9.10.0
changes:
- type: feature
text: "Send new presence `state` to the `SharedWorker` as soon as it has been set with `setState` to avoid race conditions between regular heartbeats and `backup` heartbeats."
- type: bug
text: "Fix issue because of which requests aggregated from other clients were able to override previously explicitly set newer access token."
- type: improvement
text: "Remove presence `state` from long-poll subscribe requests as part of the transition to explicit heartbeat."
- date: 2025-08-25
version: v9.9.0
changes:
- type: bug
text: "Resolved the issue because of which requests that were too early received a response and still have been sent."
- type: improvement
text: "Decouple and re-organize `SharedWorker` code for better maintainability."
- type: improvement
text: "Additional query parameter (removed before sending) is added for requests triggered by user and state will be updated only for these requests."
- type: improvement
text: "Log entry timestamp will be altered on millisecond if multiple log entries have similar timestamp (logged in fraction of nanoseconds)."
- type: improvement
text: "Change the condition that is used to identify whether the `offline` detection timer has been suspended by the browser or not before trying to evict `offline` PubNub clients."
- date: 2025-08-07
version: v9.8.4
changes:
- type: bug
text: "Resolved an issue that prevented access to static fields of the PubNub class when using the SDK in React Native target builds."
- date: 2025-07-28
version: v9.8.3
changes:
- type: improvement
text: "Update workflow with `id-token: write` permission for AWS CLI configuration."
- date: 2025-07-28
version: v9.8.2
changes:
- type: improvement
text: "Upgraded `form-data` dependency to version 4.0.4 to address potential vulnerability issue."
- date: 2025-07-15
version: v9.8.1
changes:
- type: bug
text: "Fix incorrect subscription reference timetoken (used by listeners to filter old messages) caused by the server returning timetoken older than the previous one because of MX."
- type: bug
text: "Fix the issue because of which all subscriptions of the subscription set have been requested to handle the received event."
- date: 2025-07-11
version: v9.8.0
changes:
- type: feature
text: "Depending on client configuration, it will emit `status` for heartbeat, which has been started by the `SharedWorker` backup heartbeat timer mechanism."
- type: feature
text: "Stop heartbeats until the auth key / access token is changed. On change, `SharedWorker` will send an immediate heartbeat request."
- type: bug
text: "Fix the issue with the global subscription set (used for legacy interface support) because of which `unsubscribe` with the legacy interface wasn't able to complete the unsubscribe process."
- type: bug
text: "Fix the issue because of which rapid subscription (from other PubNub clients in response to received subscribe response) throttling causes delayed channel list change."
- type: improvement
text: "Restart the timer of the backup heartbeat if an explicit heartbeat request has been received from the main PubNub client."
- type: improvement
text: "Modify the `log` payload for `SharedWorker` to make it possible to log sent / received requests information to the main browser window (not to the `SharedWorker` console)."
- date: 2025-06-30
version: v9.7.0
changes:
- type: feature
text: "Launch a backup heartbeat timer per registered PubNub instance in SharedWorker context to protect against browsers throttling of background (hidden) tabs."
- type: bug
text: "Fix issue because of which in new flow `heartbeat` request not cancelled properly when issued in burst."
- type: bug
text: "Fix issue because resource names, which consist only of integers, have been decoded as Unicode characters."
- type: bug
text: "Fix issue because the entity that has been created with `-pnpres` suffix has been removed from subscription loop during unsubscribe from entity with presence listening capability."
- type: improvement
text: "Use string names of classes for locations instead of dynamic access to constructor names because it affect how logs looks like after minification."
- date: 2025-06-30
version: v9.6.2
changes:
- type: improvement
text: "Removed deprecation warning from deleteMessages method."
- type: improvement
text: "Added code snippets for docs."
- date: 2025-06-18
version: v9.6.1
changes:
- type: bug
text: "Fix issue that has been caused by the race of conditions on tab close and led to `presence leave` for channels that were still in use."
- type: improvement
text: "Make leeway depending from the minimal heartbeat interval (5% from it) to filter out too rapid heartbeat calls."
- date: 2025-06-04
version: v9.6.0
changes:
- type: feature
text: "Standardize information printed by logger and places where it is printed."
- type: feature
text: "Add `logLevel` and `loggers` configuration parameters to specify minimum log level and list of custom `Logger` interface implementations (when own logger needed)."
- type: feature
text: "Add the `cloneEmpty` function, which will let you make a “bare” copy of a subscription / subscription set object, which will have shared state with the original but clear list of event handlers."
- type: feature
text: "Add a parameter for subscription where closure can be provided and filter events which should be delivered with listener."
- type: feature
text: "When a new subscription object is created, it won't notify about messages from the past (edge case with active and inactive channel subscriptions)."
- date: 2025-04-22
version: v9.5.2
changes:
- type: bug
text: "Fixed issue because of which client retried for both bad request and access denied."
- type: improvement
text: "Add current list of channels and groups to connected status."
- date: 2025-04-15
version: v9.5.1
changes:
- type: bug
text: "Add missing `NoneRetryPolicy` static field for `PubNub` class."
- type: improvement
text: "`RetryPolicy.None` exported as a function to not affect tree-shaking and modules exclusion possibilities."
- date: 2025-04-15
version: v9.5.0
changes:
- type: feature
text: "The configured retry policy will be used for any failed request."
- type: feature
text: "By default, the SDK is configured to use an exponential retry policy for failed subscribe requests."
- type: bug
text: "`PNSubscriptionChangedCategory` will be emitted each time the list of channels and groups is changing."
- type: improvement
text: "Automated request retry has been moved into the network layer to handle all requests (not only subscribed)."
- type: improvement
text: "Properly destroy `PubNub` instance after each test case to make sure that all connections closed and prevent tests from hanging."
- date: 2025-04-10
version: v9.4.0
changes:
- type: feature
text: "Compress the published payload if sent by POST."
- type: feature
text: "Explicitly add `gzip, deflate` to the `Accept-Encoding` header."
- date: 2025-03-31
version: v9.3.2
changes:
- type: bug
text: "Fix missing `heartbeat` and `leave` REST API calls when the event engine is enabled and `presenceTimeout` or `heartbeatInterval` not set."
- date: 2025-03-25
version: v9.3.1
changes:
- type: bug
text: "Fix issue because of which channels and groups aggregated inside PubNub client state objects and didn't clean up properly on unsubscribe / invalidate."
- date: 2025-03-20
version: v9.3.0
changes:
- type: feature
text: "Remove minimum limit for presence timeout (was 20 seconds) to make it possible specify shorter intervals."
- type: bug
text: "Fix issue because of which channels not aggregated and caused separate heartbeat requests."
- date: 2025-03-19
version: v9.2.0
changes:
- type: feature
text: "On `pagehide` without `bfcache` client on page will send `terminate` to Shared Worker for early long-poll request termination and `leave` request sending (if configured)."
- type: bug
text: "Fix an issue with the client's state update in Shared Worker caused by `-pnpres` suffixed entries being removed from heartbeat / leave request channels and groups."
- date: 2025-03-13
version: v9.1.0
changes:
- type: feature
text: "`SubscriptionSet` will re-add listener every time when `Subscription` or `SubscriptionSet` added to it - this will let receive updates from newly added subscribe capable objects."
- type: bug
text: "Fix issue because of errors returned by `fetch` taken from `iframe` (to protect against monkey-patching by APM packages) was't handled as Error."
- type: improvement
text: "Use access token (auth key) content instead of base64 encoded token to identify PubNub clients, which can be used for requests aggregation."
- date: 2025-03-10
version: v9.0.0
changes:
- type: feature
text: "BREAKING CHANGES: `SubscriptionSet` will subscribe / unsubscribe added / removed `Subscription` or `SubscriptionSet` objects if the set itself already subscribed."
- type: bug
text: "Fix issue because of which throttle didn't consider difference in client settings (throttled only by user ID and subscribe key, which is not enough)."
- type: bug
text: "With the fix, smart heartbeat as feature has been added to the SDK, and it is disabled by default."
- date: 2025-03-06
version: v8.10.0
changes:
- type: feature
text: "Add `useSmartHeartbeat` configuration option which allows ignoring implicit heartbeat (with successful subscribe response) and keep sending `heartbeat` calls with fixed intervals."
- type: feature
text: "`subscriptionWorkerOfflineClientsCheckInterval` configuration option can be used to configure the interval at which “offline” PubNub clients (when tab closed) detection will be done."
- type: feature
text: "`subscriptionWorkerUnsubscribeOfflineClients` configuration option can be used to force unsubscribe (presence leave) for “offline” PubNub clients (when tab closed)."
- date: 2025-02-26
version: v8.9.1
changes:
- type: bug
text: "Fix issue because of which code doesn't handle edge case when `fetch` reject with empty object and not `Error`."
- type: improvement
text: "Remove `-pnpres` channels and groups from presence `leave` and `heartbeat` requests."
- date: 2025-02-18
version: v8.9.0
changes:
- type: feature
text: "Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response."
- type: improvement
text: "Move error / malformed response handling into `AbstractRequest` to simplify actual endpoint classes."
- date: 2025-02-10
version: v8.8.1
changes:
- type: bug
text: "Fix issue because of which APM fix worked only when the client has been configured with `logVerbosity: true`."
- date: 2025-02-05
version: v8.8.0
changes:
- type: feature
text: "For the browser version of PubNub SDK, add the ability to switch between `fetch` and `xhr` APIs (`transport` configuration option)."
- type: bug
text: "Fix issue because of which, in Event Engine mode, wrong timeout values have been set for requests which create long-poll request."
- type: improvement
text: "Refactor `timeout` implementation for `fetch` transport to properly cancel request when the timeout timer will fire."
- date: 2025-01-31
version: v8.7.1
changes:
- type: bug
text: "Fix long-poll request cancellation caused by APM packages monkey patching 'fetch' and try to use 'native' implementation instead of patched."
- date: 2025-01-30
version: v8.7.0
changes:
- type: feature
text: "Pass heartbeat request through `SharedWorker` (if used) to optimize the number of requests for clients opened in few tabs and subscribed on same channels / groups list."
- type: improvement
text: "Don't send `heartbeat` request to unsubscribe."
- date: 2025-01-21
version: v8.6.0
changes:
- type: feature
text: "A new optional parameter `ifMatchesEtag` is added to `setUUIDMetadata` and `setChannelMetadata`. When provided, the server compares the argument value with the ETag on the server and if they don't match a HTTP 412 error is returned."
- date: 2025-01-15
version: v8.5.0
changes:
- type: feature
text: "Add `fileRequestTimeout` client configuration option which is specific only for requests which upload and download files."
- type: bug
text: "Fix issue with `instanceId` set to `undefined` for requests with `useInstanceId` configuration flag set to `true`."
- date: 2025-01-02
version: v8.4.1
changes:
- type: bug
text: "Fixed issue of hereNow response parsing for `totalOccupancy` field."
- date: 2024-12-17
version: v8.4.0
changes:
- type: feature
text: "Add `type` field for members and membership objects and subscribe response."
- type: bug
text: "Fixed type which limited number of options which can be included into response / used in sorting for members / membership setting API."
- type: bug
text: "Fix missing `hereNowRefresh` flag from the presence object received from subscribe."
- type: bug
text: "Fix issue because of which `logVerbosity` set to `true` still didn't print logs for Node.js."
- type: improvement
text: "Change format and add proper request body output."
- date: 2024-12-12
version: v8.3.2
changes:
- type: bug
text: "Fix issue with `Subscription` and `SubscriptionSet` when one can unsubscribe channel / group which is still in use by another."
- type: bug
text: "Fix particular `TypeError` emitted when browser forcefully closes long-poll connection before its timeout and reported as bad request. This type of error will be reported as a network error."
- type: bug
text: "Fix issue because of which `node-fetch` used default agent, which after Node.js 19+ has `keepAlive` enabled by default."
- date: 2024-11-18
version: v8.3.1
changes:
- type: bug
text: "Fix issue because of which presence events not delivered to the `Subscription` and `SubscriptionSet` objects (only global listeners)."
- date: 2024-11-14
version: v8.3.0
changes:
- type: feature
text: "Add custom message type support for the following APIs: publish, signal, share file, subscribe and history."
- date: 2024-10-31
version: v8.2.10
changes:
- type: bug
text: "Fix `Actions` type definition."
- type: improvement
text: "Remove indexed signature for publish."
- type: improvement
text: "Add serializable objects to `Payload` type."
- type: improvement
text: "Aggregate generated types definitions."
- type: improvement
text: "Fix definition of type which represents message actions received from history and list of users which added action of specific type and value to the message."
- type: improvement
text: "Remove redundant indexed signature from publish message parameters type definition."
- type: improvement
text: "Extend `Payload` type definition with objects which can be serialized by `JSON.stringify` using `toJSON()` methods."
- type: improvement
text: "Aggregate multiple types definitions into single type definition type with proper type names and namespaces."
- type: improvement
text: "Add the Subscribe Event Engine and Event Listener types to the bundled types definition file."
- date: 2024-10-25
version: v8.2.9
changes:
- type: bug
text: "Revert fix created to handle browser timeouts (not gracefully). The Web Fetch API doesn't have descriptive error information, and it sends `TypeError` for both cases when connection closed by browser or network issue (blocked domain)."
- date: 2024-09-30
version: v8.2.8
changes:
- type: bug
text: "Fix issue because of which leave request modified wrong URL path component with actual channels."
- type: bug
text: "Fix issue because of which removed channels / groups didn't cancel previous subscribe request to re-subscribe with new set of channels / groups."
- type: bug
text: "Fix issue because of which suitable active PubNub clients subscription not has been used for aggregation and caused additional connections or wrong set of channels / groups."
- type: improvement
text: "Pre-process entries from subscribe response to filter out updates which has been received for channels and groups which are not part of subscription loop (subscription aggregation in shared worker)."
- type: improvement
text: "Point to the built-in types definition file when package used with `npm` / `yarn`."
- date: 2024-08-01
version: v8.2.7
changes:
- type: bug
text: "Fix issue because of which timeout enforced by browser triggered wrong error status category."
- date: 2024-07-23
version: v8.2.6
changes:
- type: bug
text: "Resolves the issue of manually included presence channels not being unsubscribed from the subscription set."
- date: 2024-07-18
version: v8.2.5
changes:
- type: improvement
text: "Fix PubNub client configuration and listener documentation."
- date: 2024-06-17
version: v8.2.4
changes:
- type: bug
text: "Subscription/SubscriptionSet's `subscribe()` method accepts `timetoken` parameter. Instead as in subscriptionOption."
- date: 2024-06-06
version: v8.2.3
changes:
- type: bug
text: "Fix issue because of which single string sort option wasn't serialized properly."
- date: 2024-06-05
version: v8.2.2
changes:
- type: bug
text: "Fix issue because of which `heartbeatInterval` wasn't computed if `presenceTimeout` provided during PubNub client configuration."
- date: 2024-05-22
version: v8.2.1
changes:
- type: bug
text: "Fix revoke token method signature where mistakenly expected object with `token` field."
- date: 2024-05-21
version: v8.2.0
changes:
- type: feature
text: "Add environment flags processing to opt-out feature modules from built bundles."
- type: bug
text: "Add `application/json` content type for `Grant Token`, `Add Message Action` and `Generate File Upload URL` endpoints."
- date: 2024-05-16
version: v8.1.0
changes:
- type: feature
text: "Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback."
- type: feature
text: "Add configuration option to enable debug log output from the subscription `SharedWorker`."
- type: improvement
text: "Create types declaration files."
- date: 2024-04-23
version: v8.0.1
changes:
- type: improvement
text: "Provider configuration option to set service worker from the URL (because of browser restrictions for worker files to be registered from the same domain)."
- date: 2024-04-22
version: v8.0.0
changes:
- type: feature
text: "Upgraded the network layer, replacing the `superagent` module with the `Fetch API` for browser integrations and node-fetch for `npm` integrations, ensuring enhanced performance and reliability."
- type: feature
text: "Added service worker ."
- type: feature
text: "Enhanced the subscribe feature with service worker support, improving user experience across multiple browser windows and tabs. The client interface rewritten with TypeScript, which gives an up-to-date interface."
- date: 2024-04-18
version: v7.6.3
changes:
- type: bug
text: "Fixes issue of add or remove listener of subscription to/from subscriptionSet."
- date: 2024-03-28
version: v7.6.2
changes:
- type: feature
text: "Added support for pagination params for listChannels API of push notification devices."
- date: 2024-02-26
version: v7.6.1
changes:
- type: bug
text: "Fixes issue of App context event handling for channel and membership."
- date: 2024-02-21
version: v7.6.0
changes:
- type: feature
text: "Adding channel, channelGroup, channelMetadata and userMetadata entities to be first-class citizens to access APIs related to them. Currently, access is provided only for subscription API."
- date: 2024-01-16
version: v7.5.0
changes:
- type: feature
text: "Added `enableEventEngine`, `maintainPresenceState` flags and `retryConfiguration` for retry policy configuration."
- type: bug
text: "Fixes issue of allowing duplicate listener registration."
- type: bug
text: "Fixes file name conflict in lib directory."
- date: 2023-11-28
version: v7.4.5
changes:
- type: bug
text: "Handle unencrypted messages in subscribe with cryptoModule configured."
- type: bug
text: "Fixe for missing parameters to request or filter optional fields for App Context memberships api."
- date: 2023-11-14
version: v7.4.4
changes:
- type: bug
text: "Fixes issue of getChannelMembers call not returning status field."
- date: 2023-11-08
version: v7.4.3
changes:
- type: bug
text: "Fixes issue of not able to encrypt Blob file content in web."
- date: 2023-10-30
version: v7.4.2
changes:
- type: improvement
text: "Changed license type from MIT to PubNub Software Development Kit License."
- date: 2023-10-17
version: v7.4.1
changes:
- type: bug
text: "Fixes issue of `pubnub.decrypt()` returning wrong data format."
- date: 2023-10-16
version: v7.4.0
changes:
- type: feature
text: "Add crypto module that allows configure SDK to encrypt and decrypt messages."
- type: bug
text: "Improved security of crypto implementation by adding enhanced AES-CBC cryptor."
- date: 2023-09-11
version: v7.3.3
changes:
- type: bug
text: "Fixes issue of getting misleading error message when sendFile fails."
- date: 2023-08-31
version: v7.3.2
changes:
- type: bug
text: "Fixes issue of having deprecated superagent version."
- date: 2023-08-21
version: v7.3.1
changes:
- type: bug
text: "Fixes issue of missing get and set methods for userId field of PubNub configuration."
- date: 2023-07-26
version: v7.3.0
changes:
- type: bug
text: "Fixes issue of severe vulnerability warnings for vm2 usage."
- date: 2023-06-19
version: v7.2.3
changes:
- type: feature
text: "Added optional param `withHeartbeat` to set state through heartbeat endpoint."
- date: 2022-12-12
version: v7.2.2
changes:
- type: bug
text: "Fixes a case in React Native with using an error interface in superagent."
- type: bug
text: "Fixes issue of getFileUrl not setting auth value as token string when token is set."
- date: 2022-11-10
version: v7.2.1
changes:
- type: bug
text: "Removes remains of Buffer from the crypto module."
- date: 2022-07-01
version: v7.2.0
changes:
- type: feature
text: 'Allows to specify users and spaces in grantToken method.'
- type: feature
text: 'Allows to use userId instead of uuid in configuration.'
- date: 2022-06-22
version: v7.1.2
changes:
- type: bug
text: 'Fixes parseToken issues on Web and React Native.'
- date: 2022-06-14
version: v7.1.1
changes:
- type: feature
text: 'Added user and space memberships related methods.'
- type: feature
text: 'Added `type` and `status` fields in `User` and `Space`. `status` field in memberships.'
- date: 2022-05-24
version: v7.0.1
changes:
- type: bug
text: 'Fixes export issue for Node and update config for es module compatibility.'
- date: 2022-05-24
version: v7.0.0
changes:
- type: improvement
text: 'BREAKING CHANGES: Removed objects v1 methods support.'
- date: 2022-04-21
version: v6.0.0
changes:
- type: feature
text: 'Added a TypeScript build chain and moved from webpack to rollup.'
- type: feature
text: 'Added an initial implementation of Event Engine.'
- date: 2022-03-02
version: v5.0.1
changes:
- type: bug
text: 'Unsubscribe fix unsubscribe from channel group presence'
- date: 2022-01-12
version: v5.0.0
changes:
- type: improvement
text: 'BREAKING CHANGES: `uuid` is required parameter in PubNub constructor.'
- date: 2021-12-16
version: v4.37.0
changes:
- type: feature
text: 'Add revoke token feature.'
- date: 2021-12-09
version: v4.36.0
changes:
- type: bug
text: 'Remove isomorphic-webcrypto polyfill for web Add buffer polyfill to react native.'
- date: 2021-12-02
version: v4.35.0
changes:
- type: feature
text: 'Allows to specify multiple origins in the config, which enables domain sharding for custom origins.'
- date: 2021-12-01
version: v4.34.2
changes:
- type: bug
text: 'Fix listener callback is invoked multiple times.'
- date: 2021-11-19
version: v4.34.1
changes:
- type: bug
text: 'Update `.npmignore` and excluded resources from from NPM package.'
- date: 2021-11-19
version: v4.34.0
changes:
- type: feature
text: 'Upgrade superagent.'
- changes:
- text: 'Fixes issue of performing file publish message retry according to `fileUploadPublishRetryLimit` setting of PubNub instance.'
type: bug
date: 2021-10-18
version: v4.33.1
- changes:
- text: 'Added support for Objects v2 in PAM v3 api.'
type: feature
- text: 'Fixes issue related to file decryption when cipherkey is provided in method.'
type: bug
date: 2021-08-31
version: v4.33.0
- changes:
- text: 'Fixes issue of signature does not match error with `getAllUUIDMetadata` call.'
type: bug
- text: 'Error handling with global hereNow call to provide detailed error message when feature not enabled.'
type: bug
date: 2021-05-26
version: v4.32.1
- changes:
- text: 'Add grantToken support for channel and group resources.'
type: feature
date: 2021-04-28
version: v4.32.0
- changes:
- text: 'BREAKING CHANGE - Set `true` for `useRandomIVs` by default.'
type: improvement
- text: 'Fix `channel` and `uuid` which is used with: files API, Objects and presence.'
type: bug
date: 2021-04-22
version: v4.31.0
- changes:
- text: 'Revert v4.300.'
type: bug
date: 2021-03-30
version: v4.30.1
- changes:
- text: 'Set default increased limit for message count of History v3 api single call.'
type: improvement
date: 2021-01-11
version: v4.29.11
- changes:
- text: 'Fixes issue of missing more field in fetch messages response.'
type: bug
date: 2020-11-30
version: v4.29.10
- changes:
- text: 'Adds timetoken of file publish in the sendFile response.'
type: feature
- text: 'Fixes getFileUrl so that it includes auth and signature query params.'
type: bug
- text: 'Fixes downloadFile method to generate correct signature.'
type: bug
date: 2020-10-05
version: v4.29.9
- changes:
- text: 'Fixes compatibility with @sentry/react-native library.'
type: bug
date: 2020-09-21
version: v4.29.8
- changes:
- text: 'Added support for managing permissions of objects v2 while applying PAM v2.'
type: feature
- text: '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.'
type: bug
date: 2020-09-14
version: v4.29.7
- changes:
- text: 'Add file download to Blob in React Native.'
type: feature
date: 2020-09-08
version: v4.29.6
- changes:
- text: 'Add support for file upload via file URI in React Native.'
type: feature
- text: 'Fix file download to ArrayBuffer in React Native.'
type: bug
date: 2020-09-01
version: v4.29.5
- changes:
- text: 'Fixes an artifact where ract-native entrypoint didnt use ssl.'
type: bug
date: 2020-08-14
version: v4.29.4
- changes:
- text: 'Fixes an issue with react-native entrypoint where interfaces to File and Crypto are not included in the build.'
type: bug
- text: 'Fixes the ability to sendByPost in publish.'
type: bug
- text: 'Fixes an issue where getFileUrl returned and URI without a protocol.'
type: bug
- text: 'Fixes an issue where storeInHistory false would not include the param.'
type: bug
- text: 'Removes mime types dependency since that will be handled by the server.'
type: bug
- text: 'Adds userMetadata to file event listener.'
type: bug
date: 2020-08-14
version: v4.29.3
- changes:
- text: 'Move @babel/runtime to runtime dependency.'
type: bug
date: 2020-08-05
version: v4.29.2
- changes:
- text: 'Release 4.291.'
type: bug
date: 2020-08-04
version: v4.29.1
- changes:
- text: 'Allows to upload files to channels, download them with optional encryption support.'
type: feature
- text: 'Allows to enable random IVs when encrypting messages.'
type: feature
- text: 'Fixes a bug with PAM and Objects v2.'
type: bug
date: 2020-08-04
version: v4.29.0
- changes:
- text: 'Fixes issue of high cpu usage when heartbeat interval is not set.'
type: bug
date: 2020-07-15
version: v4.28.4
- changes:
- text: 'getAllChannelMetadata no longer includes customFields by default.'
type: bug
- text: 'removeChannelMetadata no longer hits wrong endpoint.'
type: bug
- text: 'getMemberships and getChannelMembers now includes customFields by default.'
type: bug
- text: 'getAllUUIDMetadata now includes totalCount by default.'
type: bug
- text: 'getAllUUIDMetadata no longer includes limit by default.'
type: bug
- text: 'all membership and channel members methods now accept a callback.'
type: bug
- text: 'all objects v2 methods are properly typed now to include an optional callback.'
type: bug
- text: 'getMemberships and getChannelMembers now include totalCount, prev, and next in the response.'
type: bug
date: 2020-07-15
version: v4.28.3
- changes:
- text: 'Fixes a bug in removeChannelMembers and removeMemberships.'
type: bug
date: 2020-06-29
version: v4.28.2
- changes:
- text: 'Ensure proper bytes padding in ArrayBuffer prepared for `cbor-js` library.'
type: bug
date: 2020-06-19
version: v4.28.1
- changes:
- text: 'Added Objects v2 API and deprecated Objects v1 API.'
type: feature
date: 2020-06-03
version: v4.28.0
- changes:
- text: 'Added support for delete permission in the grant method of accesses manager.'
type: feature
date: 2020-04-24
version: v4.27.6
- changes:
- text: 'Update READMEmd CDN links during deployment.'
type: bug
- text: 'Fix pre-compiled scripts update.'
type: bug
date: 2020-04-21
version: v4.27.5
- changes:
- text: 'Add telemetry (latency) for all existing operation types.'
type: feature
- text: 'Replace `cbor-sync` module with `cbor-js` for client implementation for web to fix compatibility with Salesforce Lightning Web Components.'
type: bug
date: 2020-03-18
version: v4.27.4
- changes:
- text: 'Support for APNS2 Push API'
type: improvement
- text: 'Restore functionality to set heartbeat interval when presence timeout is set below the default'
type: bug
date: 2020-01-06
version: v4.27.3
- changes:
- text: 'disable presence heartbeats by default'
type: bug
date: 2019-12-05
version: v4.27.2
- changes:
- text: "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)."
type: bug
- text: 'fix PAMv3 tests mocked signature'
type: improvement
- text: 'fix lint warnings for tests and code'
type: improvement
- text: 'fix gulp build so that failures in test and lint will trigger failure in travis'
type: improvement
date: 2019-11-20
version: v4.27.1
- changes:
- text: 'Add Message Actions API support which allow to: add, remove and fetch previously added actions'
type: feature
- text: 'Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata'
type: feature
- text: 'Add new handler which can be used to track message actions addition / removal events'
type: feature
date: 2019-10-08
version: v4.27.0
- changes:
- text: 'Ensures history response is an array before iterating it'
type: bug
date: 2019-09-27
version: v4.26.1
- changes:
- text: 'Add support for auth tokens with Objects for Users, Spaces and Memberships'
type: bug
date: 2019-09-20
version: v4.26.0
- changes:
- text: "Fix issue with subdomains ending in 'ps'"
type: bug
date: 2019-09-03
version: v4.25.2
- changes:
- text: 'Fix titanium build to support recent version'
type: bug
date: 2019-08-23
version: v4.25.1
- changes:
- text: 'Add Objects support for Users, Spaces and Memberships'
type: improvement
date: 2019-08-16
version: v4.25.0
- changes:
- text: "Fix regression: 'PubNub is not a constructor' in Node.js"
type: bug
date: 2019-08-09
version: v4.24.6
- changes:
- text: 'Add Signals support'
type: improvement
date: 2019-08-07
version: v4.24.5
- changes:
- text: 'Add minimum presence timeout'
type: improvement
date: 2019-07-26
version: v4.24.4
- changes:
- text: 'Added support to enable heartbeat requests while subscribe when heartbeat interval is provided'
type: improvement
date: 2019-06-19
version: v4.24.3
- changes:
- text: 'Added try catch block to handle exception for JSON.parse function'
type: improvement
- text: 'Updated default origin to ps.pndsn.com'
type: improvement
date: 2019-06-13
version: v4.24.2
- changes:
- text: 'Maintains the state when the presence heartbeat is explicitly disabled'
type: improvement
date: 2019-06-06
version: v4.24.1
- changes:
- text: 'Disables the presence heartbeat by default when a subscribe is called. Presence heartbeat can still be enabled explicitly.'
type: improvement
date: 2019-05-09
version: v4.24.0
- changes:
- text: "The `timetoken` parameter is deprecated in the `message-counts` function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results."
type: improvement
date: 2019-03-14
version: v4.23.0
- changes:
- text: 'message counts'
type: feature
- text: "use null instead of '' for NativeScript networking module"
type: improvement
date: 2019-03-04
version: v4.22.0
- changes:
- text: 'update dependencies'
type: improvement
- text: 'fix flow process on nativescript'
type: improvement
date: 2018-12-20
version: v4.21.7
- changes:
- text: 'fix POST for nativescript adapter over android'
type: bug
date: 2018-10-04
version: v4.21.6
- changes:
- text: 'update dependencies'
type: improvement
date: 2018-08-06
version: v4.21.5
- changes:
- text: 'return error parameter into errorData when logVerbosity = true'
type: improvement
date: 2018-08-04
version: v4.21.4
- changes:
- text: 'update dependencies'
type: improvement
date: 2018-07-10
version: v4.21.3
- changes:
- text: 'add stringifiedTimeToken into the fetch endpoint'
type: improvement
date: 2018-06-12
version: v4.21.2
- changes:
- text: 'avoid security vulnerability in growl < 1.10.0'
type: bug
date: 2018-06-08
version: v4.21.1
- changes:
- text: 'subscribe without using the heartbeat loop with flag withHeartbeats = false'
type: feature
date: 2018-06-06
version: v4.21.0
- changes:
- text: 'fix timetoken announces'
type: bug
- text: 'categorize ETIMEDOUT errors as PNNetworkIssuesCategory'
type: improvement
date: 2018-04-24
version: v4.20.3
- changes:
- text: 'fix signature to delete message'
type: bug
date: 2018-02-28
version: v4.20.2
- changes:
- text: 'allow set ssl to false for nodejs'
type: improvement
date: 2018-01-29
version: v4.20.1
- changes:
- text: 'add support for heartbeat sending without subscription via .presence()'
type: feature
- text: 'add method setProxy for Nodejs'
type: feature
- text: 'set ssl to true for nodejs by default'
type: feature
date: 2018-01-04
version: v4.20.0
- changes:
- text: 'add support for Native Script'
type: feature
- text: 'add missing flow types'
type: improvement
- text: 'upgrade superagent to ^3.8.1'
type: improvement
date: 2017-12-05
version: v4.19.0
- changes:
- text: 'keepAlive is now initialized globally instead of per-call, allowing better connection reuse'
type: improvement
- text: 'added sdkName configuration parameter which allow completely override pnsdk in request query'
type: feature
date: 2017-11-20
version: v4.18.0
- changes:
- text: 'allow disabling of heartbeats by passing 0 during initialization.'
type: improvement
date: 2017-10-19
version: v4.17.0
- changes:
- text: 'fix UUID library to work in browsers.'
type: bug
date: 2017-10-19
version: v4.16.2
- changes:
- text: 'fix incorrect packaging of lil-uuid and uuid'
type: bug
date: 2017-10-12
version: v4.16.1
- changes:
- text: 'support delete messages from history'
type: feature
- text: 'swap uuid generator with support for IE9 and IE10'
type: improvement
date: 2017-10-10
version: v4.16.0
- changes:
- text: 'fix typo to enable http keep alive support'
type: improvement
date: 2017-08-21
version: v4.15.1
- changes:
- text: 'Support optional message deduping via the dedupeOnSubscribe config'
type: improvement
- text: 'Do not issue leave events if the channel mix is empty.'
type: improvement
date: 2017-08-21
version: v4.15.0
- changes:
- text: 'Allow disable of heartbeats by passing heartbeatInterval = 0'
type: improvement
date: 2017-08-14
version: v4.14.0
- changes:
- text: 'patch up 503 reporting'
type: improvement
- text: 'fix issue with where now and invalid server response'
type: improvement
- text: 'fix issue with here now and invalid server response'
type: improvement
date: 2017-07-27
version: v4.13.0
- changes:
- text: 'fix issue of net with android for titanium'
type: improvement
- text: 'add additional hooks for connectivity'
type: feature
- text: 'add auto network detection'
type: feature
date: 2017-06-19
version: v4.12.0
- changes:
- text: 'fix issue of net with android for react-native'
type: improvement
date: 2017-05-23
version: v4.10.0
- changes:
- text: 'metadata is now passed on message envelope'
type: feature
date: ~
version: v4.9.2
- changes:
- text: 'add support custom encryption and decryption'
type: feature
date: 2017-05-18
version: v4.9.1
- changes:
- text: 'integrate fetch for react-native SDK'
type: feature
- text: 'announce when subscription get reactivated'
type: improvement
- text: 'stop heartbeats for responses with status PNBadRequestCategory'
type: improvement
date: ~
version: v4.9.0
- changes:
- text: 'allow manual control over network state via listenToBrowserNetworkEvents'
type: feature
date: 2017-04-06
version: v4.8.0
- changes:
- text: 'add support for titanium SDK'
type: feature
- text: 'fix support for react-native SDK'
type: improvement
- text: 'add validation for web distribution'
type: improvement
date: 2017-03-30
version: v4.7.0
- changes:
- text: 'add support for presence deltas.'
type: feature
- text: 'keep track of new and upcoming timetokens on status messages'
type: feature
date: 2017-03-27
version: v4.6.0
- changes:
- text: 'add optional support for keepAlive by passing the keepAlive config into the init logic'
type: feature
date: 2017-03-08
version: v4.5.0
- changes:
- text: 'add guard to check for channel or channel group on state setting'
type: improvement
- text: 'add guard to check for publish, secret keys when performing a grant'
type: improvement
date: 2017-02-14
version: v4.4.4
- changes:
- text: 'downgrade superagent to v2; add a new entry point for react native.'
type: improvement
date: 2017-02-07
version: v4.4.3
- changes:
- text: 'adjust compilation for webpack based compilations'
type: improvement
date: 2017-01-31
version: v4.4.2
- changes:
- text: 'proxy support for node'
type: improvement
date: 2017-01-31
version: v4.4.1
- changes:
- text: 'upgrade dependencies; fix up linting.'
type: improvement
- text: 'handle network outage cases for correct reporting.'
type: improvement
date: 2017-01-23
version: v4.4.0
- changes:
- text: 'bump version after v3 release.'
type: improvement
date: 2016-12-16
version: v4.3.3
- changes:
- text: 'removes bundling of package.json into the dist file'
type: improvement
date: 2016-11-28
version: v4.3.2
- changes:
- text: 'SDK now supports the restore config to allow message catch-up'
type: improvement
date: 2016-11-22
version: v4.3.1
- changes:
- text: 'bulk history exposed via pubnub.fetchMessages'
type: improvement
- text: 'publish supports custom ttl interval'
type: improvement
- text: 'v2 for audit and grant; no consumer facing changes.'
type: improvement
- text: 'fixes for param validation on usage of promises'
type: improvement
date: 2016-11-18
version: v4.3.0
- changes:
- text: 'SDK reports on the id of the publisher in the message'
type: improvement
date: 2016-11-04
version: v4.2.5
- changes:
- text: 'Detection of support of promises improved.'
type: improvement
date: 2016-11-01
version: v4.2.4
- changes:
- text: 'Fixes on encoding of apostrophes.'
type: improvement
date: 2016-11-01
version: v4.2.3
- changes:
- text: 'Add promise support on setState operation (@jskrzypek)'
type: improvement
- text: 'Add hooks to stop polling time when the number of subscriptions drops to 0 (@jasonpoe)'
type: improvement
date: 2016-10-31
version: v4.2.2
- changes:
- text: 'Encode signatures to avoid sending restricted characters'
type: improvement
date: 2016-10-30
version: v4.2.1
- changes:
- text: 'Add optional support for promises on all endpoints.'
type: improvement
- text: 'History always returns timetokens in the payloads.'
type: improvement
- text: 'Optionally, if queue size is set, send status on queue size threshold'
type: improvement
date: 2016-10-26
version: v4.2.0
- changes:
- text: 'Fix state setting for channels with reserved tags.'
type: improvement
date: 2016-10-17
version: v4.1.1
- changes:
- text: 'Reset timetoken when all unsubscribes happen'
type: improvement
- text: 'Sign requests when a a secret key is passed'
type: improvement
date: 2016-10-13
version: v4.1.0
- changes:
- text: 'Propagate status events to the status callback on subscribe operations.'
type: improvement
date: 2016-10-05
version: v4.0.13
- changes:
- text: 'affectedChannels and affectedChannelGroups are now populated on subscribe / unsubscribe events'
type: improvement
date: 2016-10-03
version: v4.0.12
- changes:
- text: 'Dependency upgrades'
type: improvement
date: 2016-09-27
version: v4.0.11
- changes:
- text: 'Expose decryption and encryption as a global'
type: improvement
date: 2016-09-14
version: v4.0.10
- changes:
- text: 'Channel / subscription items are populated in'
type: improvement
- text: 'Constants for operation and category are exposed on global object'
type: improvement
date: 2016-09-09
version: v4.0.9
- changes:
- text: 'Re-publish of v4.0.7'
type: improvement
date: 2016-08-25
version: v4.0.8
- changes:
- text: 'Dependency upgrades'
type: improvement
- text: 'Try..catch wrapped around localStorage for iframe compliance'
type: improvement
date: 2016-08-25
version: v4.0.7
- changes:
- text: 'Adjustment of reconnection policies for web distributions.'
type: improvement
- text: 'PNSDK support for partner identification'
type: improvement
date: 2016-08-18
version: v4.0.6
- changes:
- text: 'Stop exposing .babelrc which causes unpredictable behavior on react native.'
type: improvement
date: 2016-08-10
version: v4.0.5
- changes:
- text: 'Adjust handling of presence payloads for state settings.'
type: improvement
- text: 'Exposing generateUUID method to create uuids.'
type: feature
- text: 'Triggering disconnect, reconnect events on Web distributions.'
type: improvement
- text: 'React Native adjustments to package.json information.'
type: improvement
date: 2016-08-09
version: v4.0.4
- changes:
- text