Centrifugo v2.4.0 Release Notes

Release Date: 2020-03-08 // 24 days 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_poolsee 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

Previous changes from v2.3.1

  • 🚀 This release contains several improvements to proxy feature introduced in v2.3.0, no backwards incompatible changes here.

    👌 Improvements:

    • With proxy_extra_http_headers configuration option it's now possible to set a list of extra headers that should be copied from original client request to proxied HTTP request - see #334 for motivation and updated proxy docs
    • 👀 You can pass custom data in response to connect event and this data will be available in connect event callback context on client side. See #332 for more details
    • 🚀 Starting from this release Origin header is proxied to your backend by default - see full list in docs

    🐳 Docker images

    • 🐳 docker pull centrifugo/centrifugo:v2.3.1
    • 🐳 docker pull centrifugo/centrifugo:v2
    • 🐳 docker pull centrifugo/centrifugo:v2.3
    • 🐳 docker pull centrifugo/centrifugo:latest