Skip to content

Releases: socketio/engine.io

6.0.1

08 Nov 07:44
948a86e
Compare
Choose a tag to compare

Bug Fixes

  • fix payload encoding for v3 clients (3f42262)

Links

6.0.0

08 Oct 14:16
fe5d97f
Compare
Choose a tag to compare

The codebase was migrated to TypeScript (c0d6eaa)

An ES module wrapper was also added (401f4b6).

Please note that the communication protocol was not updated, so a v5 client will be able to reach a v6 server (and vice-versa).

Reference: https://github.com/socketio/engine.io-protocol

BREAKING CHANGES

  • the default export was removed, so the following code won't work anymore:
const eioServer = require("engine.io")(httpServer);

Please use this instead:

const { Server } = require("engine.io");
const eioServer = new Server(httpServer);

Links

5.2.0

29 Aug 06:45
313ca50
Compare
Choose a tag to compare

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

Links

5.1.1

16 May 22:41
733ad4d
Compare
Choose a tag to compare

Bug Fixes

  • properly close the websocket connection upon handshake error (4360686)

Links

5.1.0

04 May 08:48
8c9bd92
Compare
Choose a tag to compare

Features

  • add a "connection_error" event (7096e98)
  • add the "initial_headers" and "headers" events (2527543)

Performance Improvements

  • websocket: add a "wsPreEncoded" writing option (7706b12)
  • websocket: fix write back-pressure (#618) (ad5306a)

Links

5.0.0

10 Mar 09:29
887ba06
Compare
Choose a tag to compare

This major bump is due to a breaking change at the API level (see below).

Apart from this, the Engine.IO protocol was not updated, so a v4 client will be able to reach a v5 server, and vice-versa. Besides, the compatibility mode (allowEIO3: true) is still available between an Engine.IO v3 client and an Engine.IO v5 server.

Bug Fixes

Features

  • increase the default value of pingTimeout (5a7fa13)
  • remove dynamic require() with wsEngine (edb7343)

BREAKING CHANGES

  • the syntax of the "wsEngine" option is updated

Before:

const eioServer = require("engine.io")(httpServer, {
  wsEngine: "eiows"
});

After:

const eioServer = require("engine.io")(httpServer, {
  wsEngine: require("eiows").Server
});

Related: #609

Links

4.1.1

02 Feb 09:53
9534355
Compare
Choose a tag to compare

Bug Fixes

  • do not reset the ping timer after upgrade (ff2b8ab)

Links

4.1.0

14 Jan 00:49
e5b307c
Compare
Choose a tag to compare

Features

  • add support for v3.x clients (663d326)

Links

4.0.6

04 Jan 22:30
9b62152
Compare
Choose a tag to compare

Bug Fixes

  • correctly pass the options when using the Server constructor (#610) (cec2750)

Links

3.5.0

30 Dec 09:13
b9dee7b
Compare
Choose a tag to compare

Features

  • add support for all cookie options (19cc582)
  • disable perMessageDeflate by default (5ad2736)

Links