Skip to content

Commit 446e869

Browse files
Releasing v4.27.6
1 parent 6bc6168 commit 446e869

File tree

17 files changed

+71
-34
lines changed

17 files changed

+71
-34
lines changed

.pubnub.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
changelog:
3+
-
4+
changes:
5+
-
6+
text: "Added support for delete permission in the grant method of accesses manager."
7+
type: feature
8+
date: 2020-04-24
9+
version: v4.27.6
310
-
411
changes:
512
-
@@ -706,7 +713,9 @@ features:
706713
access:
707714
- ACCESS-GRANT
708715
- ACCESS-SECRET-KEY-ALL-ACCESS
709-
- ACCESS-GRANT-TOKEN
716+
- ACCESS-GRANT-MANAGE
717+
- ACCESS-GRANT-DELETE
718+
- ACCESS-TOKEN-MANAGEMENT
710719
channel-groups:
711720
- CHANNEL-GROUPS-ADD-CHANNELS
712721
- CHANNEL-GROUPS-REMOVE-CHANNELS
@@ -735,6 +744,10 @@ features:
735744
- PUSH-REMOVE-DEVICE-FROM-CHANNELS
736745
- PUSH-LIST-CHANNELS-FROM-DEVICE
737746
- PUSH-REMOVE-DEVICE
747+
- PUSH-TYPE-APNS
748+
- PUSH-TYPE-APNS2
749+
- PUSH-TYPE-FCM
750+
- PUSH-TYPE-MPNS
738751
storage:
739752
- STORAGE-REVERSE
740753
- STORAGE-INCLUDE-TIMETOKEN
@@ -755,11 +768,16 @@ features:
755768
- SUBSCRIBE-WILDCARD
756769
- SUBSCRIBE-FILTER-EXPRESSION
757770
- SUBSCRIBE-PUBLISHER-UUID
771+
- SUBSCRIBE-WITH-USERSTATE
772+
- SUBSCRIBE-PUBSUB-V2
758773
- SUBSCRIBE-SIGNAL-LISTENER
759774
- SUBSCRIBE-USER-LISTENER
760775
- SUBSCRIBE-SPACE-LISTENER
761776
- SUBSCRIBE-MEMBERSHIP-LISTENER
762777
- SUBSCRIBE-MESSAGE-ACTIONS-LISTENER
778+
unsubscribe:
779+
- UNSUBSCRIBE-ALL
780+
- UNSUBSCRIBE-SUPPRESS-LEAVE-EVENTS
763781
signal:
764782
- SIGNAL-SEND
765783
objects:
@@ -787,13 +805,9 @@ features:
787805
- MESSAGE-ACTIONS-REMOVE
788806
time:
789807
- TIME-TIME
790-
token-management:
791-
- TOKEN-PARSE-TOKEN
792-
- TOKEN-SET-TOKEN
793-
- TOKEN-SET-TOKENS
794-
- TOKEN-GET-TOKEN
795-
- TOKEN-GET-TOKENS
796-
- TOKEN-CLEAR-TOKENS
808+
others:
809+
- TELEMETRY
810+
- CREATE-PUSH-PAYLOAD
797811
files:
798812
- dist/web/pubnub.js
799813
- dist/web/pubnub.min.js
@@ -821,4 +835,4 @@ supported-platforms:
821835
- "Ubuntu 14.04 and up"
822836
- "Windows 7 and up"
823837
version: "Pubnub Javascript for Node"
824-
version: "4.27.5"
838+
version: "4.27.6"

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [v4.27.6](https://github.com/pubnub/javascript/releases/tag/v4.27.6)
2+
April-24-2020
3+
4+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.27.5...v4.27.6)
5+
6+
- 🌟️ Added support for delete permission in the grant method of accesses manager.
7+
- ⭐️️ Added missing feature entries. Removed incorrect feature entries.
8+
19
## [v4.27.5](https://github.com/pubnub/javascript/releases/tag/v4.27.5)
210
April-21-2020
311

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
2222

