Centrifugo v2.4.0 Release Notes

Release Date: 2020-03-08 // about 4 years ago
  • ๐Ÿš€ This release is a step towards new interesting possibilities with Centrifugo. It adds server-side subscriptions support and some sugar on top of it. With server-side subscriptions you don't need to call Subscribe method on client side at all. Follow release notes to know more.

    No backwards incompatible changes here.

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ“š Server-side subscriptions, this functionality requires updating client code so at moment usage is limited to centrifuge-js. Also there is a possibility to automatically subscribe user connection to personal notifications channel. More info in new documentation chapter
    • ๐Ÿ†• New private subscription JWT eto claim - see its description in docs
    • ๐Ÿ‘€ Options to disable WebSocket, SockJS and API handlers โ€“ see docs
    • ๐Ÿ‘‰ New option websocket_use_write_buffer_pool โ€“ see docs
    • Metrics now include histograms of requests durations - pull request
    • โž• Add Linux ARM binary release

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix unreliable unsubscriptions from Redis PUB/SUB channels under load, now we unsubscribe nodes from PUB/SUB channels over in-memory queue
    • ๐Ÿ›  Fix tls_external option regression

    ๐Ÿณ Docker images

    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.4.0
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.4
    • ๐Ÿณ docker pull centrifugo/centrifugo:latest