Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
0c83fb4
pre-requisites for data_sync: handle error array during exceptional c…
May 22, 2026
5502af9
data-sync: channel endpoint apis
May 22, 2026
ea6da83
data-sync:user endpoint apis
May 22, 2026
f128cbc
data-sync:membership endpoint apis
May 22, 2026
fbe3e3c
data-sync: entity endpoint apis
May 22, 2026
8734092
data-sync: entity-relationship endpoint apis
May 22, 2026
1843165
data-sync: apis domain object export, added operation constants, type…
May 22, 2026
7a5a27f
updated dist/lib and codeowner files.
May 22, 2026
e82c07a
fix lint
May 22, 2026
f57123e
Fix CODEOWNERS syntax for jguz-pubnub
mohitpubnub May 22, 2026
3876080
dataSync relationship api for getAll should have class and version in…
May 27, 2026
adbfa29
sync package.json with latest
May 28, 2026
fd1b9e4
fix type definition for getAllRelationships
May 28, 2026
66391b4
Merge branch 'master' into CLEN-3438
mohitpubnub Jun 9, 2026
97152c2
Merge branch 'master' into CLEN-3438
mohitpubnub Jun 25, 2026
4be5002
datasync event handling, grantToken update for datasync permissions
Jul 10, 2026
25eb24d
remove `idempotencyKey` from datasync apis
Jul 21, 2026
f51c1dc
Merge branch 'master' into CLEN-3438
mohitpubnub Jul 21, 2026
6d2d137
lint fixes
Jul 22, 2026
2d6a210
Merge branch 'master' into CLEN-3438
mohitpubnub Jul 23, 2026
c5be680
handling user/channel/membership events in subscription
Jul 23, 2026
8d7f54f
lib files
Jul 23, 2026
7fa7586
dist/lib updates
Jul 23, 2026
2bf1a75
refactor: dataSync apis signature update to improve user experience b…
Jul 27, 2026
0c50646
lint fixes
Jul 27, 2026
82d6083
DATA_SYNC_MODULE environment variable based module load for dataSync …
Jul 27, 2026
be57bd3
Merge branch 'master' into CLEN-3438
mohitpubnub Jul 27, 2026
7e55c5c
dataSync updates: refined method naming convention consistent as per …
mohitpubnub Aug 17, 2026
a35c647
dist and lib files updates
mohitpubnub Aug 17, 2026
25b0586
parseToken to parse users permissions, fix stale test failures of gra…
mohitpubnub Aug 17, 2026
aa34aeb
re-worked update methods added JSDoc for json pointer usage
mohitpubnub Aug 18, 2026
90efcf4
JSDoc with more details on how to use patch (update) apis with json p…
mohitpubnub Aug 19, 2026
f5c5dd4
event listener: unknown event handling - not listener invoked when ev…
mohitpubnub Sep 3, 2026
e02122c
support for dataSync subscribable objects
mohitpubnub Sep 3, 2026
e35271b
build: bump undici version, to address potential vulnerabilities.
mohitpubnub Sep 3, 2026
2e7181f
fix syntax error TS2527 for subscribable type
mohitpubnub Sep 3, 2026
f8425b7
filter parameter renaming for dataSync get apis
mohitpubnub Sep 3, 2026
fe94998
description change for sort param in dataSync
mohitpubnub Sep 3, 2026
6b926d4
TEST(dataSync): channels crud, projection tests added and test helpers.
mohitpubnub Sep 4, 2026
9381d57
refactor(retry-decision): moved status code based retry decision to s…
mohitpubnub Sep 7, 2026
6aa30c3
dataSync error normalised with pubnub-api-error convention, instead c…
mohitpubnub Sep 7, 2026
7131213
PAM extension (refactor): unified permission extraction method at tok…
mohitpubnub Sep 7, 2026
8d41e08
dataSync fixes - getUsers, getChannels, getEntities support class, cl…
mohitpubnub Sep 7, 2026
0309c98
dataSync type definition update: expiresAt is mandatory field receive…
mohitpubnub Sep 7, 2026
80c5f22
test(PAM): access manager test updates with additional validation
mohitpubnub Sep 7, 2026
06385c2
test(dataSync subscription): dataSync entity subscription based refer…
mohitpubnub Sep 7, 2026
954bcbc
test(dataSync) update channels tests using mocked response to speed u…
mohitpubnub Sep 7, 2026
5fdd27d
.pubnub.yml updates for dataSync
mohitpubnub Sep 7, 2026
c801cc8
update configuration as custom origin not needed for dataSync tests
mohitpubnub Sep 7, 2026
7837888
test(fix) for membership error assertion, test fix for projection, co…
mohitpubnub Sep 7, 2026
e17c7b5
test environment variable configuration update
mohitpubnub Sep 7, 2026
9f531f3
test config, dataSync environment configuration
mohitpubnub Sep 7, 2026
b04a75e
reverted run-tests workflow changes, added tests for dataSync events,…
mohitpubnub Sep 7, 2026
5b07221
dist/lib updates
mohitpubnub Sep 7, 2026
bb98219
dataSync parameter naming sync for get*s operation
mohitpubnub Sep 8, 2026
03239d2
dist/lib updates
mohitpubnub Sep 8, 2026
8997be8
update dataSync event type parsing for user, channel and membership o…
mohitpubnub Sep 8, 2026
fb8ffcf
dist/lib updates
mohitpubnub Sep 8, 2026
d386315
dataSync eventType redundant definition cleanup
mohitpubnub Sep 8, 2026
ffbcc81
dist/lib updates
mohitpubnub Sep 8, 2026
6573b67
package-lock file
mohitpubnub Sep 8, 2026
6fd7e43
PubNub SDK v13.0.0 release.
pubnub-release-bot Sep 8, 2026
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
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ env:
PAM_SECRET_KEY: ${{ secrets.SDK_PAM_SEC_KEY }}
SUBSCRIBE_KEY: ${{ secrets.SDK_SUB_KEY }}
PUBLISH_KEY: ${{ secrets.SDK_PUB_KEY }}
DS_SUBSCRIBE_KEY: ${{ secrets.SDK_DS_SUB_KEY }}
DS_PUBLISH_KEY: ${{ secrets.SDK_DS_PUB_KEY }}
DS_SECRET_KEY: ${{ secrets.SDK_DS_SEC_KEY }}

