Skip to content

Releases: pubnub/javascript

v8.3.2

12 Dec 09:18
d9af3ec
Compare
Choose a tag to compare

December 12 2024

Fixed

  • Fix issue with Subscription and SubscriptionSet when one can unsubscribe channel / group which is still in use by another.
  • 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.
  • Fix issue because of which node-fetch used default agent, which after Node.js 19+ has keepAlive enabled by default.

v8.3.1

18 Nov 15:01
cf5aa71
Compare
Choose a tag to compare

November 18 2024

Fixed

  • Fix issue because of which presence events not delivered to the Subscription and SubscriptionSet objects (only global listeners).

v8.3.0

14 Nov 15:52
2b523b2
Compare
Choose a tag to compare

November 14 2024

Added

  • Add custom message type support for the following APIs: publish, signal, share file, subscribe and history.

v8.2.10

31 Oct 19:58
66520c2
Compare
Choose a tag to compare

October 31 2024

Fixed

  • Fix Actions type definition.

Modified

  • Remove indexed signature for publish.
  • Add serializable objects to Payload type.
  • Aggregate generated types definitions.
  • 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. Fixed the following issues reported by @yo1dog: #407.
  • Remove redundant indexed signature from publish message parameters type definition. Fixed the following issues reported by @yo1dog: #413.
  • Extend Payload type definition with objects which can be serialized by JSON.stringify using toJSON() methods. Fixed the following issues reported by @yo1dog: #412.
  • Aggregate multiple types definitions into single type definition type with proper type names and namespaces. Fixed
    the following issues reported by @Tallyb and @yo1dog: #405 and #409 and #410.
  • Add the Subscribe Event Engine and Event Listener types to the bundled types definition file. Fixed the following
    issues reported by @roman-rr: #377.

v8.2.9

25 Oct 08:54
c47f202
Compare
Choose a tag to compare

October 25 2024

Fixed

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

v8.2.8

30 Sep 23:34
0beda2c
Compare
Choose a tag to compare

September 30 2024

Fixed

  • Fix issue because of which leave request modified wrong URL path component with actual channels.
  • Fix issue because of which removed channels / groups didn't cancel previous subscribe request to re-subscribe with new set of channels / groups.
  • 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.

Modified

  • 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).
  • Point to the built-in types definition file when package used with npm / yarn.

v8.2.7

01 Aug 08:39
ba45db4
Compare
Choose a tag to compare

August 01 2024

Fixed

  • Fix issue because of which timeout enforced by browser triggered wrong error status category. Fixed the following issues reported by @WalrusSoup: #396.

v8.2.6

23 Jul 13:13
44f9d6c
Compare
Choose a tag to compare

July 23 2024

Fixed

  • Resolves the issue of manually included presence channels not being unsubscribed from the subscription set. Fixed the following issues reported by @roman-rr: #390.

v8.2.5

18 Jul 13:03
e8b2256
Compare
Choose a tag to compare

July 18 2024

Modified

  • Fix PubNub client configuration and listener documentation.

v8.2.4

17 Jun 14:01
5dc7ec7
Compare
Choose a tag to compare

June 17 2024

Fixed

  • Subscription/SubscriptionSet's subscribe() method accepts timetoken parameter. Instead as in subscriptionOption.