Skip to content

Releases: socketio/socket.io-client

3.0.0-rc3

27 Oct 20:32
a9127ce
Compare
Choose a tag to compare
3.0.0-rc3 Pre-release
Pre-release

Code Refactoring

  • rename ERROR to CONNECT_ERROR (13e1db7)

Features

  • add bundle with msgpack parser (71d6048)
  • add support for catch-all listeners (55f464f)
  • add volatile events (7ddad2c)

Links:

  • Milestone: 3.0.0
  • Diff: 3.0.0-rc2...3.0.0-rc3
  • Server release: 3.0.0-rc3
  • engine.io-client version: ~4.0.0
  • ws version: ~6.1.0
  • Build size
    • socket.io.min.js: 60.8 KB (+ 1.1 KB)
    • socket.io.msgpack.min.js: 62 KB

3.0.0-rc2

15 Oct 12:00
b600e78
Compare
Choose a tag to compare
3.0.0-rc2 Pre-release
Pre-release

Features

  • move binary detection back to the parser (1789094)

BREAKING CHANGES

  • the Socket#binary() method is removed, as this use case is now covered by the ability to provide your own parser.

Links:

  • Milestone: 3.0.0
  • Diff: 3.0.0-rc1...3.0.0-rc2
  • Server release: 3.0.0-rc2
  • engine.io-client version: ~4.0.0
  • ws version: ~6.1.0
  • Build size
    • socket.io.min.js:
      • min: 59.7 KB (- 2.3 KB)

3.0.0-rc1

13 Oct 22:55
a838ff1
Compare
Choose a tag to compare
3.0.0-rc1 Pre-release
Pre-release

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:

2.3.1

30 Sep 16:36
4631ed6
Compare
Choose a tag to compare

The debug dependency has been reverted to ~3.1.0, as the newer versions contains ES6 syntax which breaks in IE
browsers.

Please note that this only applied to users that bundle the Socket.IO client in their application, with webpack for
example, as the "official" bundles (in the dist/ folder) were already transpiled with babel.

For webpack users, you can also take a look at the webpack-remove-debug plugin.

Bug Fixes

  • fix reconnection after opening socket asynchronously (#1253) (050108b)

Links:

2.3.0

28 Sep 11:57
661f1e7
Compare
Choose a tag to compare

Links:

2.2.0

29 Nov 11:48
3020e45
Compare
Choose a tag to compare

Bug fixes

  • remove any reference to the global variable (related: #1166)

Links:

2.1.1

29 Nov 11:43
8372591
Compare
Choose a tag to compare

Bug fixes

  • fire an error event on middleware failure for non-root namespace (#1202)

Links:

2.1.0

29 Mar 22:08
3eb047f
Compare
Choose a tag to compare

Matching Socket.IO 2.1.0 release notes

Features

  • add a 'binary' flag (#1194)
// by default, the object is recursively scanned to check whether it contains some binary data
// in the following example, the check is skipped in order to improve performance
socket.binary(false).emit('plain-object', object);

Links:

2.0.4

28 Sep 10:26
Compare
Choose a tag to compare

Following server version bump.

Links:

2.0.3

13 Jun 06:07
Compare
Choose a tag to compare

Following server version bump.

Links: