Skip to content

Tags: pubnub/javascript

Tags

v12.0.3

Toggle v12.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix/unbound fetch (#505)

* bind fetch to globalThis

* lib/dist update

* PubNub SDK v12.0.3 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>

v12.0.2

Toggle v12.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix/webtransportation-getOriginalFetch (#504)

* webTransport: updated getOriginalFetch() to return fetch for domless context like MV3 services, added checks before calling methods on windows for pagehide to prevent exceptions.

* lib updates

* resolve conflics of dist files.

* PubNub SDK v12.0.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>

v12.0.1

Toggle v12.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: various fixes for log information, cryptomodule, deprecation war…

…nings (#503)

* fix: file name which can be a path value should be encoded. to avoid any potential path traversal attack.
added tests for the same wherever the user can provide file id/name inputs

* fix: omit crypto module configuration related sensitive key configurations from being logged,
added deprection warning on LegacyCryptoModule to aware user of potential risk,
additional recommanation for using aesCbcCryptor for cryptography.

* lib/dist and pakcage-lock updates

* lint fixes for max length

* PubNub SDK v12.0.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>

v12.0.0

Toggle v12.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor/node-transport-undici (#500)

* migrate to undici v6.x

* pin undici 7.27.2 as v8 dispatcher is incompatible with the runtimes build in fetch and raise engines node to leat LTS 22 version
single AbortSignal owns request timeout; disable undici internal headers/body/connect timeouts for parity
restore node-fetch error categorisation UND_ERR_ TIMEOUT, AggregateError unwrap
log ALPN-negotiated protocol via a custom connector
match keepAlive false TCP-keepalive behaviour
bump CI matrix to Node 22 and 24

* lib updates

* bump code snippet run time node version to 22

* logger changes for printing http protocol details when available with node transport.

* making `react-native-url-polyfill` as optional dependency because its required only for React Native target

* upgrade undici to v7.28

* PubNub SDK v12.0.0 release.

* chores: `README`, `CODEOWNERS` updates

---------

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>

v11.0.2

Toggle v11.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix/exponential retry policy (#499)

* fix: exponential retry policy delay calculation should always respect minimum configured delay

* dist/lib updates

* PubNub SDK v11.0.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>

v11.0.1

Toggle v11.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
upgarde transitive deps/ Synk reported potential vulnerability for ba…

…sic-ftp transitive dependency (#497)

* deps override, since upgrading proxy agent to v7 wont fix the potential vulnerability, v8 is esm only which requires some woraround for module compatibility.

* update coderabbit configuration as per new schema validation rules at v2

* package-lock to have safe version of basic-ftp at get-uri

* PubNub SDK v11.0.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>

v11.0.0

Toggle v11.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: enableEventEngine, restore set default (#495)

* set enableEventEngine to true, restore flag to true by default,
fix titanium test to equate expected operation type

* update subscription_manager: to disable ee, because those tests are subscription_manager component specific,
update subscribe tests to in corporate ee changes where EE discard `m` field for handshake, and make presence heartbeat whenever subscribe call made, additional mock request infering to EE http requests

* test(time): when ee enabled, the network layer retry kick in with default retry policy, which delayes the failure and hits timeout for failure time call test using mock,
unsubscribe.test.ts expects no leave call in certain scenario which is changed intentionally with event engine.

* refactor: validation for retry-configuration does not cap maximum retry values

* integrate codeRabbit

* chore: coderabbit change to not add high level summary

* dist/lib updates

* mark diconnect and receive failure as subscribe operation type.

* PubNub SDK v11.0.0 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.9

Toggle v10.2.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(types): add missing `listenToBrowserNetworkEvents` config option (#…

…493)

* fix(types): add missing `listenToBrowserNetworkEvents` config option

* PubNub SDK v10.2.9 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.8

Toggle v10.2.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix FCM Push notification payload structure (#492)

* fix FCM Push notification payload structure difference from firebase recommanded way

* fix import and ts error for push payload

* update package-lock.json for basic-ftp version upgrade

* refactor the push_payload types as per review comment

* updated types for push_payload builder

* update FCM builder.toObject() for silent notification to add fields in `data` key.

* PubNub SDK v10.2.8 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.7

Toggle v10.2.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
React native/files types (#490)

* added ReadableFile types filedata for react native target to use durin files operations

* fix minor lint

* PubNub SDK v10.2.7 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>