Skip to content

Releases: pusher/pusher-js

v5.0.2

25 Sep 17:13
830463c
Compare
Choose a tag to compare

5.0.2 (2019-09-25)

[FIXED] Utilise new API for @react-native-community/netinfo suppressing
deprecation warnings

[CHANGED] output an ES6 module from typescript to allow webpack to optimise the
bundle more effectively (thanks to @stof for this change)

[CHANGED] Use prettier to format source

v5.0.1

02 Sep 13:11
Compare
Choose a tag to compare

[FIXED] We no longer include an unnecessary Buffer polyfill in bundles

v5.0.0

22 Jul 10:39
de3d5ab
Compare
Choose a tag to compare

This is a major version bump but should only contain breaking change for
react-native users.

[CHANGED] The react-native build now assumes @react-native-community/netinfo is
available in the host project. This change was necessary since netinfo was
removed from react-native core.

[CHANGED] The reconnect strategy is no longer built with a DSL. This makes the
code much more easily optimised by the javascript engine and should improve
load times significantly. Thanks to @stof for his contribution.

[CHANGED] The project is now built with recent versions of webpack and
typescript. All other build deps were updated and the build process was
simplified.

[FIXED] An issue that broke encrypted channels in node has been resolved

[FIXED] Some consistently flaky tests were fixed and we switched to headless
browsers for test runs where possible (including in CI).

[CHANGED] The node dependencies are now bundled in the node dist file so that
web/react-native users don't need to install unnecessary dependencies

v4.4.0

14 Feb 16:46
7837cf2
Compare
Choose a tag to compare
  • Callbacks bound to client events on presence channels will be called with an extra argument containing the user_id of the message sender

  • Warn when trying to trigger client-events to a channel that isn't subscribed

4.3.1

03 Sep 12:51
6f9e7b3
Compare
Choose a tag to compare
  • [FIXED] Honour protocol error codes received after connection succeeds

Previously, if the client received an error code from the server after the initial connection had succeeded, a reconnect attempt would be made immediately, regardless of the code sent by the server.

Release v4.3.0

13 Aug 14:01
Compare
Choose a tag to compare
  • New This release adds support for end to end encrypted channels, a new feature for Channels. Read more in our docs.
  • Deprecated Renamed encrypted option to forceTLS - encrypted will still work!

Release v4.2.2

04 Jan 11:46
@hph hph
c9e273d
Compare
Choose a tag to compare
  • Fixed Do not warn about a missing cluster when the host is explicitly set.
  • Fixed Only log with a custom logger when configured (prevents double
    logging).
  • Fixed Update React Native NetInfo usage due to deprecated modules.
  • New Add wsPath option (see README.md for details).

Many thanks to @sunweiyang, @rajivm and @WillSewell for their contributions!

Release v4.2.1

28 Sep 08:58
@hph hph
fdcd41f
Compare
Choose a tag to compare

4.2.1 (2017-09-28)

[FIXED] Correct version numbers in file headers (v4.2.0 still showed 4.1.0).

Release v4.2.0

28 Sep 08:08
@hph hph
1b32a3a
Compare
Choose a tag to compare

4.2.0 (2017-09-28)

[FIXED] Fixed an issue where pusher-js would not attempt to subscribe to
channels that were in the process of being subscribed to when the connection
failed.

[FIXED] Does not attempt to call handlesActivityChecks on an undefined
connection instance anymore. Fixes issues #82 and #233.

[NEW] More helpful error messages can now be logged, with URLs.

[CHANGED] Various improvements in README.md.

Many thanks to @hengwoon, @leesio, @juliangruber and Heng for their
contributions to this release!

Release v4.1.0

20 Apr 09:53
@hph hph
ad77afd
Compare
Choose a tag to compare

[NEW] Enable custom authorizers. For more information, see here.

[NEW] Send credentials with Fetch requests in workers.

[NEW] Replace main file with Node.js version and add new browser field. This also makes require('pusher-js') work out of the box.

[FIXED] Change .done to .then in React Native.

[FIXED] Include minified files when installing with Bower.

[CHANGED] Change pusher to socket for instance names in the readme.

Many thanks to @ejlangev, @piperchester, @wawyed, @mgalgs, @jamesfisher, @kubik369 & @mrbabbs for their contributions to this release!