Releases: pubnub/javascript
Releases · pubnub/javascript
v10.2.4
v10.2.3
November 20 2025
Modified
- Enforce use of the
fetchfunction from the context, which is not affected by APM monkey patching.
v10.2.2
November 19 2025
Modified
- Replace
gcmwithfcmfor push notification gateway type.
v10.2.1
November 10 2025
Modified
- Expose
Fileon pubnub instance to manually create supported File construct.
v10.2.0
November 02 2025
Added
- Add a zero-based
offsetindex parameter to be used together withlimitforhere nowpagination.
v10.1.0
September 30 2025
Added
- Reintroduced legacy encryption and decryption functions for the React Native target to ensure backward compatibility. This change merges PR #476. Fixed the following issues reported by @nholik: #474.
Fixed
- Resolves issue where presence heartbeat channels/groups sets were out of sync.
Modified
- Temporarily remove the
offsetparameter until implementation synchronization across SDKs is completed.
v10.0.0
September 18 2025
Added
- BREAKING CHANGES: Add 'limit' and 'offset' parameters for 'HereNowRequest' for pagination support.
v9.10.0
September 09 2025
Added
- Send new presence
stateto theSharedWorkeras soon as it has been set withsetStateto avoid race conditions between regular heartbeats andbackupheartbeats.
Fixed
- Fix issue because of which requests aggregated from other clients were able to override previously explicitly set newer access token.
Modified
- Remove presence
statefrom long-poll subscribe requests as part of the transition to explicit heartbeat.
v9.9.0
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
SharedWorkercode 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
offlinedetection timer has been suspended by the browser or not before trying to evict "offline" PubNub clients.
v9.8.4
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.