All Versions
31
Latest Version
Avg Release Cycle
75 days
Latest Release
18 days ago

Changelog History
Page 3

  • v0.5.2 Changes

    September 06, 2018

    ➕ Added HTTP health check server which could be used for readiness and liveness checks.

    Health check server responds on /health with 200 when gRPC server is running and with 503 when it isn't.

    Health check server is enabled if http_health_port configuration value is provided, e.g. through env variable ANYCABLE_HTTP_HEALTH_PORT=54321.

    👀 See #48 for details.

  • v0.5.1 Changes

    June 13, 2018

    🛠 Minor fixes.

  • v0.5.0 Changes

    October 21, 2017

    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

  • v0.4.6 Changes

    May 20, 2017
    • ➕ Add Anycable::Server#stop method. ([@sadovnik][])
  • v0.4.5 Changes

    March 17, 2017
    • 🛠 Fixed #11. ([@palkan][])
  • v0.4.4 Changes

    March 06, 2017
    • 🖐 Handle StandardError gracefully in RPC calls. ([@palkan][])
  • v0.4.3 Changes

    February 18, 2017
    • ⚡️ Update grpc version dependency to support Ruby 2.4. ([@palkan][])
  • v0.4.2 Changes

    January 28, 2017
    • 🔄 Change socket streaming API. ([@palkan][])

    Add Socket#subscribe, unsubscribe and unsubscribe_from_all methods.

  • v0.4.1 Changes

    January 24, 2017
    • Introduce fake socket instance to handle transmissions and streams. ([@palkan][])

    • 👉 Make commands handling more abstract. ([@palkan][])

    We now do not explicitly call channels action but use the only one entrypoing for all commands:

    connection.handle_channel_command(identifier, command, data)
    

    This method should return true if command was successful and false otherwise.

  • v0.4.0 Changes

    January 22, 2017
    • ♻️ Refactor RPC API. ([@palkan][])

    Replace Subscribe, Unsubscribe and Perform methods with Command method.

    • 🚅 Extract Rails functionality to separate gem. ([@palkan][])

    🚅 All Rails specifics now live here https://github.com/anycable/anycable-rails.