AnyCable v0.5.0 Release Notes

Release Date: 2017-10-21 // over 6 years ago
  • NOTE : AnyCable 0.5.0 is incompatible with previous versions due to the changes made in RPC protocol.

    RPC Changes #27

    Now RPC responses has 3 statuses:

    • SUCCESS – successful request, operation succeed
    • FAILURE – successful request, operation failed (e.g. authentication failed)
    • 👻 ERROR – request failed (exception raised).

    We also provide error_msg only when request status is ERROR.

    👌 Improved Logging and Exceptions Handling #25

    🔧 Default logger logs to STDOUT with info level by default but can be configured to log to file with
    any severity.

    🔧 GRPC logging is turned off by default (can be turned on through log_grpc configuration parameter).

    🌲 ANYCABLE_DEBUG=1 acts as a shortcut to set debug level and turn on GRPC logging.

    👻 Now it's possible to add custom exception handlers (e.g. to notify external exception tracking services):

    # For example, with HoneybadgerAnycable.error\_handlers \<\< Proc.new { |ex| Honeybadger.notify(ex) }
    

    🌲 More on Wiki.

    👍 Arbitrary Headers Support #28

    Previously we hardcoded only "Cookie" header. Now we add all passed headers by WebSocket server to request env.

    👍 Redis Sentinel Support #2

    ➕ Added support for Redis Sentinel.

    🚀 Other Libraries Release Notes

    🚀 anycable-rails, v0.5.0

    🚀 anycable-go, v0.5.0