You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -276,6 +276,11 @@ This release contains a bump of:
276
276
***typings:** accept an HTTP2 server in the constructor ([d3d0a2d](https://github.com/socketio/socket.io/commit/d3d0a2d5beaff51fd145f810bcaf6914213f8a06))
277
277
***typings:** apply types to "io.timeout(...).emit()" calls ([e357daf](https://github.com/socketio/socket.io/commit/e357daf5858560bc84e7e50cd36f0278d6721ea1))
278
278
279
+
### Dependencies
280
+
281
+
-[`engine.io@~6.2.0`](https://github.com/socketio/engine.io/releases/tag/6.2.1) (no change)
282
+
-[`ws@~8.2.3`](https://github.com/websockets/ws/releases/tag/8.2.3) (no change)
@@ -286,13 +291,18 @@ This release contains a bump of:
286
291
* prevent the socket from joining a room after disconnection ([18f3fda](https://github.com/socketio/socket.io/commit/18f3fdab12947a9fee3e9c37cfc1da97027d1473))
287
292
***uws:** prevent the server from crashing after upgrade ([ba497ee](https://github.com/socketio/socket.io/commit/ba497ee3eb52c4abf1464380d015d8c788714364))
288
293
294
+
### Dependencies
295
+
296
+
-[`engine.io@~6.2.0`](https://github.com/socketio/engine.io/releases/tag/6.2.0) (no change)
297
+
-[`ws@~8.2.3`](https://github.com/websockets/ws/releases/tag/8.2.3) (no change)
* only set 'connected' to true after middleware execution ([226cc16](https://github.com/socketio/socket.io/commit/226cc16165f9fe60f16ff4d295fb91c8971cde35))
305
315
* prevent the socket from joining a room after disconnection ([f223178](https://github.com/socketio/socket.io/commit/f223178eb655a7713303b21a78f9ef9e161d6458))
* forward the local flag to the adapter when using fetchSockets() ([30430f0](https://github.com/socketio/socket.io/commit/30430f0985f8e7c49394543d4c84913b6a15df60))
315
330
***typings:** add HTTPS server to accepted types ([#4351](https://github.com/socketio/socket.io/issues/4351)) ([9b43c91](https://github.com/socketio/socket.io/commit/9b43c9167cff817c60fa29dbda2ef7cd938aff51))
316
331
332
+
### Dependencies
333
+
334
+
-[`engine.io@~6.2.0`](https://github.com/socketio/engine.io/releases/tag/6.2.0) (no change)
335
+
-[`ws@~8.2.3`](https://github.com/websockets/ws/releases/tag/8.2.3) (no change)
* add support for catch-all listeners for outgoing packets ([531104d](https://github.com/socketio/socket.io/commit/531104d332690138b7aab84d5583d6204132c8b4))
349
+
#### Catch-all listeners for outgoing packets
330
350
331
351
This is similar to `onAny()`, but for outgoing packets.
* add the "maxPayload" field in the handshake details ([088dcb4](https://github.com/socketio/engine.io/commit/088dcb4dff60df39785df13d0a33d3ceaa1dff38))
373
+
Added in [8b20457](https://github.com/socketio/socket.io/commit/8b204570a94979bbec307f23ca078f30f5cf07b0).
374
+
375
+
#### `maxHttpBufferSize` value negotiation
352
376
353
-
So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize
354
-
value.
377
+
A "maxPayload" field is now included in the Engine.IO handshake, so that clients in HTTP long-polling can decide how many packets they have to send to stay under the `maxHttpBufferSize` value.
355
378
356
-
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as
357
-
we only add a field in the JSON-encoded handshake data:
379
+
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as we only add a field in the JSON-encoded handshake data:
0 commit comments