-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related blog post: https://socket.io/blog/socket-io-3-release/ See also: socketio/socket.io-adapter@1.1.2...2.0.3 BREAKING CHANGES: - all the requests (for inter-node communication) now return a Promise instead of accepting a callback Before: ```js io.of('/').adapter.allRooms((err, rooms) => { console.log(rooms); // an array containing all rooms (accross every node) }); ``` After: ```js const rooms = await io.of('/').adapter.allRooms(); console.log(rooms); // a Set containing all rooms (across every node) ``` - RedisAdapter.clients() is renamed to RedisAdapter.sockets() See socketio/socket.io-adapter@130f28a - RedisAdapter.customHook() and RedisAdapter.customRequest() are removed Those methods will be replaced by a more intuitive API in a future iteration. - support for Node.js 8 is dropped See https://github.com/nodejs/Release
- Loading branch information
1 parent
2e39996
commit d9bcb19
Showing
9 changed files
with
2,137 additions
and
1,222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,6 @@ results | |
|
||
npm-debug.log | ||
node_modules | ||
.idea | ||
.idea | ||
.nyc_output/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.