Skip to content

Commit

Permalink
PubNub SDK v7.5.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
pubnub-release-bot committed Jan 16, 2024
1 parent f815ad8 commit e93db09
Show file tree
Hide file tree
Showing 22 changed files with 45 additions and 25 deletions.
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-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:
Expand Down Expand Up @@ -929,7 +938,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '7.4.5'
version: '7.5.0'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -945,7 +954,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v7.4.5.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v7.5.0.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -1616,7 +1625,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v7.4.5/pubnub.7.4.5.js
location: https://github.com/pubnub/javascript/releases/download/v7.5.0/pubnub.7.5.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 @@
## v7.5.0
January 16 2024

#### Added
- Added `enableEventEngine`, `maintainPresenceState` flags and `retryConfiguration` for retry policy configuration.

#### Fixed
- Fixes issue of allowing duplicate listener registration.
- Fixes file name conflict in lib directory. Fixed the following issues reported by [@priyanshu102002](https://github.com/priyanshu102002): [#355](https://github.com/pubnub/javascript/issues/355).

## v7.4.5
November 28 2023

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.7.4.5.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.7.4.5.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.7.5.0.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.7.5.0.min.js
2. Configure your keys:
Expand Down
5 changes: 2 additions & 3 deletions dist/web/pubnub.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@
return this;
};
default_1.prototype.getVersion = function () {
return '7.4.5';
return '7.5.0';
};
default_1.prototype._setRetryConfiguration = function (configuration) {
if (configuration.minimumdelay < 2) {
Expand Down Expand Up @@ -2665,6 +2665,7 @@
return default_1;
}());

/* */
var BaseNotificationPayload = /** @class */ (function () {
function BaseNotificationPayload(payload, title, body) {
this._payload = payload;
Expand Down Expand Up @@ -4014,7 +4015,6 @@
handleResponse: handleResponse$m
});

/* */
function getOperation$l() {
return OPERATIONS.PNPushNotificationEnabledChannelsOperation;
}
Expand Down Expand Up @@ -4367,7 +4367,6 @@
handleResponse: handleResponse$f
});

/* */
function getOperation$e() {
return OPERATIONS.PNHereNowOperation;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/web/pubnub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core/components/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ var default_1 = /** @class */ (function () {
return this;
};
default_1.prototype.getVersion = function () {
return '7.4.5';
return '7.5.0';
};
default_1.prototype._setRetryConfiguration = function (configuration) {
if (configuration.minimumdelay < 2) {
Expand Down
2 changes: 2 additions & 0 deletions lib/core/components/push_payload.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"use strict";
/* */
/* eslint max-classes-per-file: ["error", 5] */
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/access_manager/grant.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
function getOperation() {
return operations_1.default.PNAccessManagerGrant;
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/actions/get_message_actions.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/channel_groups/add_channels.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/channel_groups/list_channels.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/channel_groups/remove_channels.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/fetch_messages.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../constants/operations"));
var utils_1 = __importDefault(require("../utils"));
function __processMessage(modules, message) {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/history/get_history.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function __processMessage(modules, message) {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/presence/here_now.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use strict";
/* */
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
Expand All @@ -16,6 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleError = exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/presence/where_now.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
var utils_1 = __importDefault(require("../../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/publish.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.postPayload = exports.isAuthSupported = exports.getRequestTimeout = exports.postURL = exports.getURL = exports.usePost = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../constants/operations"));
var utils_1 = __importDefault(require("../utils"));
var base64_codec_1 = require("../components/base64_codec");
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/push/list_push_channels.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use strict";
/* */
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
Expand All @@ -16,6 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../../constants/operations"));
function getOperation() {
return operations_1.default.PNPushNotificationEnabledChannelsOperation;
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/subscribe.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleResponse = exports.prepareParams = exports.isAuthSupported = exports.getRequestTimeout = exports.getURL = exports.validateParams = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../constants/operations"));
var utils_1 = __importDefault(require("../utils"));
function getOperation() {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/endpoints/time.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
/* */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateParams = exports.handleResponse = exports.isAuthSupported = exports.prepareParams = exports.getRequestTimeout = exports.getURL = exports.getOperation = void 0;
/* */
var operations_1 = __importDefault(require("../constants/operations"));
function getOperation() {
return operations_1.default.PNTimeOperation;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pubnub",
"version": "7.4.5",
"version": "7.5.0",
"author": "PubNub <[email protected]>",
"description": "Publish & Subscribe Real-time Messaging with PubNub",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export default class {
}

getVersion() {
return '7.4.5';
return '7.5.0';
}

_setRetryConfiguration(configuration) {
Expand Down

0 comments on commit e93db09

Please sign in to comment.