Skip to content

Commit

Permalink
Migrate to SharedWorker (#371)
Browse files Browse the repository at this point in the history
feat(shared-worker): migrate to shared worker

Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback.

feat(shared-worker): add worker log verbosity flag

Add configuration option to enable debug log output from the subscription `SharedWorker`.

refactor: add declarations generation

Create types declaration files.
  • Loading branch information
parfeon authored May 16, 2024
1 parent 3fff075 commit 5607747
Show file tree
Hide file tree
Showing 359 changed files with 15,477 additions and 1,196 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"parser" : "typescript",
"semi": true,
"printWidth": 120,
"singleQuote": true,
Expand Down
15 changes: 12 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
---
changelog:
- date: 2024-05-16
version: v8.1.0
changes:
- type: feature
text: "Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback."
- type: feature
text: "Add configuration option to enable debug log output from the subscription `SharedWorker`."
- type: improvement
text: "Create types declaration files."
- date: 2024-04-23
version: v8.0.1
changes:
Expand Down Expand Up @@ -972,7 +981,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '8.0.1'
version: '8.1.0'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -988,7 +997,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.0.1.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.1.0.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -1659,7 +1668,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v8.0.1/pubnub.8.0.1.js
location: https://github.com/pubnub/javascript/releases/download/v8.1.0/pubnub.8.1.0.js
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## v8.1.0
May 16 2024

#### Added
- Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback.
- Add configuration option to enable debug log output from the subscription `SharedWorker`.

#### Modified
- Create types declaration files.

## v8.0.1
April 23 2024

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,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.8.0.1.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.0.1.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.1.0.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.1.0.min.js
2. Configure your keys:
Expand Down
Loading

0 comments on commit 5607747

Please sign in to comment.