Change log

master

1.1.2 (2021-09-10) 🤵👰

Add ability to declare gRPC server args without namespacing (i.e., "max_connection_age_ms" instead of "grpc.max_connection_age_ms"). That makes it possible to use ENV vars to provide the gRPC configuration.

1.1.1 (2021-06-05)

We haven't extracted anycable-grpc yet.

1.1.0 🚸 (2021-06-01)

1.1.0.rc1 (2021-05-12)

That allowed us to have real middlewares with ability to modify responses, intercept exceptions, etc. The API changed a bit:

class SomeMiddleware < AnyCable::Middleware
-  def call(request, rpc_call, rpc_handler)
+  def call(rpc_method_name, request, metadata)
     yield
   end
 end

1.0.3 (2021-03-05)

1.0.2 (2021-01-05)

1.0.1 (2020-07-07)

Use the following format: ANYCABLE_REDIS_SENTINELS=:password1@my.redis.sentinel.first:26380,:password2@my.redis.sentinel.second:26380.

1.0.0 (2020-07-01)

That would allow to mimic instance variables usage in Action Cable channels.

Socket#unsubscribe is now implemented as well.

It could be used to send commands to WS server (e.g., remote disconnect).

Using anycable-go v1.x is required.

Server must sent protov metadata with the supported versions (comma-separated list). If there is no matching version an exception is raised.

Current RPC proto version is v1.

Now you can access request object in channels, too (e.g., to read headers/cookies/URL/etc).

See #71.


See Changelog for versions <1.0.0.