Changelog
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
Changelog
5.0.1 (2019-09-02)
[FIXED] We no longer include an unnecessary Buffer polyfill in bundles
Changelog
5.0.0 (2019-07-19)
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
Changelog
4.4.0 (2019-02-14)
[NEW] Callbacks bound to client events on presence channels will be called with an extra argument containing the user_id
of the message sender
[NEW] Warn when trying to trigger client-events to a channel that isn't subscribed
Changelog
4.3.1 (2018-09-03)
[FIXED] Honour protocol error codes received after connection succeeds
Changelog
4.3.0 (2018-08-13)
[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!
Changelog
4.2.2 (2018-01-04)
[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!
Changelog
4.2.1 (2017-09-28)
[FIXED] Correct version numbers in file headers (v4.2.0 still showed 4.1.0).
Changelog
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!
Changelog
4.1.0 (2017-04-20)
[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!