Skip to content
On this page

Release History

v5.0.0

New

Changed

  • Operations now execute in the order that they are created, regardless of type
  • Simplified JSON wire format is easier to parse and port to other languages 🤩
  • Channels and cable_car operation queues now support serialization
  • Channels now support deferred delivery via ActiveJob thanks to the new broadcast_later and broadcast_later_to methods
  • dom_id method upgraded to handle ActiveRecord Models and Relations
  • Objects passed as selectors to an operation can now expose a to_dom_selector or to_dom_id method
  • Operations now accept selector as an optional first parameter
  • selector option now accepts ActiveRecord Models and Relations
  • Chained operations now remember the selector from the previous operation
  • Operations now accept an optional delay option in ms, allowing chained time staggering
  • Operations can now be added to named batches via the batch option
  • Custom operations implement standardized before, operate and after

Deprecated

Moved

v4.5.0

CableReady v4.5.0 has eight new operations: append, graft, prepend, replace, replace_state, play_sound, go and scroll_into_view

Released under the MIT License.