Skip to content

Commit ae1ea77

Browse files
chore(release): 6.3.0
Diff: 6.2.1...6.3.0
1 parent a65a047 commit ae1ea77

File tree

4 files changed

+79
-56
lines changed

4 files changed

+79
-56
lines changed

CHANGELOG.md

Lines changed: 65 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# History
22

3+
## 2023
4+
5+
- [6.3.0](#630-2023-01-10) (Jan 2023)
6+
37
## 2022
48

59
- [3.6.1](#361-2022-11-20) (Nov 2022) (from the [3.x](https://github.com/socketio/engine.io/tree/3.x) branch)
@@ -39,6 +43,48 @@
3943

4044
# Release notes
4145

46+
## [6.3.0](https://github.com/socketio/engine.io/compare/6.2.1...6.3.0) (2023-01-10)
47+
48+
49+
### Bug Fixes
50+
51+
* fix the ES module wrapper ([ed87609](https://github.com/socketio/engine.io/commit/ed87609bafca0e844e6b29ea1a895d95df6a544c))
52+
* wait for all packets to be sent before closing the WebSocket connection ([a65a047](https://github.com/socketio/engine.io/commit/a65a047526401bebaa113a8c70d03f5d963eaa54))
53+
54+
55+
### Features
56+
57+
* add the "addTrailingSlash" option ([#655](https://github.com/socketio/engine.io/issues/655)) ([d0fd474](https://github.com/socketio/engine.io/commit/d0fd4746afa396297f07bb62e539b0c1c4018d7c))
58+
59+
The trailing slash which was added by default can now be disabled:
60+
61+
```js
62+
import { Server } from "engine.io";
63+
64+
const server = new Server();
65+
66+
server.attach(httpServer, {
67+
addTrailingSlash: false
68+
});
69+
```
70+
71+
In the example above, the clients can omit the trailing slash and use `/engine.io` instead of `/engine.io/`.
72+
73+
74+
### Performance Improvements
75+
76+
* add the wsPreEncodedFrame option ([5e34722](https://github.com/socketio/engine.io/commit/5e34722b0b6564d6207a56d69bc3b0a831e4dc46))
77+
78+
This will be used when broadcasting packets at the Socket.IO level.
79+
80+
See also: https://github.com/socketio/socket.io-adapter/commit/5f7b47d40f9daabe4e3c321eda620bbadfe5ce96
81+
82+
### Dependencies
83+
84+
- [`ws@~8.11.0`](https://github.com/websockets/ws/releases/tag/8.11.0) ([diff](https://github.com/websockets/ws/compare/8.2.3...8.11.0))
85+
86+
87+
4288
## [3.6.1](https://github.com/socketio/engine.io/compare/3.6.0...3.6.1) (2022-11-20)
4389

4490
:warning: This release contains an important security fix :warning:
@@ -64,6 +110,9 @@ Please upgrade as soon as possible.
64110

65111
* catch errors when destroying invalid upgrades ([83c4071](https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085))
66112

113+
### Dependencies
114+
115+
- [`ws@~7.4.2`](https://github.com/websockets/ws/releases/tag/7.4.2) (no change)
67116

68117

69118
## [6.2.1](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1) (2022-11-20)
@@ -91,9 +140,13 @@ Please upgrade as soon as possible.
91140

92141
* catch errors when destroying invalid upgrades ([#658](https://github.com/socketio/engine.io/issues/658)) ([425e833](https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6))
93142

143+
### Dependencies
144+
145+
- [`ws@~8.2.3`](https://github.com/websockets/ws/releases/tag/8.2.3) (no change)
146+
94147

95148

96-
# [3.6.0](https://github.com/socketio/engine.io/compare/3.5.0...3.6.0) (2022-06-06)
149+
## [3.6.0](https://github.com/socketio/engine.io/compare/3.5.0...3.6.0) (2022-06-06)
97150

98151

99152
### Bug Fixes
@@ -116,7 +169,7 @@ See also: https://github.com/advisories/GHSA-j4f2-536g-r55m
116169

117170

118171

119-
# [6.2.0](https://github.com/socketio/engine.io/compare/6.1.3...6.2.0) (2022-04-17)
172+
## [6.2.0](https://github.com/socketio/engine.io/compare/6.1.3...6.2.0) (2022-04-17)
120173

121174

122175
### Features
@@ -178,7 +231,7 @@ Thanks to Marcus Wejderot from Mevisio for the responsible disclosure.
178231

179232

180233

181-
# [6.1.0](https://github.com/socketio/engine.io/compare/6.0.0...6.1.0) (2021-11-08)
234+
## [6.1.0](https://github.com/socketio/engine.io/compare/6.0.0...6.1.0) (2021-11-08)
182235

183236

184237
### Bug Fixes
@@ -206,7 +259,7 @@ Thanks to Marcus Wejderot from Mevisio for the responsible disclosure.
206259

207260

208261

209-
# [6.0.0](https://github.com/socketio/engine.io/compare/5.2.0...6.0.0) (2021-10-08)
262+
## [6.0.0](https://github.com/socketio/engine.io/compare/5.2.0...6.0.0) (2021-10-08)
210263

211264
The codebase was migrated to TypeScript ([c0d6eaa](https://github.com/socketio/engine.io/commit/c0d6eaa1ba1291946dc8425d5f533d5f721862dd))
212265

@@ -235,7 +288,7 @@ const eioServer = new Server(httpServer);
235288

236289
`ws` version: `~8.2.3` (bumped from `~7.4.2`)
237290

238-
# [5.2.0](https://github.com/socketio/engine.io/compare/5.1.1...5.2.0) (2021-08-29)
291+
## [5.2.0](https://github.com/socketio/engine.io/compare/5.1.1...5.2.0) (2021-08-29)
239292

240293
No change on the server-side, this matches the client release.
241294

@@ -248,7 +301,7 @@ No change on the server-side, this matches the client release.
248301
* properly close the websocket connection upon handshake error ([4360686](https://github.com/socketio/engine.io/commit/43606865e5299747cbb31f3ed9baf4567502a879))
249302

250303

251-
# [5.1.0](https://github.com/socketio/engine.io/compare/5.0.0...5.1.0) (2021-05-04)
304+
## [5.1.0](https://github.com/socketio/engine.io/compare/5.0.0...5.1.0) (2021-05-04)
252305

253306

254307
### Features
@@ -263,7 +316,7 @@ No change on the server-side, this matches the client release.
263316
* **websocket:** fix write back-pressure ([#618](https://github.com/socketio/engine.io/issues/618)) ([ad5306a](https://github.com/socketio/engine.io/commit/ad5306aeaedf06ac7a49f791e1b76e55c35a564e))
264317

265318

266-
# [5.0.0](https://github.com/socketio/engine.io/compare/4.1.1...5.0.0) (2021-03-10)
319+
## [5.0.0](https://github.com/socketio/engine.io/compare/4.1.1...5.0.0) (2021-03-10)
267320

268321

269322
### Bug Fixes
@@ -306,7 +359,7 @@ const eioServer = require("engine.io")(httpServer, {
306359
* do not reset the ping timer after upgrade ([ff2b8ab](https://github.com/socketio/engine.io/commit/ff2b8aba48ebcb0de5626d3b76fddc94c398395f)), closes [/github.com/socketio/socket.io-client-swift/pull/1309#issuecomment-768475704](https://github.com//github.com/socketio/socket.io-client-swift/pull/1309/issues/issuecomment-768475704)
307360

308361

309-
# [4.1.0](https://github.com/socketio/engine.io/compare/4.0.6...4.1.0) (2021-01-14)
362+
## [4.1.0](https://github.com/socketio/engine.io/compare/4.0.6...4.1.0) (2021-01-14)
310363

311364

312365
### Features
@@ -323,7 +376,7 @@ const eioServer = require("engine.io")(httpServer, {
323376

324377

325378

326-
# [3.5.0](https://github.com/socketio/engine.io/compare/3.4.2...3.5.0) (2020-12-30)
379+
## [3.5.0](https://github.com/socketio/engine.io/compare/3.4.2...3.5.0) (2020-12-30)
327380

328381

329382
### Features
@@ -362,7 +415,7 @@ No change on the server-side, this matches the client release.
362415

363416

364417

365-
# [4.0.0](https://github.com/socketio/engine.io/compare/v4.0.0-alpha.1...4.0.0) (2020-09-10)
418+
## [4.0.0](https://github.com/socketio/engine.io/compare/v4.0.0-alpha.1...4.0.0) (2020-09-10)
366419

367420
More details about this release in the blog post: https://socket.io/blog/engine-io-4-release/
368421

@@ -415,7 +468,7 @@ More details about this release in the blog post: https://socket.io/blog/engine-
415468

416469

417470

418-
# [4.0.0-alpha.1](https://github.com/socketio/engine.io/compare/v4.0.0-alpha.0...v4.0.0-alpha.1) (2020-02-12)
471+
## [4.0.0-alpha.1](https://github.com/socketio/engine.io/compare/v4.0.0-alpha.0...v4.0.0-alpha.1) (2020-02-12)
419472

420473
#### Links
421474

@@ -425,7 +478,7 @@ More details about this release in the blog post: https://socket.io/blog/engine-
425478

426479

427480

428-
# [4.0.0-alpha.0](https://github.com/socketio/engine.io/compare/3.4.0...v4.0.0-alpha.0) (2020-02-12)
481+
## [4.0.0-alpha.0](https://github.com/socketio/engine.io/compare/3.4.0...v4.0.0-alpha.0) (2020-02-12)
429482

430483

431484
### Features

package-lock.json

Lines changed: 11 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "engine.io",
3-
"version": "6.2.1",
3+
"version": "6.3.0",
44
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",
55
"type": "commonjs",
66
"main": "./build/engine.io.js",
@@ -45,7 +45,7 @@
4545
"devDependencies": {
4646
"babel-eslint": "^8.0.2",
4747
"eiows": "^4.1.2",
48-
"engine.io-client": "6.2.0",
48+
"engine.io-client": "6.3.0",
4949
"engine.io-client-v3": "npm:[email protected]",
5050
"expect.js": "^0.3.1",
5151
"mocha": "^9.1.3",

test/engine.io.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe("engine", () => {
1414
expect(protocol).to.be.a("number");
1515
});
1616

17-
it.skip("should be the same version as client", () => {
17+
it("should be the same version as client", () => {
1818
const version = require("../package.json").version;
1919
expect(version).to.be(require("engine.io-client/package.json").version);
2020
});

0 commit comments

Comments
 (0)