Skip to content

Commit b5a1792

Browse files
Releasing v4.28.0
1 parent 446e869 commit b5a1792

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+9321
-1822
lines changed

.babelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"comments": false,
44
"plugins": [
55
"@babel/plugin-proposal-class-properties",
6+
"@babel/plugin-proposal-optional-chaining",
7+
"@babel/plugin-proposal-nullish-coalescing-operator",
68
"@babel/plugin-transform-flow-strip-types",
79
"@babel/plugin-transform-modules-commonjs",
810
"add-module-exports"

.eslintrc.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
extends: airbnb/base
2+
23
parser: babel-eslint
4+
35
plugins:
46
- mocha
57
- flowtype
8+
9+
ignorePatterns:
10+
- "flow-typed/**/*"
11+
- "test/**/*"
12+
13+
globals:
14+
"$Shape": readonly
15+
"$Diff": readonly
16+
17+
overrides:
18+
- files: test/**/*
19+
globals:
20+
"expect": readonly
21+
env:
22+
mocha: true
23+
rules:
24+
no-unused-expressions: 0
25+
626
rules:
727
mocha/no-exclusive-tests: 2
828
flowtype/require-valid-file-annotation: 2

.flowconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
[ignore]
2-
.*/test/.*
3-
.*/node_modules/nock/node_modules/changelog/examples/node.json
4-
51
[include]
62
.*/src/.*
73

84
[libs]
9-
./core/src/flow_interfaces.js
5+
./flow-typed
106

117
[options]
128
esproposal.class_static_fields=enable
9+
esproposal.optional_chaining=enable

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@ javascript.iml
77
*.json-e
88
upload/*
99
coverage/
10+
.nyc_output/
1011
.idea
1112
*.iml
1213
dist/web/stats.json
1314
dist/titanium/stats.json
14-
15-
deployment_keys
16-
deployment_keys-private
17-
deployment_keys.tar
18-
19-
.travis/README.md
20-
.travis/scripts

.mocharc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
spec: test/**/*.test.js
2+
require: test/setup.js
3+
exclude: test/dist/*.js
4+
timeout: 5000
5+
reporter: spec

.nycrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
report-dir: coverage
2+
reporter: ["json", "lcov", "text"]
3+
all: true
4+
5+
include: src/**/*.js

.pubnub.yml

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
changelog:
3+
-
4+
changes:
5+
-
6+
text: "Added Objects v2 API and deprecated Objects v1 API."
7+
type: feature
8+
date: 2020-06-03
9+
version: v4.28.0
310
-
411
changes:
512
-
@@ -781,24 +788,22 @@ features:
781788
signal:
782789
- SIGNAL-SEND
783790
objects:
784-
- OBJECTS-GET-USER
785-
- OBJECTS-GET-USERS
786-
- OBJECTS-CREATE-USER
787-
- OBJECTS-UPDATE-USER
788-
- OBJECTS-DELETE-USER
789-
- OBJECTS-GET-SPACE
790-
- OBJECTS-GET-SPACES
791-
- OBJECTS-CREATE-SPACE
792-
- OBJECTS-UPDATE-SPACE
793-
- OBJECTS-DELETE-SPACE
794-
- OBJECTS-GET-MEMBERSHIPS
795-
- OBJECTS-JOIN-SPACES
796-
- OBJECTS-UPDATE-MEMBERSHIPS
797-
- OBJECTS-LEAVE-SPACES
798-
- OBJECTS-GET-MEMBERS
799-
- OBJECTS-ADD-MEMBERS
800-
- OBJECTS-UPDATE-MEMBERS
801-
- OBJECTS-REMOVE-MEMBERS
791+
- OBJECTS-GET-ALL-UUID-METADATA
792+
- OBJECTS-GET-UUID-METADATA
793+
- OBJECTS-SET-UUID-METADATA
794+
- OBJECTS-REMOVE-UUID-METADATA
795+
- OBJECTS-GET-ALL-CHANNEL-METADATA
796+
- OBJECTS-GET-CHANNEL-METADATA
797+
- OBJECTS-SET-CHANNEL-METADATA
798+
- OBJECTS-REMOVE-CHANNEL-METADATA
799+
- OBJECTS-GET-MEMBERSHIPS-V2
800+
- OBJECTS-SET-MEMBERSHIPS-V2
801+
- OBJECTS-REMOVE-MEMBERSHIPS-V2
802+
- OBJECTS-GET-CHANNEL-MEMBERS-V2
803+
- OBJECTS-SET-CHANNEL-MEMBERS-V2
804+
- OBJECTS-REMOVE-CHANNEL-MEMBERS-V2
805+
- OBJECTS-MANAGE-MEMBERSHIPS-V2
806+
- OBJECTS-MANAGE-CHANNEL-MEMBERS-V2
802807
message-actions:
803808
- MESSAGE-ACTIONS-GET
804809
- MESSAGE-ACTIONS-ADD
@@ -835,4 +840,4 @@ supported-platforms:
835840
- "Ubuntu 14.04 and up"
836841
- "Windows 7 and up"
837842
version: "Pubnub Javascript for Node"
838-
version: "4.27.6"
843+
version: "4.28.0"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [v4.28.0](https://github.com/pubnub/javascript/releases/tag/v4.28.0)
2+
June-03-2020
3+
4+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.27.6...v4.28.0)
5+
6+
- 🌟️ Added Objects v2 API and deprecated Objects v1 API.
7+
18
## [v4.27.6](https://github.com/pubnub/javascript/releases/tag/v4.27.6)
29
April-24-2020
310

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.6.min.js
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.6.js
25+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.0.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.28.0.js

0 commit comments

Comments
 (0)