Skip to content

5.0.0

Compare
Choose a tag to compare
@darrachequesne darrachequesne released this 10 Mar 09:29
· 43 commits to master since this release
887ba06

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