Skip to content

Commit b4d458a

Browse files
mohitpubnubClient Engineering Bot
and
Client Engineering Bot
authored
Deprecate objects v1
* PubNub SDK v7.0.0 release. Co-authored-by: Client Engineering Bot <60980775+Client Engineering [email protected]>
1 parent 2f65ca1 commit b4d458a

File tree

10 files changed

+27
-16
lines changed

10 files changed

+27
-16
lines changed

.pubnub.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22
changelog:
3+
- date: 2022-05-17
4+
version: v7.0.0
5+
changes:
6+
- type: improvement
7+
text: "BREAKING CHANGES: Removed objects v1 source code."
38
- date: 2022-04-21
49
version: v6.0.0
510
changes:
@@ -1107,7 +1112,7 @@ supported-platforms:
11071112
- "Ubuntu 14.04 and up"
11081113
- "Windows 7 and up"
11091114
version: "Pubnub Javascript for Node"
1110-
version: "6.0.0"
1115+
version: "7.0.0"
11111116
sdks:
11121117
-
11131118
full-name: PubNub Javascript SDK
@@ -1126,7 +1131,7 @@ sdks:
11261131
distribution-type: source
11271132
distribution-repository: GitHub release
11281133
package-name: pubnub.js
1129-
location: https://github.com/pubnub/javascript/archive/refs/tags/v6.0.0.zip
1134+
location: https://github.com/pubnub/javascript/archive/refs/tags/v7.0.0.zip
11301135
requires:
11311136
-
11321137
name: "agentkeepalive"
@@ -1890,7 +1895,7 @@ sdks:
18901895
distribution-type: library
18911896
distribution-repository: GitHub release
18921897
package-name: pubnub.js
1893-
location: https://github.com/pubnub/javascript/releases/download/v6.0.0/pubnub.6.0.0.js
1898+
location: https://github.com/pubnub/javascript/releases/download/v7.0.0/pubnub.7.0.0.js
18941899
requires:
18951900
-
18961901
name: "agentkeepalive"

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v7.0.0
2+
May 17 2022
3+
4+
#### Modified
5+
- BREAKING CHANGES: Removed objects v1 source code.
6+
17
## v6.0.0
28
April 21 2022
39

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2222
npm install pubnub
2323
```
2424
* or download one of our builds from our CDN:
25-
* https://cdn.pubnub.com/sdk/javascript/pubnub.6.0.0.js
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.6.0.0.min.js
25+
* https://cdn.pubnub.com/sdk/javascript/pubnub.7.0.0.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.7.0.0.min.js
2727
2828
2. Configure your keys:
2929

dist/web/pubnub.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@
747747
return this;
748748
};
749749
default_1.prototype.getVersion = function () {
750-
return '6.0.0';
750+
return '7.0.0';
751751
};
752752
default_1.prototype._addPnsdkSuffix = function (name, suffix) {
753753
this._PNSDKSuffix[name] = suffix;
@@ -7316,7 +7316,7 @@
73167316
endpoint$3, __assign({ type: 'delete' }, parameters)], __read(rest), false));
73177317
},
73187318
};
7319-
// User entity
7319+
// User Apis
73207320
this.setUser = function (args) {
73217321
return _this.objects.setUUIDMetadata({
73227322
uuid: args.userId,
@@ -7336,7 +7336,7 @@
73367336
});
73377337
};
73387338
this.getUsers = this.objects.getAllUUIDMetadata;
7339-
// Space entity
7339+
// Space apis
73407340
this.setSpace = function (args) {
73417341
return _this.objects.setChannelMetadata({
73427342
channel: args.spaceId,

dist/web/pubnub.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var default_1 = /** @class */ (function () {
145145
return this;
146146
};
147147
default_1.prototype.getVersion = function () {
148-
return '6.0.0';
148+
return '7.0.0';
149149
};
150150
default_1.prototype._addPnsdkSuffix = function (name, suffix) {
151151
this._PNSDKSuffix[name] = suffix;

lib/core/pubnub-common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ var default_1 = /** @class */ (function () {
282282
set_4.default, __assign({ type: 'delete' }, parameters)], __read(rest), false));
283283
},
284284
};
285-
// User entity
285+
// User Apis
286286
this.setUser = function (args) {
287287
return _this.objects.setUUIDMetadata({
288288
uuid: args.userId,
@@ -302,7 +302,7 @@ var default_1 = /** @class */ (function () {
302302
});
303303
};
304304
this.getUsers = this.objects.getAllUUIDMetadata;
305-
// Space entity
305+
// Space apis
306306
this.setSpace = function (args) {
307307
return _this.objects.setChannelMetadata({
308308
channel: args.spaceId,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pubnub",
3-
"version": "6.0.0",
3+
"version": "7.0.0",
44
"author": "PubNub <[email protected]>",
55
"description": "Publish & Subscribe Real-time Messaging with PubNub",
66
"scripts": {

src/core/components/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export default class {
314314
}
315315

316316
getVersion() {
317-
return '6.0.0';
317+
return '7.0.0';
318318
}
319319

320320
_addPnsdkSuffix(name, suffix) {

src/core/pubnub-common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ export default class {
479479
),
480480
};
481481

482-
// User entity
482+
// User Apis
483483
this.setUser = (args) =>
484484
this.objects.setUUIDMetadata({
485485
uuid: args.userId,
@@ -500,7 +500,7 @@ export default class {
500500

501501
this.getUsers = this.objects.getAllUUIDMetadata;
502502

503-
// Space entity
503+
// Space apis
504504
this.setSpace = (args) =>
505505
this.objects.setChannelMetadata({
506506
channel: args.spaceId,

0 commit comments

Comments
 (0)