Centrifugo v4.0.1 Release Notes

  • ๐Ÿš€ This release contains an important fix of v4 degradation (proxying user limited channel) and comes with several nice improvements.

    ๐Ÿ›  Fixes

    • Avoid proxying user limited channel #550
    • Look at subscription source to handle token subs change #545

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ”ง Configure server-to-client ping/pong intervals #551, docs
    • Option client_connection_limit to set client connection limit for a single Centrifugo node #546, docs
    • Option api_external to expose API handler on external port #536
    • ๐ŸŽ Use go.uber.org/automaxprocs to set GOMAXPROCS #528, this may help to automatically improve Centrifugo performance when it's running in an environment with cgroup-restricted CPU resources (Docker, Kubernetes).
    • Nats broker: use push format from client protocol v2 #542

    Misc

    • ๐Ÿš€ While working on Centrifuge lib @j178 found a scenario where connection to Redis could leak, this was not observed and reported in Centrifugo outside the test suite, but it seems that theoretically connections to Redis from Centrifugo could leak with time if the network between Centrifugo and Redis is unstable. This release contains an updated Redis engine which eliminates this.
    • ๐Ÿš€ This release is built with Go 1.18.5