yarn socket.io-client 3.0.0-rc1

latest releases: 4.7.5, 4.7.4, 4.7.3...
3 years ago

Features

  • add ES6 module export (cbabb03)
  • do not reuse the Engine.IO id (bbe94ad)
  • remove the implicit connection to the default namespace (249e0be)
  • split the events of the Manager and Socket (132f8ec)
  • throw upon reserved event names (6494f61)

BREAKING CHANGES

  • the Socket instance will no longer forward the events of its Manager

Those events can still be accessed on the Manager instance though:

socket.io.on("reconnect", () => {
  // ...
});
  • the slim build was removed

There is now two builds:

  • a development build, with the debug dependency: dist/socket.io.js
  • a production build, without the debug dependency: dist/socket.io.min.js

Links:

Don't miss a new socket.io-client release

NewReleases is sending notifications on new releases.