Skip to content

Releases: socketio/socket.io-client

4.2.0

30 Aug 07:25
0a7efc8
Compare
Choose a tag to compare

Bug Fixes

  • typings: allow async listener in typed events (66e00b7)
  • allow to set randomizationFactor to 0 (#1447) (dfb46b5)

Features

  • add an option to use native timer functions (#1479) (4e1b656)

Links:

  • Diff: 4.1.3...4.2.0
  • Server release: 4.2.0
  • engine.io-client version: ~5.2.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 64.5 KB (+ 1.5 KB)
    • socket.io.msgpack.min.js: 65.5 KB (+ 1.4 KB)

4.1.3

10 Jul 10:10
7326bd5
Compare
Choose a tag to compare

This release only contains a bump from engine.io-client.

Links:

  • Diff: 4.1.2...4.1.3
  • Server release: 4.1.3
  • engine.io-client version: ~5.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 63 KB (+ 0.2 KB)
    • socket.io.msgpack.min.js: 64.1 KB (+ 0.2 KB)

4.1.2

17 May 21:21
b466c6f
Compare
Choose a tag to compare

Bug Fixes

  • typings: add missing closeOnBeforeunload option (#1469) (35d27df)
  • typings: add missing requestTimeout option (#1467) (c8dfbb1)

Links:

  • Diff: 4.1.1...4.1.2
  • Server release: 4.1.2
  • engine.io-client version: ~5.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (=)
    • socket.io.msgpack.min.js: 63.9 KB (=)

4.1.1

11 May 22:08
7d6a71c
Compare
Choose a tag to compare

There were some minor bug fixes on the server side, which mandate a client bump.

Links:

  • Diff: 4.1.0...4.1.1
  • Server release: 4.1.1
  • engine.io-client version: ~5.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (=)
    • socket.io.msgpack.min.js: 63.9 KB (=)

4.1.0

11 May 07:23
411499e
Compare
Choose a tag to compare

Blog post: https://socket.io/blog/socket-io-4-1-0/

Features

  • add the "closeOnBeforeunload" option (dcb85e9, from engine.io-client)

Links:

  • Diff: 4.0.2...4.1.0
  • Server release: 4.1.0
  • engine.io-client version: ~5.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (=)
    • socket.io.msgpack.min.js: 63.9 KB (=)

4.0.2

06 May 12:34
6279065
Compare
Choose a tag to compare

Bug Fixes

  • typings: add fallback to untyped event listener (5394669)
  • ensure buffered events are sent in order (34f822f)
  • ensure connections are properly multiplexed (dd2a8fc)
  • properly export the Socket class (e20d487)

Links:

  • Diff: 4.0.1...4.0.2
  • Server release: 4.0.2
  • engine.io-client version: ~5.0.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (=)
    • socket.io.msgpack.min.js: 63.9 KB (=)

4.0.1

31 Mar 23:28
2edf0f3
Compare
Choose a tag to compare

Bug Fixes

  • typings: make auth property public (#1455) (c150223)
  • typings: update definition to match wrapper.mjs (#1456) (48f573f)

Links:

  • Diff: 4.0.0...4.0.1
  • Server release: 4.0.1
  • engine.io-client version: ~5.0.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (=)
    • socket.io.msgpack.min.js: 63.9 KB (=)

3.1.3

12 Mar 13:37
b574be7
Compare
Choose a tag to compare

Bug Fixes

  • bundle: restore support for JS modules (afa7953)

Links:

  • Diff: 3.1.2...3.1.3
  • Server release: -
  • engine.io-client version: ~4.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 60.3 KB (=)
    • socket.io.msgpack.min.js: 61.3 KB (=)

4.0.0

10 Mar 11:32
d28cde7
Compare
Choose a tag to compare

The major bump is due to some breaking changes on the server side.

Blog post: https://socket.io/blog/socket-io-4-release/

Bug Fixes

  • bundle: restore support for JS modules (43613d1)

Features

  • add autoUnref option (6abfa1f)
  • add support for typed events (5902365)

Links:

  • Diff: 3.1.2...4.0.0
  • Server release: 4.0.0
  • engine.io-client version: ~5.0.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 62.8 KB (+ 2.5 KB)
    • socket.io.msgpack.min.js: 63.9 KB (+2.6 KB)

3.1.2

26 Feb 00:21
78ec5a6
Compare
Choose a tag to compare

Bug Fixes

  • restore support for web workers (13b32b3)
  • silently close the transport in the beforeunload hook (ed48b5d, from engine.io-client)

Links:

  • Diff: 3.1.1...3.1.2
  • Server release: 3.1.2
  • engine.io-client version: ~4.1.0
  • ws version: ~7.4.2
  • Build size
    • socket.io.min.js: 60.3 KB (+ 0.1 KB)
    • socket.io.msgpack.min.js: 61.3 KB