github socketio/engine.io 5.0.0

latest releases: 6.5.4, 6.5.3, 6.5.2...
3 years ago

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

Don't miss a new engine.io release

NewReleases is sending notifications on new releases.