From 9bd0338439baed36e1bcdd5d31645e386459583a Mon Sep 17 00:00:00 2001 From: Will Sewell Date: Thu, 18 Feb 2021 16:40:36 +0000 Subject: [PATCH 1/2] Describe v5.0.0 in the CHANGELOG --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 295fbce..509e67d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 5.0.0 (2021-02-18) + +[BREAKING CHANGE] `trigger` now accepts a `params` _object_ instead of a `socket_id` as the third parameter. +[ADDED] Support for requesting channel attributes as part of a `trigger` and `triggerBatch` request via an `info` parameter. + ## 4.0.2 (2020-11-30) [FIXED] Workaround for a [Webpack bug](https://github.com/webpack/webpack/issues/4742) (thanks @JJ-Kidd) From 042daf51c6d0eb8eb26575ce0ff014175e508682 Mon Sep 17 00:00:00 2001 From: Will Sewell Date: Thu, 18 Feb 2021 16:40:40 +0000 Subject: [PATCH 2/2] 5.0.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d05541..68c2933 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "pusher", - "version": "4.0.2", + "version": "5.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fd46769..32dfe46 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pusher", "description": "Node.js client to interact with the Pusher Channels REST API", - "version": "4.0.2", + "version": "5.0.0", "author": "Pusher ", "contributors": [ {