deepstream.io v2.0.0 Release Notes
-
๐ Features
- ๐ User presence has been added, enabling querying and subscription to who is online within a cluster
- ๐ง Introduces the configuration option
broadcastTimeout
toconfig.yml
to allow coalescing of broadcasts. This option can be used to improve broadcast message latency such as events, data-sync and presence For example, the performance of broadcasting 100 events to 1000 subscribers was improved by a factor of 20 - โ Adds client heartbeats, along with configuration option
heartbeatInterval
inconfig.yml
. If a connected client fails to send a heartbeat within this timeout, it will be considered to have disconnected #419 - โ Adds healthchecks โ deepstream now responds to http GET requests to path
/health-check
on port 6020 with code 200. This path can be configured with thehealthCheckPath
option inconfig.yml
โจ Enhancements
- ๐จ E2E tests refactored
- uWS is now compiled into the deepstream binary, eliminating reliability issues caused by dynamic linking
๐ฅ Breaking Changes
- Clients prior to v2.0.0 are no longer compatible
- ๐ Changed format of RPC request ACK messages to be more consistent with the rest of the specs #408
- ๐ We removed support for TCP and engine.io, providing huge performance gains by integrating tightly with native uWS
- ๐ Support for webRTC has been removed
- You can no longer set custom data transforms directly on deepstream