|
1 | 1 | # History |
2 | 2 |
|
3 | | -- [4.5.3](#453-2022-10-15) (2022-10-15) |
4 | | -- [4.5.2](#452-2022-09-02) (2022-09-02) |
5 | | -- [4.5.1](#451-2022-05-17) (2022-05-17) |
6 | | -- [4.5.0](#450-2022-04-23) (2022-04-23) |
7 | | -- [4.4.1](#441-2022-01-06) (2022-01-06) |
8 | | -- [4.4.0](#440-2021-11-18) (2021-11-18) |
9 | | -- [4.3.2](#432-2021-10-16) (2021-10-16) |
10 | | -- [4.3.1](#431-2021-10-15) (2021-10-15) |
11 | | -- [4.3.0](#430-2021-10-14) (2021-10-14) |
12 | | -- [4.2.0](#420-2021-08-30) (2021-08-30) |
13 | | -- [4.1.3](#413-2021-07-10) (2021-07-10) |
14 | | -- [4.1.2](#412-2021-05-17) (2021-05-17) |
15 | | -- [4.1.1](#411-2021-05-11) (2021-05-11) |
16 | | -- [4.1.0](#410-2021-05-11) (2021-05-11) |
17 | | -- [4.0.2](#402-2021-05-06) (2021-05-06) |
18 | | -- [4.0.1](#401-2021-03-31) (2021-03-31) |
19 | | -- [4.0.0](#400-2021-03-10) (2021-03-10) |
20 | | -- [3.1.2](#312-2021-02-26) (2021-02-26) |
21 | | -- [3.1.1](#311-2021-02-03) (2021-02-03) |
22 | | -- [3.1.0](#310-2021-01-15) (2021-01-15) |
23 | | -- [3.0.5](#305-2021-01-05) (2021-01-05) |
24 | | -- [3.0.4](#304-2020-12-07) (2020-12-07) |
25 | | -- [3.0.3](#303-2020-11-19) (2020-11-19) |
26 | | -- [3.0.2](#302-2020-11-17) (2020-11-17) |
27 | | -- [3.0.1](#301-2020-11-09) (2020-11-09) |
28 | | -- [3.0.0](#300-2020-11-05) (2020-11-05) |
| 3 | +- [4.5.3](#453-2022-10-15) (Oct 2022) |
| 4 | +- [4.5.2](#452-2022-09-02) (Sep 2022) |
| 5 | +- [2.5.0](#250-2022-06-26) (Jun 2022) (from the [2.x](https://github.com/socketio/socket.io-client/tree/2.x) branch) |
| 6 | +- [4.5.1](#451-2022-05-17) (May 2022) |
| 7 | +- [4.5.0](#450-2022-04-23) (Apr 2022) |
| 8 | +- [4.4.1](#441-2022-01-06) (Jan 2022) |
| 9 | + |
| 10 | +- [4.4.0](#440-2021-11-18) (Nov 2021) |
| 11 | +- [4.3.2](#432-2021-10-16) (Oct 2021) |
| 12 | +- [4.3.1](#431-2021-10-15) (Oct 2021) |
| 13 | +- [4.3.0](#430-2021-10-14) (Oct 2021) |
| 14 | +- [4.2.0](#420-2021-08-30) (Aug 2021) |
| 15 | +- [4.1.3](#413-2021-07-10) (Jul 2021) |
| 16 | +- [4.1.2](#412-2021-05-17) (May 2021) |
| 17 | +- [4.1.1](#411-2021-05-11) (May 2021) |
| 18 | +- [4.1.0](#410-2021-05-11) (May 2021) |
| 19 | +- [4.0.2](#402-2021-05-06) (May 2021) |
| 20 | +- [4.0.1](#401-2021-03-31) (Mar 2021) |
| 21 | +- [3.1.3](#313-2021-03-12) (Mar 2021) (from the [3.1.x](https://github.com/socketio/socket.io-client/tree/3.1.x) branch) |
| 22 | +- [4.0.0](#400-2021-03-10) (Mar 2021) |
| 23 | +- [3.1.2](#312-2021-02-26) (Feb 2021) |
| 24 | +- [3.1.1](#311-2021-02-03) (Feb 2021) |
| 25 | +- [3.1.0](#310-2021-01-15) (Jan 2021) |
| 26 | +- [3.0.5](#305-2021-01-05) (Jan 2021) |
| 27 | +- [2.4.0](#240-2021-01-04) (Jan 2021) (from the [2.x](https://github.com/socketio/socket.io-client/tree/2.x) branch) |
| 28 | + |
| 29 | +- [3.0.4](#304-2020-12-07) (Dec 2020) |
| 30 | +- [3.0.3](#303-2020-11-19) (Nov 2020) |
| 31 | +- [3.0.2](#302-2020-11-17) (Nov 2020) |
| 32 | +- [3.0.1](#301-2020-11-09) (Nov 2020) |
| 33 | +- [3.0.0](#300-2020-11-05) (Nov 2020) |
29 | 34 |
|
30 | 35 | # Release notes |
31 | 36 |
|
|
47 | 52 |
|
48 | 53 |
|
49 | 54 |
|
| 55 | +# [2.5.0](https://github.com/socketio/socket.io-client/compare/2.4.0...2.5.0) (2022-06-26) |
| 56 | + |
| 57 | + |
| 58 | +### Bug Fixes |
| 59 | + |
| 60 | +* ensure buffered events are sent in order ([991eb0b](https://github.com/Automattic/socket.io-client/commit/991eb0b0289bbbf680099e6d42b302beee7568b8)) |
| 61 | + |
| 62 | + |
| 63 | + |
50 | 64 | ## [4.5.1](https://github.com/socketio/socket.io-client/compare/4.5.0...4.5.1) (2022-05-17) |
51 | 65 |
|
52 | 66 | There were some minor bug fixes on the server side, which mandate a client bump. |
@@ -114,6 +128,14 @@ The server will now include a "maxPayload" field in the handshake details, allow |
114 | 128 |
|
115 | 129 | * add timeout feature ([ccf7998](https://github.com/socketio/socket.io-client/commit/ccf7998cc5049d02022567aedfb263de875a06a5)) |
116 | 130 |
|
| 131 | +```js |
| 132 | +socket.timeout(5000).emit("my-event", (err) => { |
| 133 | + if (err) { |
| 134 | + // the server did not acknowledge the event in the given delay |
| 135 | + } |
| 136 | +}); |
| 137 | +``` |
| 138 | + |
117 | 139 |
|
118 | 140 |
|
119 | 141 | ## [4.3.2](https://github.com/socketio/socket.io-client/compare/4.3.1...4.3.2) (2021-10-16) |
@@ -215,6 +237,16 @@ There were some minor bug fixes on the server side, which mandate a client bump. |
215 | 237 | * **typings:** update definition to match wrapper.mjs ([#1456](https://github.com/socketio/socket.io-client/issues/1456)) ([48f573f](https://github.com/socketio/socket.io-client/commit/48f573f6f6c4d542e6a098e7f4ae472b888b5664)) |
216 | 238 |
|
217 | 239 |
|
| 240 | + |
| 241 | +## [3.1.3](https://github.com/socketio/socket.io-client/compare/3.1.2...3.1.3) (2021-03-12) |
| 242 | + |
| 243 | + |
| 244 | +### Bug Fixes |
| 245 | + |
| 246 | +* **bundle:** restore support for JS modules ([afa7953](https://github.com/socketio/socket.io-client/commit/afa79532f8a422cc9246175abdbe30299a0b0281)) |
| 247 | + |
| 248 | + |
| 249 | + |
218 | 250 | # [4.0.0](https://github.com/socketio/socket.io-client/compare/3.1.2...4.0.0) (2021-03-10) |
219 | 251 |
|
220 | 252 | The major bump is due to some breaking changes on the server side. |
@@ -268,6 +300,13 @@ The major bump is due to some breaking changes on the server side. |
268 | 300 | * **typings:** make sendBuffer and receiveBuffer public ([b83f89c](https://github.com/socketio/socket.io-client/commit/b83f89c901e82e06f66cbda4124cf739d2bb01c3)) |
269 | 301 |
|
270 | 302 |
|
| 303 | + |
| 304 | +# [2.4.0](https://github.com/socketio/socket.io-client/compare/2.3.1...2.4.0) (2021-01-04) |
| 305 | + |
| 306 | +The minor bump is matching the bump of the server, but there is no new feature in this release. |
| 307 | + |
| 308 | + |
| 309 | + |
271 | 310 | ## [3.0.4](https://github.com/socketio/socket.io-client/compare/3.0.3...3.0.4) (2020-12-07) |
272 | 311 |
|
273 | 312 |
|
|
0 commit comments