Skip to content

Commit

Permalink
Add environment flags to disable modules (#372)
Browse files Browse the repository at this point in the history
feat(tree-shaking): add environment flags to disable modules

Add environment flags processing to opt-out feature modules from built bundles.

fix(api): add 'Content-Type' headers for endpoints
  • Loading branch information
parfeon authored May 21, 2024
1 parent 5607747 commit 25b4c94
Show file tree
Hide file tree
Showing 36 changed files with 2,029 additions and 1,662 deletions.
13 changes: 10 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
---
changelog:
- 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:
Expand Down Expand Up @@ -981,7 +988,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '8.1.0'
version: '8.2.0'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -997,7 +1004,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.1.0.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.2.0.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -1668,7 +1675,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v8.1.0/pubnub.8.1.0.js
location: https://github.com/pubnub/javascript/releases/download/v8.2.0/pubnub.8.2.0.js
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v8.2.0
May 21 2024

#### Added
- Add environment flags processing to opt-out feature modules from built bundles.

#### Fixed
- Add `application/json` content type for `Grant Token`, `Add Message Action` and `Generate File Upload URL` endpoints. Fixed the following issues reported by [@SpaseESG](https://github.com/SpaseESG): [#373](https://github.com/pubnub/javascript/issues/373).

## v8.1.0
May 16 2024

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.8.1.0.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.1.0.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.0.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.2.0.min.js

2. Configure your keys:

Expand Down
Loading

0 comments on commit 25b4c94

Please sign in to comment.