Skip to content
4ef479c
Compare
Choose a tag to compare
Compare
Choose a tag to compare

This is the maintenance release with Go 1.18 upgrade and some minor fixes.

Compare
Choose a tag to compare

Features

  • Add fastlane subscribing for Hotwire (Turbo Streams) and CableReady.

Make it possible to terminate subscription requests at AnyCable Go without performing RPC calls.

📖 Docs

  • Add JWT authentication/identification support.

You can pass a properly structured token along the connection request to authorize the connection and set up identifiers without peforming an RPC call.

📖 Docs

Compare
Choose a tag to compare

Features

  • Added rpc_max_call_recv_size and rpc_max_call_send_size options to allow modifying the corresponding limits for gRPC client connection.

See also #143.

Compare
Choose a tag to compare

Fixes

  • Fixed potential deadlocks in Hub.

We noticed that Hub could become unresponsive due to a deadlock on the subscribers map under very high load,
so we make locking more granular and removed nested locking.

Misc

  • Upgraded to Go 1.17.
Compare
Choose a tag to compare

Features

  • Added --rpc_enable_tls option to allow you to connect to secured gRPC endpoint.

For example, when using AWS ALB. See more in the PR.

Fixes

  • Subscription rejection are no longer logged as errors.
Compare
Choose a tag to compare

Fixes

  • Fixed potential concurrent read/write in hub.
Compare
Choose a tag to compare

This is a maintenance release. Most changes are internal and doesn't affect public APIs.

Changes

  • Dropped deprecated AnyCable RPC v0.6 support.

  • Added concurrency to broadcasting.

Now new broadcast messages are handled (and retransmitted) concurrently by a pool of workers (Go routines).
You can control the size of the pool via the hub_gopool_size configuration parameter (defaults to 16).

Features

  • Added server_msg_total, failed_server_msg_total, data_sent_bytes_total and data_rcvd_bytes_total metrics.

  • Added --ping_timestamp_precision option to specify ping messages timestamp precision.

  • Added --allowed_origins optional configuration.

You can provide a comma-separated list of hostnames to check the Origin header against during the WebSocket Upgrade. Supports wildcards, e.g., --allowed_origins=*.evl.ms,www.evlms.io.

  • Added --max-conn option.

Hard-limit the number of simultaneous connections.


Full release notes