Skip to content

0.6.0 "Old School Hollywood" 🎥

Compare
Choose a tag to compare
@palkan palkan released this 15 Nov 07:33
· 276 commits to master since this release

RubyConf 2018 special.

tl;dr use anycable CLI instead of generator; use :any_cable subscription adapter for Action Cable to activate AnyCable.

NOTE: this version has been yanked from RubyGems due to the regression bug. Use 0.6.1.

This release requires anycable gem >= 0.6.0. See release notes for anycable 0.6.0.

See also upgrade notes.

Changes

  • No more generators.

No need to generate AnyCable runner script since anycable gem ships with the CLI.

Scripts generated by the previous version should work (unless have a non-generated code).

  • [Breaking] Added :any_cable subscription adapter for Action Cable.

Use :any_cable adapter for Action Cable to broadcast data to AnyCable.

Action Cable monkey-patches are only loaded in the context of AnyCable CLI. ([@palkan][])

No need to think about require and group for anycable-rails, just add it to Gemfile.

Features

  • Added support for request verification based on ActionCable config (disable_forgery_protection, allow_same_origin_as_host and allowed_request_origins)

  • Add compatibility checks.

See documentation.

  • Add WS server session ID to log tags if present.

Session ID feature is supported by anycable-go >= 0.6.0.

Improvements

  • Tagged logging is supported (was ignored previously).

  • Added Rails executor/reloader support.

Now code changes are handled by RPC server (in development).