Skip to content

Commit d7e3ab7

Browse files
chore(release): 6.2.0
Diff: 6.1.3...6.2.0
1 parent 088dcb4 commit d7e3ab7

File tree

3 files changed

+39
-28
lines changed

3 files changed

+39
-28
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# [6.2.0](https://github.com/socketio/engine.io/compare/6.1.3...6.2.0) (2022-04-17)
2+
3+
4+
### Features
5+
6+
* add the "maxPayload" field in the handshake details ([088dcb4](https://github.com/socketio/engine.io/commit/088dcb4dff60df39785df13d0a33d3ceaa1dff38))
7+
8+
So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize
9+
value.
10+
11+
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as
12+
we only add a field in the JSON-encoded handshake data:
13+
14+
```
15+
0{"sid":"lv_VI97HAXpY6yYWAAAC","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":5000,"maxPayload":1000000}
16+
```
17+
18+
19+
120
## [6.1.3](https://github.com/socketio/engine.io/compare/6.1.2...6.1.3) (2022-02-23)
221

322

package-lock.json

+18-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "engine.io",
3-
"version": "6.1.3",
3+
"version": "6.2.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": "^3.8.0",
48-
"engine.io-client": "6.1.0",
48+
"engine.io-client": "6.2.0",
4949
"engine.io-client-v3": "npm:[email protected]",
5050
"expect.js": "^0.3.1",
5151
"mocha": "^9.1.3",

0 commit comments

Comments
 (0)