Skip to content

Releases: pubnub/javascript

v9.3.2

31 Mar 16:36
f1397e8
Compare
Choose a tag to compare

March 31 2025

Fixed

  • Fix missing heartbeat and leave REST API calls when the event engine is enabled and presenceTimeout or heartbeatInterval not set.

v9.3.1

25 Mar 11:27
c51bb05
Compare
Choose a tag to compare

March 25 2025

Fixed

  • Fix issue because of which channels and groups aggregated inside PubNub client state objects and didn't clean up properly on unsubscribe / invalidate.

v9.3.0

20 Mar 13:16
71ba3a1
Compare
Choose a tag to compare

March 20 2025

Added

  • Remove minimum limit for presence timeout (was 20 seconds) to make it possible specify shorter intervals.

Fixed

  • Fix issue because of which channels not aggregated and caused separate heartbeat requests.

v9.2.0

19 Mar 11:24
36e0ec3
Compare
Choose a tag to compare

March 19 2025

Added

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

Fixed

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

v9.1.0

13 Mar 15:04
e80c970
Compare
Choose a tag to compare

March 13 2025

Added

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

Fixed

  • Fix issue because of errors returned by fetch taken from iframe (to protect against monkey-patching by APM packages) was't handled as Error.

Modified

  • Use access token (auth key) content instead of base64 encoded token to identify PubNub clients, which can be used for requests aggregation.

v9.0.0

10 Mar 10:21
61a55e7
Compare
Choose a tag to compare

March 10 2025

Added

  • BREAKING CHANGES: SubscriptionSet will subscribe / unsubscribe added / removed Subscription or SubscriptionSet objects if the set itself already subscribed.

Fixed

  • 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).
  • With the fix, smart heartbeat as feature has been added to the SDK, and it is disabled by default.

v8.10.0

06 Mar 09:02
0cbe409
Compare
Choose a tag to compare

March 06 2025

Added

  • Add useSmartHeartbeat configuration option which allows ignoring implicit heartbeat (with successful subscribe response) and keep sending heartbeat calls with fixed intervals.
  • subscriptionWorkerOfflineClientsCheckInterval configuration option can be used to configure the interval at which “offline” PubNub clients (when tab closed) detection will be done.
  • subscriptionWorkerUnsubscribeOfflineClients configuration option can be used to force unsubscribe (presence leave) for “offline” PubNub clients (when tab closed).

v8.9.1

26 Feb 08:39
b36cf02
Compare
Choose a tag to compare

February 26 2025

Fixed

  • Fix issue because of which code doesn't handle edge case when fetch reject with empty object and not Error.

Modified

  • Remove -pnpres channels and groups from presence leave and heartbeat requests.

v8.9.0

18 Feb 14:10
bd69c80
Compare
Choose a tag to compare

February 18 2025

Added

  • Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response.

Modified

  • Move error / malformed response handling into AbstractRequest to simplify actual endpoint classes.

v8.8.1

10 Feb 10:22
2a0535c
Compare
Choose a tag to compare

February 10 2025

Fixed

  • Fix issue because of which APM fix worked only when the client has been configured with logVerbosity: true.