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 to config.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 optionheartbeatInterval in config.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 the healthCheckPath option in config.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