Skip to content

Tags: pubnub/javascript

Tags

v10.2.5

Toggle v10.2.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
react-native: use fast-text-encoding and remove outdated text-encodin…

…g polyfill (#487)

* use `fast-text-encoding` for react native instead outdated `fast-encoding`

* PubNub SDK v10.2.5 release.

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>

v10.2.4

Toggle v10.2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: avoid re subscribe for already subscribed entities (#486)

* refactor: prevent event engine state transition when subsequent subscribe request contain existing channels or groups

* lib/dist updates

* refactor: remove filter for presence channels from subscriptionChanged status event in re-subscribe scenario

* PubNub SDK v10.2.4 release.

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>

v10.2.3

Toggle v10.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enforce `fetch` APM protection (#485)

refactor(web-transport): enforce `fetch` APM protection

Enforce use of the `fetch` function from the context, which is not affected by APM monkey patching.

v10.2.2

Toggle v10.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor/use 'fcm' instead 'gcm' for push notification service (#484)

* replace `gcm` with `fcm` for push notification gateway type. since google stopped supporting gcm

* replaced `pn_gcm` with `pn_fcm` for push notification payload builder utility

* update lib and dist

* PubNub SDK v10.2.2 release.

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>

v10.2.1

Toggle v10.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: expose File construct for web target (#483)

* expose pubnub.File for target specific file handling construct

* test for web to confirm access to File

* update dist/lib

* update .npmignore

* PubNub SDK v10.2.1 release.

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>

v10.2.0

Toggle v10.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `offset` parameter for `here now` (#482)

feat(here-now): add `offset` parameter for `here now`

Add a zero-based `offset` index parameter to be used together with `limit` for `here now`
pagination.

v10.1.0

Toggle v10.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: presence event engine internal state sync (#479)

fix: presence event engine internal state sync when unsubscribed

feat(react-native) restore legacy crypto module support for React Native target

refactor(presence): temporarily remove `offset`

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MBP.lan>
Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
Co-authored-by: Serhii Mamontov <sergey@pubnub.com>

v10.0.0

Toggle v10.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `limit` and `offset` parameters (#477)

feat(here-now): add `limit`` and `offset`` parameters

Add 'limit' and 'offset' parameters for 'HereNowRequest' for pagination support.

v9.10.0

Toggle v9.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Send new presence `state` to the `SharedWorker` and fix newer access …

…token override (#473)

fix(shared-worker): fix newer access token override

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

feat(presence-state): send new presence `state` to the `SharedWorker`

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.

refactor(shared-worker): exclude presence `state` from long-poll subscribe request

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

v9.9.0

Toggle v9.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
`SharedWorker` refactor (#471)

refactor(shared-worker): reorganize `SharedWorker` code

Decouple and re-organize `SharedWorker` code for better maintainability.

perf(shared-worker): improved subscription state refresh logic

Additional query parameter (removed before sending) is added for requests triggered by user and
state will be updated only for these requests.

refactor(logger): avoid similar timestamp in sequential lines

Log entry timestamp will be altered on millisecond if multiple log entries have similar
timestamp (logged in fraction of nanoseconds).

refactor(shared-worker): change condition for stalled `ping` timer

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.

---------

Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>