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
- Diff: 4.1.1...5.0.0
- Client release: 5.0.0
- ws version: ~7.4.2