Releases: socketio/socket.io-client
Releases · socketio/socket.io-client
3.0.0-rc3
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
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)
- min:
3.0.0-rc1
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:
- Milestone: 3.0.0
- Diff: 2.3.1...3.0.0-rc1
- Server release: 3.0.0-rc1
- engine.io-client version:
~4.0.0
(diff: socketio/engine.io-client@3.4.0...4.0.0) - ws version:
~6.1.0
- Build size
socket.io.min.js
:- min:
62.0 KB (+ 9.4 KB)
- min:
2.3.1
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
Links:
- Milestone: 2.3.1
- Diff: 2.3.0...2.3.1
- Server release: -
- engine.io-client version:
~3.4.0
- ws version:
~6.1.0
- Build size
socket.io.js
:- min:
61.3 KB (- 5.7 KB)
- min+gzip:
19.7 KB (- 0.8 KB)
- min:
socket.io.slim.js
:- min:
52.6 KB (+ 0.4 KB)
- min+gzip:
16.5 KB (+ 0.1 KB)
- min:
- CDN
2.3.0
Links:
- Milestone: -
- Diff: 2.2.0...2.3.0
- Server release: 2.3.0
- engine.io-client version:
~3.4.0
(diff: socketio/engine.io-client@3.3.1...3.4.0) - ws version:
~6.1.0
- Build size
socket.io.js
:- min:
67.0 KB (+ 6.0 KB)
- min+gzip:
20.5 KB (+ 1.0 KB)
- min:
socket.io.slim.js
:- min:
52.2 KB (+ 0.4 KB)
- min+gzip:
16.4 KB (+ 0.1 KB)
- min:
- CDN
2.2.0
Bug fixes
- remove any reference to the
global
variable (related: #1166)
Links:
- Milestone: 2.2.0
- Diff: 2.1.1...2.2.0
- Server release: 2.2.0
- engine.io-client version:
~3.3.1
(diff: socketio/engine.io-client@3.2.0...3.3.1) - ws version:
~6.1.0
(diff: websockets/ws@3.3.1...6.1.2) - Build size
socket.io.js
:- min:
61.0 KB (=)
- min+gzip:
19.5 KB (- 0.1 KB)
- min:
socket.io.slim.js
:- min:
51.8 KB (=)
- min+gzip:
16.3 KB (=)
- min:
- CDN
2.1.1
Bug fixes
- fire an error event on middleware failure for non-root namespace (#1202)
Links:
- Milestone: 2.1.1
- Diff: 2.1.0...2.1.1
- Server release: 2.1.1
- engine.io-client version:
~3.2.0
- ws version:
~3.3.1
- Build size
socket.io.js
:- min:
61.0 KB (+ 0.1 KB)
- min+gzip:
19.6 KB (=)
- min:
socket.io.slim.js
:- min:
51.8 KB (=)
- min+gzip:
16.3 KB (=)
- min:
- CDN
2.1.0
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:
- Milestone: 2.1.0
- Diff: 2.0.4...2.1.0
- Server release: 2.1.0
- Diff
engine.io-client
from~3.1.0
to~3.2.0
: socketio/engine.io-client@3.1.0...3.2.0 - Diff
ws
from~2.3.1
to~3.3.1
: websockets/ws@2.3.1...3.3.1 - Build size
socket.io.js
:min: 60.9 KB
min+gzip: 19.6 KB
socket.io.slim.js
:min: 51.8 KB
min+gzip: 16.3 KB
- CDN
2.0.4
Following server version bump.
Links:
- Milestone: 2.0.4
- Diff: 2.0.3...2.0.4
- Server release: 2.0.4
- Diff
engine.io-client
: - - Diff
ws
: - - Build size
socket.io.js
:min: 59.3 KB
min+gzip: 19.0 KB
socket.io.slim.js
:min: 51.2 KB
min+gzip: 16.0 KB
- CDN
2.0.3
Following server version bump.
Links:
- Milestone: 2.0.3
- Diff: 2.0.2...2.0.3
- Server release: 2.0.3
- Diff
engine.io-client
: - - Diff
ws
: - - Build size
socket.io.js
:min: 59.8 KB
min+gzip: 19.2 KB
socket.io.slim.js
:min: 51.7 KB
min+gzip: 16.3 KB
- CDN