Repository navigation
Expand file tree
/
Copy path.pubnub.yml
More file actions
4924 lines (4924 loc) · 220 KB
/
Copy path.pubnub.yml
File metadata and controls
4924 lines (4924 loc) · 220 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
changelog:
- date: 2026-10-22
version: v13.1.3
changes:
- type: improvement
text: "Upgrade fflate, undici dependency version suggested by Synk."
- type: improvement
text: "Update dataSync event types for delete membership and relationship events."
- type: improvement
text: "Updated README to reflect SDK support for TypeScript and various environments, added installation instructions, and improved clarity on usage examples."
- date: 2026-10-14
version: v13.1.2
changes:
- type: bug
text: "Clear pending heartbeat delay timer when presence effect is aborted, so destroy no longer waits for the full heartbeat interval."
- type: improvement
text: "Drop `delay` from event engine dependencies and client setup, as heartbeat delay now uses `heartbeatDelay`."
- type: improvement
text: "Add tests for timer cancel on destroy, no heartbeats after destroy and heartbeat loop stop on zero interval."
- date: 2026-10-13
version: v13.1.1
changes:
- type: bug
text: "Fix the missing `heartbeat` query parameter for the new subscription flow on `handshake` and `receive messages` state."
- date: 2026-10-12
version: v13.1.0
changes:
- type: feature
text: "Add Access Manager `categories` enumeration support to grantToken and parseToken, and to the legacy grant method, so a token or auth key can list all channel and UUID metadata."
- date: 2026-09-22
version: v13.0.3
changes:
- type: bug
text: "Added required public type definitions for proxy type, dataSync event. Merges PR #517 ."
- type: improvement
text: "Fixes Rollup circular dependency warnings in Event Engine state modules."
- date: 2026-09-21
version: v13.0.2
changes:
- type: improvement
text: "Updates for package metadata/description related details."
- date: 2026-09-10
version: v13.0.1
changes:
- type: bug
text: "Type definition updates for dataSync related events and permissions."
- 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:
- type: bug
text: "Fixes unbound fetch issue."
- date: 2026-07-22
version: v12.0.2
changes:
- type: bug
text: "Fixes issue of getting error while obtain APM safe fetch api."
- date: 2026-07-21
version: v12.0.1
changes:
- type: bug
text: "Encoding on user provided file api inputs to avoid potential path traversal attack."
- type: improvement
text: "Logger omits potential use sensitive information to be logged."
- type: improvement
text: "User will get warning while trying to configure legacy crypto module."
- date: 2026-06-22
version: v12.0.0
changes:
- type: feature
text: "BREAKING CHANGES: Added HTTP/2 support for Node, upgrade minimum node version requirements to v22."
- type: bug
text: "React native specific dependencies is made as peer-dependency for package dependency installation."
- date: 2026-06-11
version: v11.0.2
changes:
- type: bug
text: "Fix exponential retry policy delay calculation to respected minimum delay configured value."
- date: 2026-05-13
version: v11.0.1
changes:
- type: improvement
text: "Bumped version of basic-ftp through override deps for proxy agent to use safe transitive dependency."
- date: 2026-04-20
version: v11.0.0
changes:
- type: feature
text: "BREAKING CHANGES: Subscription now uses the event engine workflow by default and automatically restores subscriptions after reconnect."
- type: improvement
text: "Drop `maximumRetry` validation caps for linear/exponential policies."
- 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:
- type: bug
text: "Updated push notification payload builder utility method to generate fcm payload as per updated specification."
- date: 2026-02-11
version: v10.2.7
changes:
- type: improvement
text: "PubNubFile to support `ReadableFile` type for React Native target platform."
- date: 2026-01-13
version: v10.2.6
changes:
- type: improvement
text: "Prevent retry when response is having http status code 404."
- date: 2025-12-16
version: v10.2.5
changes:
- type: improvement
text: "Use `fast-text-encoding` for react native instead of outdated `fast-encoding` polyfill."
- date: 2025-12-04
version: v10.2.4
changes:
- type: improvement
text: "Prevent resubscribe to previously subscribed entities."
- date: 2025-11-20
version: v10.2.3
changes:
- type: improvement
text: "Enforce use of the `fetch` function from the context, which is not affected by APM monkey patching."
- date: 2025-11-19
version: v10.2.2
changes:
- type: improvement
text: "Replace `gcm` with `fcm` for push notification gateway type."
- date: 2025-11-03
version: v10.2.1
changes:
- type: improvement
text: "Expose `File` on pubnub instance to manually create supported File construct."
- date: 2025-10-29
version: v10.2.0
changes:
- type: feature
text: "Add a zero-based `offset` index parameter to be used together with `limit` for `here now` pagination."
- date: 2025-09-30
version: v10.1.0
changes:
- type: feature
text: "Reintroduced legacy encryption and decryption functions for the React Native target to ensure backward compatibility."
- type: bug
text: "Resolves issue where presence heartbeat channels/groups sets were out of sync."
- type: improvement
text: "Temporarily remove the `offset` parameter until implementation synchronization across SDKs is completed."
- date: 2025-09-18
version: v10.0.0
changes:
- type: feature
text: "BREAKING CHANGES: Add 'limit' and 'offset' parameters for 'HereNowRequest' for pagination support."
- date: 2025-09-09
version: v9.10.0
changes:
- type: feature
text: "Send new presence `state` to the `SharedWorker` as soon as it has been set with `setState` to avoid race conditions between regular heartbeats and `backup` heartbeats."
- type: bug
text: "Fix issue because of which requests aggregated from other clients were able to override previously explicitly set newer access token."
- type: improvement
text: "Remove presence `state` from long-poll subscribe requests as part of the transition to explicit heartbeat."
- date: 2025-08-25
version: v9.9.0
changes:
- type: bug
text: "Resolved the issue because of which requests that were too early received a response and still have been sent."
- type: improvement
text: "Decouple and re-organize `SharedWorker` code for better maintainability."
- type: improvement
text: "Additional query parameter (removed before sending) is added for requests triggered by user and state will be updated only for these requests."
- type: improvement
text: "Log entry timestamp will be altered on millisecond if multiple log entries have similar timestamp (logged in fraction of nanoseconds)."
- type: improvement
text: "Change the condition that is used to identify whether the `offline` detection timer has been suspended by the browser or not before trying to evict `offline` PubNub clients."
- date: 2025-08-07
version: v9.8.4
changes:
- type: bug
text: "Resolved an issue that prevented access to static fields of the PubNub class when using the SDK in React Native target builds."
- date: 2025-07-28
version: v9.8.3
changes:
- type: improvement
text: "Update workflow with `id-token: write` permission for AWS CLI configuration."
- date: 2025-07-28
version: v9.8.2
changes:
- type: improvement
text: "Upgraded `form-data` dependency to version 4.0.4 to address potential vulnerability issue."
- date: 2025-07-15
version: v9.8.1
changes:
- type: bug
text: "Fix incorrect subscription reference timetoken (used by listeners to filter old messages) caused by the server returning timetoken older than the previous one because of MX."
- type: bug
text: "Fix the issue because of which all subscriptions of the subscription set have been requested to handle the received event."
- date: 2025-07-11
version: v9.8.0
changes:
- type: feature
text: "Depending on client configuration, it will emit `status` for heartbeat, which has been started by the `SharedWorker` backup heartbeat timer mechanism."
- type: feature
text: "Stop heartbeats until the auth key / access token is changed. On change, `SharedWorker` will send an immediate heartbeat request."
- type: bug
text: "Fix the issue with the global subscription set (used for legacy interface support) because of which `unsubscribe` with the legacy interface wasn't able to complete the unsubscribe process."
- type: bug
text: "Fix the issue because of which rapid subscription (from other PubNub clients in response to received subscribe response) throttling causes delayed channel list change."
- type: improvement
text: "Restart the timer of the backup heartbeat if an explicit heartbeat request has been received from the main PubNub client."
- type: improvement
text: "Modify the `log` payload for `SharedWorker` to make it possible to log sent / received requests information to the main browser window (not to the `SharedWorker` console)."
- date: 2025-06-30
version: v9.7.0
changes:
- type: feature
text: "Launch a backup heartbeat timer per registered PubNub instance in SharedWorker context to protect against browsers throttling of background (hidden) tabs."
- type: bug
text: "Fix issue because of which in new flow `heartbeat` request not cancelled properly when issued in burst."
- type: bug
text: "Fix issue because resource names, which consist only of integers, have been decoded as Unicode characters."
- type: bug
text: "Fix issue because the entity that has been created with `-pnpres` suffix has been removed from subscription loop during unsubscribe from entity with presence listening capability."
- type: improvement
text: "Use string names of classes for locations instead of dynamic access to constructor names because it affect how logs looks like after minification."
- date: 2025-06-30
version: v9.6.2
changes:
- type: improvement
text: "Removed deprecation warning from deleteMessages method."
- type: improvement
text: "Added code snippets for docs."
- date: 2025-06-18
version: v9.6.1
changes:
- type: bug
text: "Fix issue that has been caused by the race of conditions on tab close and led to `presence leave` for channels that were still in use."
- type: improvement
text: "Make leeway depending from the minimal heartbeat interval (5% from it) to filter out too rapid heartbeat calls."
- date: 2025-06-04
version: v9.6.0
changes:
- type: feature
text: "Standardize information printed by logger and places where it is printed."
- type: feature
text: "Add `logLevel` and `loggers` configuration parameters to specify minimum log level and list of custom `Logger` interface implementations (when own logger needed)."
- type: feature
text: "Add the `cloneEmpty` function, which will let you make a “bare” copy of a subscription / subscription set object, which will have shared state with the original but clear list of event handlers."
- type: feature
text: "Add a parameter for subscription where closure can be provided and filter events which should be delivered with listener."
- type: feature
text: "When a new subscription object is created, it won't notify about messages from the past (edge case with active and inactive channel subscriptions)."
- date: 2025-04-22
version: v9.5.2
changes:
- type: bug
text: "Fixed issue because of which client retried for both bad request and access denied."
- type: improvement
text: "Add current list of channels and groups to connected status."
- date: 2025-04-15
version: v9.5.1
changes:
- type: bug
text: "Add missing `NoneRetryPolicy` static field for `PubNub` class."
- type: improvement
text: "`RetryPolicy.None` exported as a function to not affect tree-shaking and modules exclusion possibilities."
- date: 2025-04-15
version: v9.5.0
changes:
- type: feature
text: "The configured retry policy will be used for any failed request."
- type: feature
text: "By default, the SDK is configured to use an exponential retry policy for failed subscribe requests."
- type: bug
text: "`PNSubscriptionChangedCategory` will be emitted each time the list of channels and groups is changing."
- type: improvement
text: "Automated request retry has been moved into the network layer to handle all requests (not only subscribed)."
- type: improvement
text: "Properly destroy `PubNub` instance after each test case to make sure that all connections closed and prevent tests from hanging."
- date: 2025-04-10
version: v9.4.0
changes:
- type: feature
text: "Compress the published payload if sent by POST."
- type: feature
text: "Explicitly add `gzip, deflate` to the `Accept-Encoding` header."
- date: 2025-03-31
version: v9.3.2
changes:
- type: bug
text: "Fix missing `heartbeat` and `leave` REST API calls when the event engine is enabled and `presenceTimeout` or `heartbeatInterval` not set."
- date: 2025-03-25
version: v9.3.1
changes:
- type: bug
text: "Fix issue because of which channels and groups aggregated inside PubNub client state objects and didn't clean up properly on unsubscribe / invalidate."
- date: 2025-03-20
version: v9.3.0
changes:
- type: feature
text: "Remove minimum limit for presence timeout (was 20 seconds) to make it possible specify shorter intervals."
- type: bug
text: "Fix issue because of which channels not aggregated and caused separate heartbeat requests."
- date: 2025-03-19
version: v9.2.0
changes:
- type: feature
text: "On `pagehide` without `bfcache` client on page will send `terminate` to Shared Worker for early long-poll request termination and `leave` request sending (if configured)."
- type: bug
text: "Fix an issue with the client's state update in Shared Worker caused by `-pnpres` suffixed entries being removed from heartbeat / leave request channels and groups."
- date: 2025-03-13
version: v9.1.0
changes:
- type: feature
text: "`SubscriptionSet` will re-add listener every time when `Subscription` or `SubscriptionSet` added to it - this will let receive updates from newly added subscribe capable objects."
- type: bug
text: "Fix issue because of errors returned by `fetch` taken from `iframe` (to protect against monkey-patching by APM packages) was't handled as Error."
- type: improvement
text: "Use access token (auth key) content instead of base64 encoded token to identify PubNub clients, which can be used for requests aggregation."
- date: 2025-03-10
version: v9.0.0
changes:
- type: feature
text: "BREAKING CHANGES: `SubscriptionSet` will subscribe / unsubscribe added / removed `Subscription` or `SubscriptionSet` objects if the set itself already subscribed."
- type: bug
text: "Fix issue because of which throttle didn't consider difference in client settings (throttled only by user ID and subscribe key, which is not enough)."
- type: bug
text: "With the fix, smart heartbeat as feature has been added to the SDK, and it is disabled by default."
- date: 2025-03-06
version: v8.10.0
changes:
- type: feature
text: "Add `useSmartHeartbeat` configuration option which allows ignoring implicit heartbeat (with successful subscribe response) and keep sending `heartbeat` calls with fixed intervals."
- type: feature
text: "`subscriptionWorkerOfflineClientsCheckInterval` configuration option can be used to configure the interval at which “offline” PubNub clients (when tab closed) detection will be done."
- type: feature
text: "`subscriptionWorkerUnsubscribeOfflineClients` configuration option can be used to force unsubscribe (presence leave) for “offline” PubNub clients (when tab closed)."
- date: 2025-02-26
version: v8.9.1
changes:
- type: bug
text: "Fix issue because of which code doesn't handle edge case when `fetch` reject with empty object and not `Error`."
- type: improvement
text: "Remove `-pnpres` channels and groups from presence `leave` and `heartbeat` requests."
- date: 2025-02-18
version: v8.9.0
changes:
- type: feature
text: "Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response."
- type: improvement
text: "Move error / malformed response handling into `AbstractRequest` to simplify actual endpoint classes."
- date: 2025-02-10
version: v8.8.1
changes:
- type: bug
text: "Fix issue because of which APM fix worked only when the client has been configured with `logVerbosity: true`."
- date: 2025-02-05
version: v8.8.0
changes:
- type: feature
text: "For the browser version of PubNub SDK, add the ability to switch between `fetch` and `xhr` APIs (`transport` configuration option)."
- type: bug
text: "Fix issue because of which, in Event Engine mode, wrong timeout values have been set for requests which create long-poll request."
- type: improvement
text: "Refactor `timeout` implementation for `fetch` transport to properly cancel request when the timeout timer will fire."
- date: 2025-01-31
version: v8.7.1
changes:
- type: bug
text: "Fix long-poll request cancellation caused by APM packages monkey patching 'fetch' and try to use 'native' implementation instead of patched."
- date: 2025-01-30
version: v8.7.0
changes:
- type: feature
text: "Pass heartbeat request through `SharedWorker` (if used) to optimize the number of requests for clients opened in few tabs and subscribed on same channels / groups list."
- type: improvement
text: "Don't send `heartbeat` request to unsubscribe."
- date: 2025-01-21
version: v8.6.0
changes:
- type: feature
text: "A new optional parameter `ifMatchesEtag` is added to `setUUIDMetadata` and `setChannelMetadata`. When provided, the server compares the argument value with the ETag on the server and if they don't match a HTTP 412 error is returned."
- date: 2025-01-15
version: v8.5.0
changes:
- type: feature
text: "Add `fileRequestTimeout` client configuration option which is specific only for requests which upload and download files."
- type: bug
text: "Fix issue with `instanceId` set to `undefined` for requests with `useInstanceId` configuration flag set to `true`."
- date: 2025-01-02
version: v8.4.1
changes:
- type: bug
text: "Fixed issue of hereNow response parsing for `totalOccupancy` field."
- date: 2024-12-17
version: v8.4.0
changes:
- type: feature
text: "Add `type` field for members and membership objects and subscribe response."
- type: bug
text: "Fixed type which limited number of options which can be included into response / used in sorting for members / membership setting API."
- type: bug
text: "Fix missing `hereNowRefresh` flag from the presence object received from subscribe."
- type: bug
text: "Fix issue because of which `logVerbosity` set to `true` still didn't print logs for Node.js."
- type: improvement
text: "Change format and add proper request body output."
- date: 2024-12-12
version: v8.3.2
changes:
- type: bug
text: "Fix issue with `Subscription` and `SubscriptionSet` when one can unsubscribe channel / group which is still in use by another."
- type: bug
text: "Fix particular `TypeError` emitted when browser forcefully closes long-poll connection before its timeout and reported as bad request. This type of error will be reported as a network error."
- type: bug
text: "Fix issue because of which `node-fetch` used default agent, which after Node.js 19+ has `keepAlive` enabled by default."
- date: 2024-11-18
version: v8.3.1
changes:
- type: bug
text: "Fix issue because of which presence events not delivered to the `Subscription` and `SubscriptionSet` objects (only global listeners)."
- date: 2024-11-14
version: v8.3.0
changes:
- type: feature
text: "Add custom message type support for the following APIs: publish, signal, share file, subscribe and history."
- date: 2024-10-31
version: v8.2.10
changes:
- type: bug
text: "Fix `Actions` type definition."
- type: improvement
text: "Remove indexed signature for publish."
- type: improvement
text: "Add serializable objects to `Payload` type."
- type: improvement
text: "Aggregate generated types definitions."
- type: improvement
text: "Fix definition of type which represents message actions received from history and list of users which added action of specific type and value to the message."
- type: improvement
text: "Remove redundant indexed signature from publish message parameters type definition."
- type: improvement
text: "Extend `Payload` type definition with objects which can be serialized by `JSON.stringify` using `toJSON()` methods."
- type: improvement
text: "Aggregate multiple types definitions into single type definition type with proper type names and namespaces."
- type: improvement
text: "Add the Subscribe Event Engine and Event Listener types to the bundled types definition file."
- date: 2024-10-25
version: v8.2.9
changes:
- type: bug
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)."
- date: 2024-09-30
version: v8.2.8
changes:
- type: bug
text: "Fix issue because of which leave request modified wrong URL path component with actual channels."
- type: bug
text: "Fix issue because of which removed channels / groups didn't cancel previous subscribe request to re-subscribe with new set of channels / groups."
- type: bug
text: "Fix issue because of which suitable active PubNub clients subscription not has been used for aggregation and caused additional connections or wrong set of channels / groups."
- type: improvement
text: "Pre-process entries from subscribe response to filter out updates which has been received for channels and groups which are not part of subscription loop (subscription aggregation in shared worker)."
- type: improvement
text: "Point to the built-in types definition file when package used with `npm` / `yarn`."
- date: 2024-08-01
version: v8.2.7
changes:
- type: bug
text: "Fix issue because of which timeout enforced by browser triggered wrong error status category."
- date: 2024-07-23
version: v8.2.6
changes:
- type: bug
text: "Resolves the issue of manually included presence channels not being unsubscribed from the subscription set."
- date: 2024-07-18
version: v8.2.5
changes:
- type: improvement
text: "Fix PubNub client configuration and listener documentation."
- date: 2024-06-17
version: v8.2.4
changes:
- type: bug
text: "Subscription/SubscriptionSet's `subscribe()` method accepts `timetoken` parameter. Instead as in subscriptionOption."
- date: 2024-06-06
version: v8.2.3
changes:
- type: bug
text: "Fix issue because of which single string sort option wasn't serialized properly."
- date: 2024-06-05
version: v8.2.2
changes:
- type: bug
text: "Fix issue because of which `heartbeatInterval` wasn't computed if `presenceTimeout` provided during PubNub client configuration."
- date: 2024-05-22
version: v8.2.1
changes:
- type: bug
text: "Fix revoke token method signature where mistakenly expected object with `token` field."
- date: 2024-05-21
version: v8.2.0
changes:
- type: feature
text: "Add environment flags processing to opt-out feature modules from built bundles."
- type: bug
text: "Add `application/json` content type for `Grant Token`, `Add Message Action` and `Generate File Upload URL` endpoints."
- 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:
- type: improvement
text: "Provider configuration option to set service worker from the URL (because of browser restrictions for worker files to be registered from the same domain)."
- date: 2024-04-22
version: v8.0.0
changes:
- type: feature
text: "Upgraded the network layer, replacing the `superagent` module with the `Fetch API` for browser integrations and node-fetch for `npm` integrations, ensuring enhanced performance and reliability."
- type: feature
text: "Added service worker ."
- type: feature
text: "Enhanced the subscribe feature with service worker support, improving user experience across multiple browser windows and tabs. The client interface rewritten with TypeScript, which gives an up-to-date interface."
- date: 2024-04-18
version: v7.6.3
changes:
- type: bug
text: "Fixes issue of add or remove listener of subscription to/from subscriptionSet."
- date: 2024-03-28
version: v7.6.2
changes:
- type: feature
text: "Added support for pagination params for listChannels API of push notification devices."
- date: 2024-02-26
version: v7.6.1
changes:
- type: bug
text: "Fixes issue of App context event handling for channel and membership."
- date: 2024-02-21
version: v7.6.0
changes:
- type: feature
text: "Adding channel, channelGroup, channelMetadata and userMetadata entities to be first-class citizens to access APIs related to them. Currently, access is provided only for subscription API."
- date: 2024-01-16
version: v7.5.0
changes:
- type: feature
text: "Added `enableEventEngine`, `maintainPresenceState` flags and `retryConfiguration` for retry policy configuration."
- type: bug
text: "Fixes issue of allowing duplicate listener registration."
- type: bug
text: "Fixes file name conflict in lib directory."
- date: 2023-11-28
version: v7.4.5
changes:
- type: bug
text: "Handle unencrypted messages in subscribe with cryptoModule configured."
- type: bug
text: "Fixe for missing parameters to request or filter optional fields for App Context memberships api."
- date: 2023-11-14
version: v7.4.4
changes:
- type: bug
text: "Fixes issue of getChannelMembers call not returning status field."
- date: 2023-11-08
version: v7.4.3
changes:
- type: bug
text: "Fixes issue of not able to encrypt Blob file content in web."
- date: 2023-10-30
version: v7.4.2
changes:
- type: improvement
text: "Changed license type from MIT to PubNub Software Development Kit License."
- date: 2023-10-17
version: v7.4.1
changes:
- type: bug
text: "Fixes issue of `pubnub.decrypt()` returning wrong data format."
- date: 2023-10-16
version: v7.4.0
changes:
- type: feature
text: "Add crypto module that allows configure SDK to encrypt and decrypt messages."
- type: bug
text: "Improved security of crypto implementation by adding enhanced AES-CBC cryptor."
- date: 2023-09-11
version: v7.3.3
changes:
- type: bug
text: "Fixes issue of getting misleading error message when sendFile fails."
- date: 2023-08-31
version: v7.3.2
changes:
- type: bug
text: "Fixes issue of having deprecated superagent version."
- date: 2023-08-21
version: v7.3.1
changes:
- type: bug
text: "Fixes issue of missing get and set methods for userId field of PubNub configuration."
- date: 2023-07-26
version: v7.3.0
changes:
- type: bug
text: "Fixes issue of severe vulnerability warnings for vm2 usage."
- date: 2023-06-19
version: v7.2.3
changes:
- type: feature
text: "Added optional param `withHeartbeat` to set state through heartbeat endpoint."
- date: 2022-12-12
version: v7.2.2
changes:
- type: bug
text: "Fixes a case in React Native with using an error interface in superagent."
- type: bug
text: "Fixes issue of getFileUrl not setting auth value as token string when token is set."
- date: 2022-11-10
version: v7.2.1
changes:
- type: bug
text: "Removes remains of Buffer from the crypto module."
- date: 2022-07-01
version: v7.2.0
changes:
- type: feature
text: 'Allows to specify users and spaces in grantToken method.'
- type: feature
text: 'Allows to use userId instead of uuid in configuration.'
- date: 2022-06-22
version: v7.1.2
changes:
- type: bug
text: 'Fixes parseToken issues on Web and React Native.'
- date: 2022-06-14
version: v7.1.1
changes:
- type: feature
text: 'Added user and space memberships related methods.'
- type: feature
text: 'Added `type` and `status` fields in `User` and `Space`. `status` field in memberships.'
- date: 2022-05-24
version: v7.0.1
changes:
- type: bug
text: 'Fixes export issue for Node and update config for es module compatibility.'
- date: 2022-05-24
version: v7.0.0
changes:
- type: improvement
text: 'BREAKING CHANGES: Removed objects v1 methods support.'
- date: 2022-04-21
version: v6.0.0
changes:
- type: feature
text: 'Added a TypeScript build chain and moved from webpack to rollup.'
- type: feature
text: 'Added an initial implementation of Event Engine.'
- date: 2022-03-02
version: v5.0.1
changes:
- type: bug
text: 'Unsubscribe fix unsubscribe from channel group presence'
- date: 2022-01-12
version: v5.0.0
changes:
- type: improvement
text: 'BREAKING CHANGES: `uuid` is required parameter in PubNub constructor.'
- date: 2021-12-16
version: v4.37.0
changes:
- type: feature
text: 'Add revoke token feature.'
- date: 2021-12-09
version: v4.36.0
changes:
- type: bug
text: 'Remove isomorphic-webcrypto polyfill for web Add buffer polyfill to react native.'
- date: 2021-12-02
version: v4.35.0
changes:
- type: feature
text: 'Allows to specify multiple origins in the config, which enables domain sharding for custom origins.'
- date: 2021-12-01
version: v4.34.2
changes:
- type: bug
text: 'Fix listener callback is invoked multiple times.'
- date: 2021-11-19
version: v4.34.1
changes:
- type: bug
text: 'Update `.npmignore` and excluded resources from from NPM package.'
- date: 2021-11-19
version: v4.34.0
changes:
- type: feature
text: 'Upgrade superagent.'
- changes:
- text: 'Fixes issue of performing file publish message retry according to `fileUploadPublishRetryLimit` setting of PubNub instance.'
type: bug
date: 2021-10-18
version: v4.33.1
- changes:
- text: 'Added support for Objects v2 in PAM v3 api.'
type: feature
- text: 'Fixes issue related to file decryption when cipherkey is provided in method.'
type: bug
date: 2021-08-31
version: v4.33.0
- changes:
- text: 'Fixes issue of signature does not match error with `getAllUUIDMetadata` call.'
type: bug
- text: 'Error handling with global hereNow call to provide detailed error message when feature not enabled.'
type: bug
date: 2021-05-26
version: v4.32.1
- changes:
- text: 'Add grantToken support for channel and group resources.'
type: feature
date: 2021-04-28
version: v4.32.0
- changes:
- text: 'BREAKING CHANGE - Set `true` for `useRandomIVs` by default.'
type: improvement
- text: 'Fix `channel` and `uuid` which is used with: files API, Objects and presence.'
type: bug
date: 2021-04-22
version: v4.31.0
- changes:
- text: 'Revert v4.300.'
type: bug
date: 2021-03-30
version: v4.30.1
- changes:
- text: 'Set default increased limit for message count of History v3 api single call.'
type: improvement
date: 2021-01-11
version: v4.29.11
- changes:
- text: 'Fixes issue of missing more field in fetch messages response.'
type: bug
date: 2020-11-30
version: v4.29.10
- changes:
- text: 'Adds timetoken of file publish in the sendFile response.'
type: feature
- text: 'Fixes getFileUrl so that it includes auth and signature query params.'
type: bug
- text: 'Fixes downloadFile method to generate correct signature.'
type: bug
date: 2020-10-05
version: v4.29.9
- changes:
- text: 'Fixes compatibility with @sentry/react-native library.'
type: bug
date: 2020-09-21
version: v4.29.8
- changes:
- text: 'Added support for managing permissions of objects v2 while applying PAM v2.'
type: feature
- text: 'Fix uncaught promise exception in subscription manager caused by error in user code inside of subscription handlers. Error will be handled and returned to status handler with PNUnknownCategory category where errorData can be examined.'
type: bug
date: 2020-09-14
version: v4.29.7
- changes:
- text: 'Add file download to Blob in React Native.'
type: feature
date: 2020-09-08
version: v4.29.6
- changes:
- text: 'Add support for file upload via file URI in React Native.'
type: feature
- text: 'Fix file download to ArrayBuffer in React Native.'
type: bug
date: 2020-09-01
version: v4.29.5
- changes:
- text: 'Fixes an artifact where ract-native entrypoint didnt use ssl.'
type: bug
date: 2020-08-14
version: v4.29.4
- changes:
- text: 'Fixes an issue with react-native entrypoint where interfaces to File and Crypto are not included in the build.'
type: bug
- text: 'Fixes the ability to sendByPost in publish.'
type: bug
- text: 'Fixes an issue where getFileUrl returned and URI without a protocol.'
type: bug
- text: 'Fixes an issue where storeInHistory false would not include the param.'
type: bug
- text: 'Removes mime types dependency since that will be handled by the server.'
type: bug
- text: 'Adds userMetadata to file event listener.'
type: bug
date: 2020-08-14
version: v4.29.3
- changes:
- text: 'Move @babel/runtime to runtime dependency.'
type: bug
date: 2020-08-05
version: v4.29.2
- changes:
- text: 'Release 4.291.'
type: bug
date: 2020-08-04
version: v4.29.1
- changes:
- text: 'Allows to upload files to channels, download them with optional encryption support.'
type: feature
- text: 'Allows to enable random IVs when encrypting messages.'
type: feature
- text: 'Fixes a bug with PAM and Objects v2.'
type: bug
date: 2020-08-04
version: v4.29.0
- changes:
- text: 'Fixes issue of high cpu usage when heartbeat interval is not set.'
type: bug
date: 2020-07-15
version: v4.28.4
- changes:
- text: 'getAllChannelMetadata no longer includes customFields by default.'
type: bug
- text: 'removeChannelMetadata no longer hits wrong endpoint.'
type: bug
- text: 'getMemberships and getChannelMembers now includes customFields by default.'
type: bug
- text: 'getAllUUIDMetadata now includes totalCount by default.'
type: bug
- text: 'getAllUUIDMetadata no longer includes limit by default.'
type: bug
- text: 'all membership and channel members methods now accept a callback.'
type: bug
- text: 'all objects v2 methods are properly typed now to include an optional callback.'
type: bug
- text: 'getMemberships and getChannelMembers now include totalCount, prev, and next in the response.'
type: bug
date: 2020-07-15
version: v4.28.3
- changes:
- text: 'Fixes a bug in removeChannelMembers and removeMemberships.'
type: bug
date: 2020-06-29
version: v4.28.2
- changes:
- text: 'Ensure proper bytes padding in ArrayBuffer prepared for `cbor-js` library.'
type: bug
date: 2020-06-19
version: v4.28.1
- changes:
- text: 'Added Objects v2 API and deprecated Objects v1 API.'
type: feature
date: 2020-06-03
version: v4.28.0
- changes:
- text: 'Added support for delete permission in the grant method of accesses manager.'
type: feature
date: 2020-04-24
version: v4.27.6
- changes:
- text: 'Update READMEmd CDN links during deployment.'
type: bug
- text: 'Fix pre-compiled scripts update.'
type: bug
date: 2020-04-21
version: v4.27.5
- changes:
- text: 'Add telemetry (latency) for all existing operation types.'
type: feature
- text: 'Replace `cbor-sync` module with `cbor-js` for client implementation for web to fix compatibility with Salesforce Lightning Web Components.'
type: bug
date: 2020-03-18
version: v4.27.4
- changes:
- text: 'Support for APNS2 Push API'
type: improvement
- text: 'Restore functionality to set heartbeat interval when presence timeout is set below the default'
type: bug
date: 2020-01-06
version: v4.27.3
- changes:
- text: 'disable presence heartbeats by default'
type: bug
date: 2019-12-05
version: v4.27.2
- changes:
- text: "Make changes in fetch_messages endpoint to move message actions (if any) for message from 'data' to 'actions' property (old 'data' will be in place for few updates to not break existing clients)."
type: bug
- text: 'fix PAMv3 tests mocked signature'
type: improvement
- text: 'fix lint warnings for tests and code'
type: improvement
- text: 'fix gulp build so that failures in test and lint will trigger failure in travis'
type: improvement
date: 2019-11-20
version: v4.27.1
- changes:
- text: 'Add Message Actions API support which allow to: add, remove and fetch previously added actions'
type: feature
- text: 'Add new arguments to fetch messages function which allow to fetch previously added actions and message metadata'
type: feature
- text: 'Add new handler which can be used to track message actions addition / removal events'
type: feature
date: 2019-10-08
version: v4.27.0
- changes:
- text: 'Ensures history response is an array before iterating it'
type: bug
date: 2019-09-27
version: v4.26.1
- changes:
- text: 'Add support for auth tokens with Objects for Users, Spaces and Memberships'
type: bug
date: 2019-09-20
version: v4.26.0
- changes:
- text: "Fix issue with subdomains ending in 'ps'"
type: bug
date: 2019-09-03
version: v4.25.2
- changes:
- text: 'Fix titanium build to support recent version'
type: bug
date: 2019-08-23
version: v4.25.1
- changes:
- text: 'Add Objects support for Users, Spaces and Memberships'
type: improvement
date: 2019-08-16
version: v4.25.0
- changes:
- text: "Fix regression: 'PubNub is not a constructor' in Node.js"
type: bug
date: 2019-08-09
version: v4.24.6
- changes:
- text: 'Add Signals support'
type: improvement
date: 2019-08-07
version: v4.24.5
- changes:
- text: 'Add minimum presence timeout'
type: improvement
date: 2019-07-26
version: v4.24.4
- changes:
- text: 'Added support to enable heartbeat requests while subscribe when heartbeat interval is provided'
type: improvement
date: 2019-06-19
version: v4.24.3
- changes:
- text: 'Added try catch block to handle exception for JSON.parse function'
type: improvement
- text: 'Updated default origin to ps.pndsn.com'
type: improvement
date: 2019-06-13
version: v4.24.2
- changes:
- text: 'Maintains the state when the presence heartbeat is explicitly disabled'
type: improvement
date: 2019-06-06
version: v4.24.1
- changes:
- text: 'Disables the presence heartbeat by default when a subscribe is called. Presence heartbeat can still be enabled explicitly.'
type: improvement
date: 2019-05-09
version: v4.24.0
- changes:
- text: "The `timetoken` parameter is deprecated in the `message-counts` function. Use 'channelTimetokens' instead, pass one value in 'channelTimetokens' to achieve the same results."
type: improvement
date: 2019-03-14
version: v4.23.0
- changes:
- text: 'message counts'
type: feature
- text: "use null instead of '' for NativeScript networking module"
type: improvement
date: 2019-03-04
version: v4.22.0
- changes:
- text: 'update dependencies'