Socket.io v3.0.0-rc3 Release Notes

Release Date: 2020-10-26 // over 3 years ago
  • ๐Ÿ”‹ Features

    • โž• add support for catch-all listeners (5c73733)
    • ๐Ÿ”€ make Socket#join() and Socket#leave() synchronous (129c641)
    • โœ‚ remove prod dependency to socket.io-client (7603da7)

    ๐Ÿ’ฅ BREAKING CHANGES

    ๐Ÿ‘€ the Socket#use() method is removed (see 5c73733)

    Socket#join() and Socket#leave() do not accept a callback argument anymore.

    Before:

    socket.join("room1", () =\> {io.to("room1").emit("hello");});
    

    After:

    socket.join("room1");io.to("room1").emit("hello");// or await socket.join("room1"); for custom adapters
    

    ๐Ÿ”— Links: