Centrifugo v1.6.2 Release Notes
-
๐ Features
- ๐ Use Redis pipelining and single connection for presence/history/channels operations. This increases performance of those operations especially on systems with many CPU cores.
- ๐ Homebrew formula to install Centrifugo on MacOS, see README for instructions.
- ๐ Update gorilla websocket library - there is one more update for websocket compression: pool flate readers which should increase compression performance.
๐ Fixes
- ๐ Fix calling presence remove for every channel (not only channels with presence option enabled).
- ๐ Change subscribing/unsubscribing algorithm to Redis channels - it fixes theoretical possibility of wrong subscribing state in Redis.
Internal (for developers/contributors)
- ๐ We don't use
disconnect
message before closing client connections anymore - we rely on websocket/SockJS close reason now (which is JSON encodedDisconnectAdvice
). Our js client already handles that reason, so no breaking changes there. Some work required in other clients though to supportreconnect: false
in advice.