Releases: pusher/pusher-js
v5.0.2
v5.0.1
v5.0.0
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
4.3.1
- [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
- 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 toforceTLS
-encrypted
will still work!
Release v4.2.2
- 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
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
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
[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!