Skip to content

Commit f4b6984

Browse files
committedNov 2, 2022
docs: add missing versions in the changelog
1 parent 945c84b commit f4b6984

File tree

1 file changed

+156
-26
lines changed

1 file changed

+156
-26
lines changed
 

‎CHANGELOG.md

+156-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,53 @@
11
# History
22

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-11-08) (2021-11-08)
10-
- [4.3.1](#431-2021-10-16) (2021-10-16)
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+
## 2022
4+
5+
- [4.5.3](#453-2022-10-15) (Oct 2022)
6+
- [4.5.2](#452-2022-09-02) (Sep 2022)
7+
- [2.5.0](#250-2022-06-26) (Jun 2022) (from the [2.x](https://github.com/socketio/socket.io/tree/2.x) branch)
8+
- [4.5.1](#451-2022-05-17) (May 2022)
9+
- [4.5.0](#450-2022-04-23) (Apr 2022)
10+
- [4.4.1](#441-2022-01-06) (Jan 2022)
11+
12+
## 2021
13+
14+
- [4.4.0](#440-2021-11-18) (Nov 2021)
15+
- [4.3.2](#432-2021-11-08) (Nov 2021)
16+
- [4.3.1](#431-2021-10-16) (Oct 2021)
17+
- [4.3.0](#430-2021-10-14) (Oct 2021)
18+
- [4.2.0](#420-2021-08-30) (Aug 2021)
19+
- [4.1.3](#413-2021-07-10) (Jul 2021)
20+
- [4.1.2](#412-2021-05-17) (May 2021)
21+
- [4.1.1](#411-2021-05-11) (May 2021)
22+
- [4.1.0](#410-2021-05-11) (May 2021)
23+
- [4.0.2](#402-2021-05-06) (May 2021)
24+
- [4.0.1](#401-2021-03-31) (Mar 2021)
25+
- [**4.0.0**](#400-2021-03-10) (Mar 2021)
26+
- [3.1.2](#312-2021-02-26) (Feb 2021)
27+
- [3.1.1](#311-2021-02-03) (Feb 2021)
28+
- [3.1.0](#310-2021-01-15) (Jan 2021)
29+
- [2.4.1](#241-2021-01-07) (Jan 2021) (from the [2.x](https://github.com/socketio/socket.io/tree/2.x) branch)
30+
- [3.0.5](#305-2021-01-05) (Jan 2021)
31+
- [2.4.0](#240-2021-01-04) (Jan 2021) (from the [2.x](https://github.com/socketio/socket.io/tree/2.x) branch)
32+
33+
## 2020
34+
35+
- [3.0.4](#304-2020-12-07) (Dec 2020)
36+
- [3.0.3](#303-2020-11-19) (Nov 2020)
37+
- [3.0.2](#302-2020-11-17) (Nov 2020)
38+
- [3.0.1](#301-2020-11-09) (Nov 2020)
39+
- [**3.0.0**](#300-2020-11-05) (Nov 2020)
40+
41+
## 2019
42+
43+
- [2.3.0](#230-2019-09-20) (Sep 2019)
44+
45+
## 2018
46+
47+
- [2.2.0](#220-2018-11-29) (Nov 2018)
48+
- [2.1.1](#211-2018-05-17) (May 2018)
49+
- [2.1.0](#210-2018-03-29) (Mar 2018)
50+
2951

3052
# Release notes
3153

@@ -49,6 +71,18 @@
4971

5072

5173

74+
# [2.5.0](https://github.com/socketio/socket.io/compare/2.4.1...2.5.0) (2022-06-26)
75+
76+
77+
### Bug Fixes
78+
79+
* fix race condition in dynamic namespaces ([05e1278](https://github.com/socketio/socket.io/commit/05e1278cfa99f3ecf3f8f0531ffe57d850e9a05b))
80+
* ignore packet received after disconnection ([22d4bdf](https://github.com/socketio/socket.io/commit/22d4bdf00d1a03885dc0171125faddfaef730066))
81+
* only set 'connected' to true after middleware execution ([226cc16](https://github.com/socketio/socket.io/commit/226cc16165f9fe60f16ff4d295fb91c8971cde35))
82+
* prevent the socket from joining a room after disconnection ([f223178](https://github.com/socketio/socket.io/commit/f223178eb655a7713303b21a78f9ef9e161d6458))
83+
84+
85+
5286
## [4.5.1](https://github.com/socketio/socket.io/compare/4.5.0...4.5.1) (2022-05-17)
5387

5488

@@ -285,6 +319,16 @@ we only add a field in the JSON-encoded handshake data:
285319
* allow integers as event names ([1c220dd](https://github.com/socketio/socket.io-parser/commit/1c220ddbf45ea4b44bc8dbf6f9ae245f672ba1b9))
286320

287321

322+
323+
## [2.4.1](https://github.com/socketio/socket.io/compare/2.4.0...2.4.1) (2021-01-07)
324+
325+
326+
### Reverts
327+
328+
* fix(security): do not allow all origins by default ([a169050](https://github.com/socketio/socket.io/commit/a1690509470e9dd5559cec4e60908ca6c23e9ba0))
329+
330+
331+
288332
## [3.0.5](https://github.com/socketio/socket.io/compare/3.0.4...3.0.5) (2021-01-05)
289333

290334

@@ -298,6 +342,17 @@ we only add a field in the JSON-encoded handshake data:
298342
* restore the socket middleware functionality ([bf54327](https://github.com/socketio/socket.io/commit/bf5432742158e4d5ba2722cff4a614967dffa5b9))
299343

300344

345+
346+
# [2.4.0](https://github.com/socketio/socket.io/compare/2.3.0...2.4.0) (2021-01-04)
347+
348+
349+
### Bug Fixes
350+
351+
* **security:** do not allow all origins by default ([f78a575](https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7))
352+
* properly overwrite the query sent in the handshake ([d33a619](https://github.com/socketio/socket.io/commit/d33a619905a4905c153d4fec337c74da5b533a9e))
353+
354+
355+
301356
## [3.0.4](https://github.com/socketio/socket.io/compare/3.0.3...3.0.4) (2020-12-07)
302357

303358

@@ -583,3 +638,78 @@ io.of("/admin").use((socket, next) => {
583638

584639
This method was kept for backward-compatibility with pre-1.0 versions.
585640

641+
642+
643+
# [2.3.0](https://github.com/socketio/socket.io/compare/2.2.0...2.3.0) (2019-09-20)
644+
645+
This release mainly contains a bump of the `engine.io` and `ws` packages, but no additional features.
646+
647+
648+
649+
# [2.2.0](https://github.com/socketio/socket.io/compare/2.1.1...2.2.0) (2018-11-29)
650+
651+
### Features
652+
653+
- add cache-control header when serving the client source ([#2907](https://github.com/socketio/socket.io/pull/2907)) ([b00ae50](https://github.com/socketio/socket.io/commit/b00ae50be65d1bc88fa95145f1c486a6886a6b76))
654+
655+
### Bug fixes
656+
657+
- throw an error when trying to access the clients of a dynamic namespace ([#3355](https://github.com/socketio/socket.io/pull/3355)) ([a7fbd1a](https://github.com/socketio/socket.io/commit/a7fbd1ac4a47cafd832fc62e371754df924c5903))
658+
659+
660+
661+
# [2.1.1](https://github.com/socketio/socket.io/compare/2.1.0...2.1.1) (2018-05-17)
662+
663+
### Features
664+
665+
- add local flag to the socket object ([#3129](https://github.com/socketio/socket.io/pull/3219)) ([1decae3](https://github.com/socketio/socket.io/commit/1decae341c80c0417b32d3124ca30c005240b48a))
666+
667+
```js
668+
socket.local.to('room101').emit(/* */);
669+
```
670+
671+
672+
# [2.1.0](https://github.com/socketio/socket.io/compare/2.1.1...2.2.0) (2018-03-29)
673+
674+
### Features
675+
676+
- add a 'binary' flag ([#3185](https://github.com/socketio/socket.io/pull/3185)) ([f48a06c](https://github.com/socketio/socket.io/commit/f48a06c040280b44f90fd225c888910544fd63b5))
677+
678+
```js
679+
// by default, the object is recursively scanned to check whether it contains some binary data
680+
// in the following example, the check is skipped in order to improve performance
681+
socket.binary(false).emit('plain-object', object);
682+
683+
// it also works at the namespace level
684+
io.binary(false).emit('plain-object', object);
685+
```
686+
687+
- add support for dynamic namespaces ([#3195](https://github.com/socketio/socket.io/pull/3195)) ([c0c79f0](https://github.com/socketio/socket.io/commit/c0c79f019e7138194e438339f8192705957c8ec3))
688+
689+
```js
690+
io.of(/^\/dynamic-\d+$/).on('connect', (socket) => {
691+
// socket.nsp.name = '/dynamic-101'
692+
});
693+
694+
// client-side
695+
const client = require('socket.io-client')('/dynamic-101');
696+
```
697+
698+
### Bug fixes
699+
700+
- properly emit 'connect' when using a custom namespace ([#3197](https://github.com/socketio/socket.io/pull/3197)) ([f4fc517](https://github.com/socketio/socket.io/commit/f4fc517e0fe25866c95b584291487b8cbdff889d))
701+
- include the protocol in the origins check ([#3198](https://github.com/socketio/socket.io/pull/3198)) ([1f1d64b](https://github.com/socketio/socket.io/commit/1f1d64bab61a273712a199591a3f76210d8c0959))
702+
703+
### Important note :warning: from Engine.IO [3.2.0 release](https://github.com/socketio/engine.io/releases/tag/3.2.0)
704+
705+
There are two non-breaking changes that are somehow quite important:
706+
707+
- `ws` was reverted as the default wsEngine (https://github.com/socketio/engine.io/pull/550), as there was several blocking issues with `uws`. You can still use `uws` by running `npm install uws --save` in your project and using the `wsEngine` option:
708+
```js
709+
var engine = require('engine.io');
710+
var server = engine.listen(3000, {
711+
wsEngine: 'uws'
712+
});
713+
```
714+
715+
- `pingTimeout` now defaults to 5 seconds (instead of 60 seconds): https://github.com/socketio/engine.io/pull/551

0 commit comments

Comments
 (0)
Please sign in to comment.