Skip to content

Releases: pusher/pusher-http-node

v5.2.0

13 Nov 19:36
85d1780
Compare
Choose a tag to compare

5.2.0

  • [CHANGED] Remove old notification references. It's no longer being used

v5.1.3

03 May 14:58
1812cb4
Compare
Choose a tag to compare

5.1.3

[FIXED] Parsing of the extraTokens in webhook's isValid method

v5.1.2

09 Dec 14:38
Compare
Choose a tag to compare

5.1.2

  • [CHANGED] Add types/node-fetch to dependencies.

v5.1.1-beta

08 Aug 07:46
51bbd62
Compare
Choose a tag to compare

5.1.1-beta (2022-06-01)

[FIXED] Updated typescript types with new user features.

v5.1.1-beta

01 Jul 08:03
Compare
Choose a tag to compare

[FIXED] Updated typescript types with new user features.

v5.1.0-beta

22 Apr 14:39
360b631
Compare
Choose a tag to compare

[ADDED] Support for terminating user connections based on user id
[ADDED] Support for sending messages to users based on user id
[ADDED] Support for implementing user authentication endpoints
[DEPRECATED] authenticate function is deprecated. The same functionality (and interface) is now provided by authorizeChannel

v5.0.1

25 Jan 10:42
e74721a
Compare
Choose a tag to compare

[FIXED] Incorrect require on version.js was causing a compilation error in Webpack
[FIXED] Inconsistent encoding for shared secret between other SDKs

v5.0.0

18 Feb 17:28
7559fa7
Compare
Choose a tag to compare

[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.

v4.0.0

20 Oct 10:18
Compare
Choose a tag to compare

[BREAKING CHANGE] Methods that previously took callbacks now return promises.

  • trigger, triggerBatch, get, and post return a promise which resolves
    to a Response (as provided by node-fetch),
    or rejects to a RequestError. Of particular note:
    • Response has a status where is used to have a statusCode.
    • RequestError has a status where is used to have a statusCode to
      mirror the above.
    • Response has
      json,
      text, etc to
      access the body where before it exposed body as a string.

[BREAKING CHANGE] The Pusher constructor no longer accepts proxy or keepAlive, but instead accepts agent.

const pusher = new Pusher.forURL(process.env.PUSHER_URL, {
  agent: new HttpsProxyAgent("http://localhost:8321"),
})
  • To configure keep alive:
const pusher = new Pusher.forURL(process.env.PUSHER_URL, {
  agent: new https.Agent({ keepAlive: true }),
})

[REMOVED] Specific Parse Cloud build. I don't believe it is required any more, but please open an issue if there are any problems using this release on Parse Cloud!

v3.0.1

27 Mar 14:21
5e5a704
Compare
Choose a tag to compare

[UPGRADED] development dependencies

[ADDED] encryptionMasterKeyBase64 constructor parameter to make it easier to use the full range of 32 byte binary values in encryption key
[DEPRECATED] encryptionMasterKey constructor parameter - use encryptionMasterKeyBase64