Skip to content

Releases: cable-cr/cable

v0.4.0

17 Feb 19:02
c022072

Choose a tag to compare

What's Changed

  • Cable::Server#active_connections_for and Cable::Server#subscribed_channels_for public checkup methods by @rmarronnier in #86
  • Big refactor to make the backend registerable and swappable by @jwoertink in #89
  • Moving Redis backends to separate shards by @jwoertink in #90
  • Running CI for Crystal 1.14 compatibility by @jwoertink in #92
  • Removing deprecated sleep calls in specs by @jwoertink in #99
  • Wrap the Connection::CHANELS in a mutex to help thread safety by @jwoertink in #98
  • Wrap connection handling in a mutex for some thread-safe handling by @jwoertink in #100
  • Cleanup handler on exception to fix memory leak by @jwoertink in #101
  • Adding extra context information to on_error reporting by @jwoertink in #103
  • Release v0.4.0 by @jwoertink in #104

New Contributors

Full Changelog: v0.3.1...v0.4.0

v0.3.1

04 Oct 16:11
f0e3f9f

Choose a tag to compare

This release contains fixes for a memory leak, and IO::Errors when trying to send messages to closed sockets

v0.3.0

20 Sep 15:17
c3032a3

Choose a tag to compare

  • Backend abstraction to work with different backends.
  • Exception block handler using settings.on_error
  • Performance improvements
  • Better handling of malformed payloads
  • Remote disconnections

v0.2.2

05 Oct 15:39
4c3c65b

Choose a tag to compare

This release fixes a major memory leak thanks to @jgaskins

v0.2.1

16 Apr 18:15
a8f7f3d

Choose a tag to compare

This release adds in a pooled client for publish. Enable this setting by updating your Cable config.

Cable.configure do |settings|
  settings.route = "/cable"
  settings.token = "token"
  # Add this line.
  settings.pool_redis_publish = true
end

v0.2.0

01 Dec 19:23
58b8f6f

Choose a tag to compare

  • Drops support for Crystal < 1.0
  • Improved logging support #38
  • Added after_subscribed callbacks #35
  • New escape hatch for Sec-WebSocket-Protocol #37
  • Fixed memory leak #34
  • Fixed issue with multiple subscriptions to the same channel #36

0.1.0

07 Nov 20:38
f83207a

Choose a tag to compare

This is the initial release. Fully functional and compatible with Rails ActionCable