Skip to content

Commit 26f3d2d

Browse files
committed
Merge branch 'master' into CLEN-2301
2 parents c607f93 + c47f202 commit 26f3d2d

File tree

14 files changed

+32
-29
lines changed

14 files changed

+32
-29
lines changed

.github/workflows/commands-handler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Process command
1313
if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true
1414
runs-on:
15-
group: Default
15+
group: organization/Default
1616
steps:
1717
- name: Check referred user
1818
id: user-check

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Check release required
1111
if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true
1212
runs-on:
13-
group: Default
13+
group: organization/Default
1414
outputs:
1515
release: ${{ steps.check.outputs.ready }}
1616
steps:
@@ -31,7 +31,7 @@ jobs:
3131
needs: check-release
3232
if: needs.check-release.outputs.release == 'true'
3333
runs-on:
34-
group: Default
34+
group: organization/Default
3535
steps:
3636
- name: Checkout repository
3737
uses: actions/checkout@v4

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
tests:
2222
name: Integration and Unit tests
2323
runs-on:
24-
group: Default
24+
group: organization/Default
2525
strategy:
2626
fail-fast: true
2727
matrix:
@@ -56,7 +56,7 @@ jobs:
5656
all-tests:
5757
name: Tests
5858
runs-on:
59-
group: Default
59+
group: organization/Default
6060
needs: [tests]
6161
steps:
6262
- name: Tests summary

.github/workflows/run-validations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pubnub-yml:
1515
name: 'Validate .pubnub.yml'
1616
runs-on:
17-
group: Default
17+
group: organization/Default
1818
steps:
1919
- name: Checkout project
2020
uses: actions/checkout@v4
@@ -35,7 +35,7 @@ jobs:
3535
all-validations:
3636
name: Validations
3737
runs-on:
38-
group: Default
38+
group: organization/Default
3939
needs: [pubnub-yml]
4040
steps:
4141
- name: Validations summary

.pubnub.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22
changelog:
3+
- date: 2024-10-25
4+
version: v8.2.9
5+
changes:
6+
- type: bug
7+
text: "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)."
38
- date: 2024-09-30
49
version: v8.2.8
510
changes:
@@ -1036,7 +1041,7 @@ supported-platforms:
10361041
- 'Ubuntu 14.04 and up'
10371042
- 'Windows 7 and up'
10381043
version: 'Pubnub Javascript for Node'
1039-
version: '8.2.8'
1044+
version: '8.2.9'
10401045
sdks:
10411046
- full-name: PubNub Javascript SDK
10421047
short-name: Javascript
@@ -1052,7 +1057,7 @@ sdks:
10521057
- distribution-type: source
10531058
distribution-repository: GitHub release
10541059
package-name: pubnub.js
1055-
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.2.8.zip
1060+
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.2.9.zip
10561061
requires:
10571062
- name: 'agentkeepalive'
10581063
min-version: '3.5.2'
@@ -1723,7 +1728,7 @@ sdks:
17231728
- distribution-type: library
17241729
distribution-repository: GitHub release
17251730
package-name: pubnub.js
1726-
location: https://github.com/pubnub/javascript/releases/download/v8.2.8/pubnub.8.2.8.js
1731+
location: https://github.com/pubnub/javascript/releases/download/v8.2.9/pubnub.8.2.9.js
17271732
requires:
17281733
- name: 'agentkeepalive'
17291734
min-version: '3.5.2'

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v8.2.9
2+
October 25 2024
3+
4+
#### Fixed
5+
- 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).
6+
17
## v8.2.8
28
September 30 2024
39

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Watch [Getting Started with PubNub JS SDK](https://app.dashcam.io/replay/64ee0d2
2828
npm install pubnub
2929
```
3030
* or download one of our builds from our CDN:
31-
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.8.js
32-
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.8.min.js
31+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.9.js
32+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.9.min.js
3333
3434
2. Configure your keys:
3535

dist/web/pubnub.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,10 +2916,7 @@
29162916
message = 'Network issues';
29172917
}
29182918
else if (errorName === 'TypeError') {
2919-
if (message.indexOf('Load failed') !== -1 || message.indexOf('Failed to fetch') != -1)
2920-
category = StatusCategory$1.PNTimeoutCategory;
2921-
else
2922-
category = StatusCategory$1.PNBadRequestCategory;
2919+
category = StatusCategory$1.PNBadRequestCategory;
29232920
}
29242921
else if (errorName === 'FetchError') {
29252922
const errorCode = error.code;
@@ -3951,7 +3948,7 @@
39513948
return base.PubNubFile;
39523949
},
39533950
get version() {
3954-
return '8.2.8';
3951+
return '8.2.9';
39553952
},
39563953
getVersion() {
39573954
return this.version;

dist/web/pubnub.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/configuration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const makeConfiguration = (base, setupCryptoModule) => {
112112
return base.PubNubFile;
113113
},
114114
get version() {
115-
return '8.2.8';
115+
return '8.2.9';
116116
},
117117
getVersion() {
118118
return this.version;

0 commit comments

Comments
 (0)