Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
changelog:
- date: 2026-03-16
version: v10.2.9
changes:
- type: bug
text: "Added missing property `listenToBrowserNetworkEvents` to type definition file."
- date: 2026-03-10
version: v10.2.8
changes:
Expand Down Expand Up @@ -1394,7 +1399,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '10.2.8'
version: '10.2.9'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -1410,7 +1415,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v10.2.8.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v10.2.9.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -2081,7 +2086,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v10.2.8/pubnub.10.2.8.js
location: https://github.com/pubnub/javascript/releases/download/v10.2.9/pubnub.10.2.9.js
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v10.2.9
March 16 2026

#### Fixed
- Added missing property `listenToBrowserNetworkEvents` to type definition file.

## v10.2.8
March 10 2026

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Watch [Getting Started with PubNub JS SDK](https://app.dashcam.io/replay/64ee0d2
npm install pubnub
```
* or download one of our builds from our CDN:
* https://cdn.pubnub.com/sdk/javascript/pubnub.10.2.8.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.10.2.8.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.10.2.9.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.10.2.9.min.js
2. Configure your keys:
Expand Down
2 changes: 1 addition & 1 deletion dist/web/pubnub.js
Original file line number Diff line number Diff line change
Expand Up @@ -5438,7 +5438,7 @@
return base.PubNubFile;
},
get version() {
return '10.2.8';
return '10.2.9';
},
getVersion() {
return this.version;
Expand Down
2 changes: 1 addition & 1 deletion dist/web/pubnub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core/components/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const makeConfiguration = (base, setupCryptoModule) => {
return base.PubNubFile;
},
get version() {
return '10.2.8';
return '10.2.9';
},
getVersion() {
return this.version;
Expand Down
10 changes: 10 additions & 0 deletions lib/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2667,6 +2667,16 @@ declare namespace PubNub {
* @default `false`
*/
autoNetworkDetection?: boolean;
/**
* If the browser fails to detect the network changes from Wi-Fi to LAN and vice versa, or you
* get reconnection issues, set the flag to `false`. This allows the SDK reconnection logic to
* take over.
*
* **Note:** This option is available only in the **browser** environment.
*
* @default `true`
*/
listenToBrowserNetworkEvents?: boolean;
/**
* Whether to use the standardized workflows for subscribe and presence.
*
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pubnub",
"version": "10.2.8",
"version": "10.2.9",
"author": "PubNub <support@pubnub.com>",
"description": "Publish & Subscribe Real-time Messaging with PubNub",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const makeConfiguration = (
return base.PubNubFile;
},
get version(): string {
return '10.2.8';
return '10.2.9';
},
getVersion(): string {
return this.version;
Expand Down
11 changes: 11 additions & 0 deletions src/core/interfaces/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,17 @@ export type UserConfiguration = {
*/
autoNetworkDetection?: boolean;

/**
* If the browser fails to detect the network changes from Wi-Fi to LAN and vice versa, or you
* get reconnection issues, set the flag to `false`. This allows the SDK reconnection logic to
* take over.
*
* **Note:** This option is available only in the **browser** environment.
*
* @default `true`
*/
listenToBrowserNetworkEvents?: boolean;

/**
* Whether to use the standardized workflows for subscribe and presence.
*
Expand Down
Loading