2323

2424

25-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.5.min.js
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.5.js
25+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.6.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.6.js

dist/titanium/pubnub.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.27.5 / Consumer */
1+
/*! 4.27.6 / Consumer */
22
exports["PubNub"] =
33
/******/ (function(modules) { // webpackBootstrap
44
/******/ // The module cache
@@ -479,7 +479,7 @@ var _default = function () {
479479
}, {
480480
key: "getVersion",
481481
value: function getVersion() {
482-
return '4.27.5';
482+
return '4.27.6';
483483
}
484484
}, {
485485
key: "_addPnsdkSuffix",
@@ -9188,10 +9188,12 @@ function prepareParams(modules, incomingParams) {
91889188
manage = _incomingParams$manag === void 0 ? false : _incomingParams$manag,
91899189
_incomingParams$authK = incomingParams.authKeys,
91909190
authKeys = _incomingParams$authK === void 0 ? [] : _incomingParams$authK;
9191+
var deleteParam = incomingParams["delete"];
91919192
var params = {};
91929193
params.r = read ? '1' : '0';
91939194
params.w = write ? '1' : '0';
91949195
params.m = manage ? '1' : '0';
9196+
params.d = deleteParam ? '1' : '0';
91959197

91969198
if (channels.length > 0) {
91979199
params.channel = channels.join(',');

dist/titanium/pubnub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.27.5 / Consumer */
1+
/*! 4.27.6 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -488,7 +488,7 @@ var _default = function () {
488488
}, {
489489
key: "getVersion",
490490
value: function getVersion() {
491-
return '4.27.5';
491+
return '4.27.6';
492492
}
493493
}, {
494494
key: "_addPnsdkSuffix",
@@ -9080,10 +9080,12 @@ function prepareParams(modules, incomingParams) {
90809080
manage = _incomingParams$manag === void 0 ? false : _incomingParams$manag,
90819081
_incomingParams$authK = incomingParams.authKeys,
90829082
authKeys = _incomingParams$authK === void 0 ? [] : _incomingParams$authK;
9083+
var deleteParam = incomingParams["delete"];
90839084
var params = {};
90849085
params.r = read ? '1' : '0';
90859086
params.w = write ? '1' : '0';
90869087
params.m = manage ? '1' : '0';
9088+
params.d = deleteParam ? '1' : '0';
90879089

90889090
if (channels.length > 0) {
90899091
params.channel = channels.join(',');

dist/web/pubnub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/endpoints/access_manager/grant.js

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

lib/core/endpoints/access_manager/grant.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/flow_interfaces.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pubnub",
3-
"version": "4.27.5",
3+
"version": "4.27.6",
44
"author": "PubNub <[email protected]>",
55
"description": "Publish & Subscribe Real-time Messaging with PubNub",
66
"bin": {},

src/core/components/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export default class {
307307
}
308308

309309
getVersion(): string {
310-
return '4.27.5';
310+
return '4.27.6';
311311
}
312312

313313
_addPnsdkSuffix(name: string, suffix: string) {

src/core/endpoints/access_manager/grant.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ export function isAuthSupported(): boolean {
3030

3131
export function prepareParams(modules: ModulesInject, incomingParams: GrantArguments): Object {
3232
const { channels = [], channelGroups = [], ttl, read = false, write = false, manage = false, authKeys = [] } = incomingParams;
33+
const deleteParam = incomingParams.delete;
3334
const params = {};
3435

3536
params.r = (read) ? '1' : '0';
3637
params.w = (write) ? '1' : '0';
3738
params.m = (manage) ? '1' : '0';
39+
params.d = (deleteParam) ? '1' : '0';
3840

3941
if (channels.length > 0) {
4042
params.channel = channels.join(',');

src/core/flow_interfaces.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ type GrantArguments = {
429429
read: boolean,
430430
write: boolean,
431431
manage: boolean,
432+
delete: Boolean,
432433
authKeys: Array<string>
433434
}
434435

0 commit comments

Comments
 (0)