unstale

npm / @colyseus/ws-transport

@colyseus/ws-transport

What changed in @colyseus/ws-transport 0.17 to 0.18, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 new APIs and options5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@colyseus/ws-transport 0.185 changes

New APIs and options 3

  • Supported with @colyseus/core 0.18.28, this option sends a tick's messages to each client in one write instead of one write per message.

    0.18.5release notes

  • Supported with @colyseus/core 0.18.28, this API sends a tick's messages to each client in one write instead of one write per message.

    0.18.5release notes

  • Called before the WebSocket handshake with the incoming Request and the same read-only context onAuth() receives. Return a Response to answer the request instead of upgrading it. Requires @colyseus/core 0.18.5.

    0.18.2release notes

Fixes and other changes 2

  • npm and pnpm now install express with this package, preventing startup crashes when express was not already installed.

    0.18.4release notes

  • require() now resolves to the same ESM build as import, preventing processes that use both from loading two copies.

    0.18.3release notes

@colyseus/ws-transport 0.173 changes

Fixes and other changes 3

  • In devMode, use this close code when a reconnection token is present but the seat hasn't been reserved yet, allowing the SDK to retry during the brief HMR reload window.

    0.17.13release notes

  • Adds a defensive check when enqueuing messages after a client has already joined.

    0.17.11release notes

  • Messages sent during onReconnect() are enqueued so they arrive after the client completes the reconnection handshake.

    0.17.10release notes