Skip to content

Releases: pubnub/javascript

v10.0.0

18 Sep 09:41
9c66040
Compare
Choose a tag to compare

September 18 2025

Added

  • BREAKING CHANGES: Add 'limit' and 'offset' parameters for 'HereNowRequest' for pagination support.

v9.10.0

09 Sep 11:00
84caf59
Compare
Choose a tag to compare

September 09 2025

Added

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

Fixed

  • Fix issue because of which requests aggregated from other clients were able to override previously explicitly set newer access token.

Modified

  • Remove presence state from long-poll subscribe requests as part of the transition to explicit heartbeat.

v9.9.0

25 Aug 13:00
30dbcd3
Compare
Choose a tag to compare

August 25 2025

Fixed

  • Resolved the issue because of which requests that were too early received a response and still have been sent.

Modified

  • Decouple and re-organize SharedWorker code for better maintainability.
  • Additional query parameter (removed before sending) is added for requests triggered by user and state will be updated only for these requests.
  • Log entry timestamp will be altered on millisecond if multiple log entries have similar timestamp (logged in fraction of nanoseconds).
  • 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.

v9.8.4

07 Aug 15:23
28c82ea
Compare
Choose a tag to compare

August 07 2025

Fixed

  • Resolved an issue that prevented access to static fields of the PubNub class when using the SDK in React Native target builds.

v9.8.3

28 Jul 17:43
8d6f94e
Compare
Choose a tag to compare

July 28 2025

Modified

  • Update workflow with id-token: write permission for AWS CLI configuration.

v9.8.1

15 Jul 20:46
b1a9f06
Compare
Choose a tag to compare

July 15 2025

Fixed

  • 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.
  • Fix the issue because of which all subscriptions of the subscription set have been requested to handle the received event.

v9.8.0

11 Jul 14:30
8bf3d6f
Compare
Choose a tag to compare

July 11 2025

Added

  • Depending on client configuration, it will emit status for heartbeat, which has been started by the SharedWorker backup heartbeat timer mechanism.
  • Stop heartbeats until the auth key / access token is changed. On change, SharedWorker will send an immediate heartbeat request.

Fixed

  • 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.
  • Fix the issue because of which rapid subscription (from other PubNub clients in response to received subscribe response) throttling causes delayed channel list change.

Modified

  • Restart the timer of the backup heartbeat if an explicit heartbeat request has been received from the main PubNub client.
  • 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).

v9.7.0

30 Jun 15:11
d44662b
Compare
Choose a tag to compare

June 30 2025

Added

  • Launch a backup heartbeat timer per registered PubNub instance in SharedWorker context to protect against browsers throttling of background (hidden) tabs.

Fixed

  • Fix issue because of which in new flow heartbeat request not cancelled properly when issued in burst.
  • Fix issue because resource names, which consist only of integers, have been decoded as Unicode characters.
  • 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.

Modified

  • Use string names of classes for locations instead of dynamic access to constructor names because it affect how logs looks like after minification.

v9.6.2

30 Jun 06:10
8bf31a4
Compare
Choose a tag to compare

June 30 2025

Modified

  • Removed deprecation warning from deleteMessages method.
  • Added code snippets for docs.

v9.6.1

18 Jun 15:00
913ebaf
Compare
Choose a tag to compare

June 18 2025

Fixed

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

Modified

  • Make leeway depending from the minimal heartbeat interval (5% from it) to filter out too rapid heartbeat calls.