Skip to content

Releases: palkan/litecable

0.8.0

09 Mar 02:27
Compare
Choose a tag to compare

Features

  • Support custom channel registries (to perform channel class lookups).

For example:

# DummyRegistry which always returns a predefined channel class
class DummyRegistry
  def lookup(channel_id)
    DummyChannel
  end
end

LiteCable.channel_registry = DummyRegistry.new

Changes

  • Ruby 2.7+ is required.

0.7.0

30 Jun 20:49
Compare
Choose a tag to compare

Changes

  • Refactored AnyCable integration.

Now you only need to set AnyCable broadcast adapter:

LiteCable.broadcast_adapter = :any_cable
# or via env/config
LITECABLE_BROADCAST_ADAPTER=any_cable ruby my_app.rb
  • Dropped Ruby 2.4 support.