Skip to content

Releases: anycable/anycable-go

1.2.2

10 Aug 23:31
Compare
Choose a tag to compare

Features

  • NATS pub/sub adapter is added.

1.2.1

30 Jun 21:29
Compare
Choose a tag to compare

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

1.2.0 πŸŽ„

21 Dec 18:19
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

1.1.4

16 Nov 12:00
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.

1.1.3

16 Sep 11:09
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.

1.1.2

23 Jun 16:44
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.

1.1.1

15 Jun 14:06
Compare
Choose a tag to compare

Fixes

  • Fixed potential concurrent read/write in hub.

1.1.0 🚸

01 Jun 10:36
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

1.1.0.rc1

12 May 17:02
Compare
Choose a tag to compare
1.1.0.rc1 Pre-release
Pre-release

See notes for v1.1.0.

1.0.5

17 Mar 13:01
Compare
Choose a tag to compare

Features

  • Ping and stats refresh intervals are configurable now.

Added --ping_interval N and --stats_refresh_interval N options respectively (both use seconds).

Fixes

  • Fixed interval values for counters.

See #128.