Skip to content

v10.0.0

Compare
Choose a tag to compare
@jondubois jondubois released this 14 Feb 23:15
· 240 commits to master since this release
  • The socketCluster.connect(options) method was renamed to socketCluster.create(options) (the connect alias is still available but deprecated).
  • Calling socket.destroy() is now supported and is the same as calling socketCluster.destroy(socket).
  • Non-multiplexed sockets now also show up in the socketCluster.clients (previously called socketCluster.connections) object/map.

Breaking changes:

  • The socketCluster.connections object was renamed to socketCluster.clients
  • The socketCluster.destroy(...) method now takes a socket object as argument (instead of an options object).