# Change log ## 🚧 1.0.0 (_coming soon_) - **Ruby 2.5+ is required**. ([@palkan][]) - Support `disconnect` messages. ([@palkan][]) Added in Rails 6 (see [PR#34194](https://github.com/rails/rails/pull/34194)). - Add ability to persist _dirty_ `request.session` between RPC calls. ([@palkan][]) This feature emulates the Action Cable behaviour where it's possible to use `request.session` as a shared Hash-like store. This could be used by some applications (e.g., [StimulusReflex](https://github.com/hopsoft/stimulus_reflex)-based). You must turn this feature on by setting `persistent_session_enabled: true` in the AnyCable configuration. - Add ability to use Rack middlewares when build a request for a connection. ([@bibendi][]) - Add set up generator to configure a Rails application by running `bin/rails g anycable:setup`. ([@bibendi][]) - Require a minimum version of Ruby when installing the gem. ([@bibendi][]) - Add ability to develop the gem with Docker. ([@bibendi][]) ## 0.6.4 (2019-06-26) 👶 - Fix Compatibility bug when using with AnyCable. ([@palkan][]) Compatibility patching (with `prepend` + `super`) conflicted with the `ActionCable::Channel::Base` patching in the core functionality (which uses `alias`). See [#95](https://github.com/anycable/anycable-rails/issues/95). ## 0.6.3 (2019-03-26) - Fix connection factory reloading for development sake. ([@sponomarev][]) - Add `:anycable` subscription adapter alias. ([@sponomarev][]) - Don't set AnyCable connection factory for incompatible adapter ([@sponomarev][]) `anycable` server won't start with unpatched vanilla `ApplicationCable::Connection`. Motivation in [#74](https://github.com/anycable/anycable-rails/issues/74). - Fix instance detection inside complex cases in compatibility cops ([@sponomarev][]) ## 0.6.2 (2019-01-10) - Fixed `anycable` 0.6.1 compatibility. ([@palkan][]) - Broadcast logs to STDOUT in development only when server is running. ([@palkan][]) Fixes #59. ## 0.6.1 (2018-11-15) - Fix regression introduced in [e64a366e](https://github.com/anycable/anycable-rails/commit/e64a366ea21293925e0c5c0b8e6595d65d5d0981#diff-fd0e56a6e825002eac978507c3581af7R14) ([@palkan][]) `Connection` patch could be loaded after `identify_by` is called, thus breaking identifiers. ## 0.6.0 (2018-11-15) **NOTE**: this version has been yanked from RubyGems due to the regression bug. Use 0.6.1. - [PR #56](https://github.com/anycable/anycable-rails/pull/56) Request verification based on ActionCable config. ([@DmitryTsepelev][]) - Add WS server session ID to log tags if present. ([@palkan][]) - Support tagged logging. ([@palkan][]) - Action Cable monkey-patches are only loaded in the context of AnyCable CLI. ([@palkan][]) No need to think about `requie` and `group` for `anycable-rails`, just add it to Gemfile. - Add `:any_cable` subscription adapter for Action Cable. ([@palkan][]) Use `:any_cable` adapter for Action Cable to broadcast data to AnyCable. No more `pubsub` monkey-patches 🎉. - Added Rails executor/reloader support. ([@palkan][]) - **[Breaking]** No more generators. ([@palkan][]) No need to generate AnyCable runner script since `anycable` gem ships with the CLI. - Add dynamic (`AnyCable::CompatibilityError`) compatibility checks. ([@DmitryTsepelev][]) - Added static (RuboCop) compatibility checks. ([@DmitryTsepelev][]) See https://github.com/anycable/anycable-rails/issues/52 ## 0.5.4 (2018-06-13) - Fix duplicate logs in development. ([@palkan][]) Fixes https://github.com/anycable/anycable_demo/issues/5. ## 0.5.3 - Fix return value of `Connection#handle_close`. ([@palkan][]) Should always be `true`, we do not expect a failure here. ## 0.5.2 - Add config/anycable.yml to Rails generator. ([@alekseyl][]) ## 0.5.1 - Improve Rails integration. ([@palkan][]) Log to STDOUT in development. Make order of initializers more deterministic. Show warning if AnyCable is loaded after application initialization. ## 0.5.0 - [#17](https://github.com/anycable/anycable-rails/issues/17) Refactor logging. ([@palkan][]) Use Rails logger everywhere. Add access logs ([anycable/anycable#20](https://github.com/anycable/anycable/issues/20)). ## 0.4.7 - Minor fixes. ([@palkan][]) ## 0.4.6 - Disable mounting default Action Cable server when AnyCable is loaded. ([@palkan][]) ## 0.4.5 - Handle tagged logger. ([@palkan][]) Ignore tagged logger features ('cause we do not have _persistent_ logger). ## 0.4.4 - Fix bug with ActiveRecord connections (https://github.com/anycable/anycable/issues/9). ([@palkan][]) ## 0.4.0 - Initial version. ([@palkan][]) [@palkan]: https://github.com/palkan [@alekseyl]: https://github.com/alekseyl [@DmitryTsepelev]: https://github.com/DmitryTsepelev [@sponomarev]: https://github.com/sponomarev [@bibendi]: https://github.com/bibendi