Skip to content

Releases: anycable/anycable-go

1.3.1

22 Mar 22:20
Compare
Choose a tag to compare

Features

  • Better support for embedded NATS on fly: automatic cluster name and gateway advertise configuration.

1.3.0

01 Mar 00:52
Compare
Choose a tag to compare

Features

  • Add embedded NATS support.

    Now you can embed a NATS server into an anycable-go server.

    πŸ“– Documentation

  • Statsd support is moved to OSS version.

    πŸ“– Documentation

  • Introduced configuration presets.

    Configuration presets are sensible configuration defaults for deployment platforms. Right now, Fly.io support is the most comprehensive and allows you to automatically connect Ruby and AnyCable-Go apps to each other (by setting correct RPC and broadcasting URLs).

    πŸ“– Documentation

  • Add grpc_active_conn_num metrics.

    Useful when you use DNS load balancing to know, how many active gRPC connections are established.
    Also, added debug logs for gRPC connected/disconnected events.

  • Support placeholders and wildcards in --path.

    Now you can specify wildcards and placeholders in a WS endpoint for anycable-go:

    anycable-go --path="/{tenant}/cable

    This could be helpful to differentiate between clients or even different Action Cable Connection class instances at a Ruby side.

1.2.3

01 Dec 22:30
Compare
Choose a tag to compare

Features

  • Added --proxy-cookies parameter to filter cookies passed to RPC servers.

Now you can reduce the amount of data send to RPC servers by only selecting specific cookies, e.g., anycable-go --proxy-cookies=_my_app_session_id.

  • Added --redis_tls_verify option to enforce TLS certification verification.

With this flag turned on, you can rely on system-wide certificates to protect your server-to-Redis connection.

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.