jobs:
tests:
Expand Down
50 changes: 47 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
---
changelog:
- date: 2026-09-08
version: v13.0.0
changes:
- type: feature
text: "Added dataSync feature support."
- type: bug
text: "No listener callback will be triggered for event with unknown event types."
- type: bug
text: "All events from the presence channels will be categorised as presence event."
- date: 2026-07-27
version: v12.0.3
changes:
Expand Down Expand Up @@ -1415,6 +1424,41 @@ features:
- FILES-DOWNLOAD-FILE
time:
- TIME-TIME
data-sync:
- DATASYNC-USER-CREATE
- DATASYNC-USER-GET
- DATASYNC-USER-GET-ALL
- DATASYNC-USER-UPDATE
- DATASYNC-USER-PATCH
- DATASYNC-USER-DELETE
- DATASYNC-CHANNEL-CREATE
- DATASYNC-CHANNEL-GET
- DATASYNC-CHANNEL-GET-ALL
- DATASYNC-CHANNEL-UPDATE
- DATASYNC-CHANNEL-PATCH
- DATASYNC-CHANNEL-DELETE
- DATASYNC-MEMBERSHIP-CREATE
- DATASYNC-MEMBERSHIP-GET
- DATASYNC-MEMBERSHIP-GET-ALL
- DATASYNC-MEMBERSHIP-UPDATE
- DATASYNC-MEMBERSHIP-PATCH
- DATASYNC-MEMBERSHIP-DELETE
- DATASYNC-ENTITY-CREATE
- DATASYNC-ENTITY-GET
- DATASYNC-ENTITY-GET-ALL
- DATASYNC-ENTITY-UPDATE
- DATASYNC-ENTITY-PATCH
- DATASYNC-ENTITY-DELETE
- DATASYNC-RELATIONSHIP-CREATE
- DATASYNC-RELATIONSHIP-GET
- DATASYNC-RELATIONSHIP-GET-ALL
- DATASYNC-RELATIONSHIP-UPDATE
- DATASYNC-RELATIONSHIP-PATCH
- DATASYNC-RELATIONSHIP-DELETE
- DATASYNC-FILTERING
- DATASYNC-SORTING
- DATASYNC-EVENTS-LISTENER
- DATASYNC-ACCESS-MANAGER
others:
- TELEMETRY
- CREATE-PUSH-PAYLOAD
Expand Down Expand Up @@ -1442,7 +1486,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '12.0.3'
version: '13.0.0'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -1458,7 +1502,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v12.0.3.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v13.0.0.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -2129,7 +2173,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v12.0.3/pubnub.12.0.3.js
location: https://github.com/pubnub/javascript/releases/download/v13.0.0/pubnub.13.0.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 @@
## v13.0.0
September 08 2026

#### Added
- Added dataSync feature support.

#### Fixed
- No listener callback will be triggered for event with unknown event types.
- All events from the presence channels will be categorised as presence event.

## v12.0.3
July 27 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.12.0.3.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.12.0.3.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.13.0.0.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.13.0.0.min.js

> **React Native:** the SDK relies on a global `URL` implementation, which React Native does not
> provide, so it depends on [`react-native-url-polyfill`](https://www.npmjs.com/package/react-native-url-polyfill).
Expand Down
Loading
Loading