unstale

npm / centrifuge

centrifuge

What changed in centrifuge 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

3 new APIs and options12 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

centrifuge 515 changes

New APIs and options 3

  • A new getState callback is available for stream subscriptions.

    5.6.0release notes

  • Map subscriptions are added as a subscription type.

    5.6.0release notes

  • Shared Poll subscriptions are added as a subscription type.

    5.6.0release notes

Fixes and other changes 12

  • Fixes UTF-8 corruption when a character spans two stream chunks.

    5.7.4release notes

  • Byte counts for non-ASCII JSON payloads are corrected, so delta stats report accurate sizes.

    5.7.3release notes

  • Pending publish-debounce timers are canceled on reconnect.

    5.7.3release notes

  • The server-side subscription recovery position is reset when state is invalidated.

    5.7.3release notes

  • Prevents a crash when the final WebTransport read chunk has no value.

    5.7.3release notes

  • Fixes an out-of-bounds transport index during initialization.

    5.7.2release notes

  • Sets the _triedAllTransports flag when unsupported transports are skipped.

    5.7.2release notes

  • Fixes a localStorage access error in Safari private browsing mode.

    5.7.1release notes

  • Fixes edge cases in channel compaction.

    5.7.0release notes

  • Aligns state invalidation across both disconnect paths and unrecoverable resubscribe, with named codes.

    5.7.0release notes

  • Fixes a bug with instanceof checks for Array.

    5.5.2release notes

  • Fixes a TypeError caused by localStorage.getItem not being a function on NodeJS 25.

    5.5.1release notes