Skip to content

Commit bd69c80

Browse files
authored
Emit PNDisconnectedUnexpectedlyCategory (#438)
feat(subscribe): emit `PNDisconnectedUnexpectedlyCategory` Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response. refactor(request): move deserialized error parse into abstract request Move error / malformed response handling into `AbstractRequest` to simplify actual endpoint classes.
1 parent 2a0535c commit bd69c80

File tree

135 files changed

+691
-1698
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+691
-1698
lines changed

.pubnub.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
changelog:
3+
- date: 2025-02-18
4+
version: v8.9.0
5+
changes:
6+
- type: feature
7+
text: "Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response."
8+
- type: improvement
9+
text: "Move error / malformed response handling into `AbstractRequest` to simplify actual endpoint classes."
310
- date: 2025-02-10
411
version: v8.8.1
512
changes:
@@ -1137,7 +1144,7 @@ supported-platforms:
11371144
- 'Ubuntu 14.04 and up'
11381145
- 'Windows 7 and up'
11391146
version: 'Pubnub Javascript for Node'
1140-
version: '8.8.1'
1147+
version: '8.9.0'
11411148
sdks:
11421149
- full-name: PubNub Javascript SDK
11431150
short-name: Javascript
@@ -1153,7 +1160,7 @@ sdks:
11531160
- distribution-type: source
11541161
distribution-repository: GitHub release
11551162
package-name: pubnub.js
1156-
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.8.1.zip
1163+
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.9.0.zip
11571164
requires:
11581165
- name: 'agentkeepalive'
11591166
min-version: '3.5.2'
@@ -1824,7 +1831,7 @@ sdks:
18241831
- distribution-type: library
18251832
distribution-repository: GitHub release
18261833
package-name: pubnub.js
1827-
location: https://github.com/pubnub/javascript/releases/download/v8.8.1/pubnub.8.8.1.js
1834+
location: https://github.com/pubnub/javascript/releases/download/v8.9.0/pubnub.8.9.0.js
18281835
requires:
18291836
- name: 'agentkeepalive'
18301837
min-version: '3.5.2'

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## v8.9.0
2+
February 18 2025
3+
4+
#### Added
5+
- Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response.
6+
7+
#### Modified
8+
- Move error / malformed response handling into `AbstractRequest` to simplify actual endpoint classes.
9+
110
## v8.8.1
211
February 10 2025
312

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.8.1.js
32-
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.8.1.min.js
31+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.9.0.js
32+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.9.0.min.js
3333
3434
2. Configure your keys:
3535

0 commit comments

Comments
 (0)