Skip to content

Releases: socketio/engine.io

4.0.5

07 Dec 10:29
e7115b8
Compare
Choose a tag to compare

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

Links

4.0.4

17 Nov 21:54
c2981c6
Compare
Choose a tag to compare

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

Links

4.0.3

17 Nov 09:10
67ca12c
Compare
Choose a tag to compare

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

Links

4.0.2

09 Nov 09:08
16fd658
Compare
Choose a tag to compare

Bug Fixes

  • add extension in the package.json main entry (#608) (17b8c2f)

Links

4.0.1

21 Oct 22:40
58943c3
Compare
Choose a tag to compare

Bug Fixes

  • do not overwrite CORS headers upon error (fe093ba)

Links

4.0.0

10 Sep 23:21
70b1c36
Compare
Choose a tag to compare

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

Bug Fixes

  • ignore errors when forcefully closing the socket (#601) (dcdbccb)
  • remove implicit require of uws (82cdca2)

Features

Links

3.4.2

04 Jun 14:21
b68ed6f
Compare
Choose a tag to compare

Bug Fixes

  • remove explicit require of uws (85e544a)

Links

3.4.1

17 Apr 09:07
e488120
Compare
Choose a tag to compare

Bug Fixes

  • ignore errors when forcefully closing the socket (da851ec)
  • use SameSite=Strict by default (001ca62)

Links

v4.0.0-alpha.1

13 Feb 06:36
71ece3e
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

Links

v4.0.0-alpha.0

13 Feb 06:43
b27215d
Compare
Choose a tag to compare
v4.0.0-alpha.0 Pre-release
Pre-release

Features

BREAKING CHANGES

  • the handlePreflightRequest option is removed by the change.

Before:

new Server({
  handlePreflightRequest: (req, res) => {
    res.writeHead(200, {
      "Access-Control-Allow-Origin": 'https://example.com',
      "Access-Control-Allow-Methods": 'GET',
      "Access-Control-Allow-Headers": 'Authorization',
      "Access-Control-Allow-Credentials": true
    });
    res.end();
  }
})

After:

new Server({
  cors: {
    origin: "https://example.com",
    methods: ["GET"],
    allowedHeaders: ["Authorization"],
    credentials: true
  }
})
  • the syntax has changed from
new Server({
  cookieName: "test",
  cookieHttpOnly: false,
  cookiePath: "/custom"
})

to

new Server({
  cookie: {
    name: "test",
    httpOnly: false,
    path: "/custom"
  }
})

All other options (domain, maxAge, sameSite, ...) are now supported.

  • v3.x clients will not be able to connect anymore (they will send a ping packet and timeout while waiting for a pong packet).

Links