Use simple commands on the server to control client browsers in real-time
MIT License
Bot releases are visible (Hide)
dist/
files to reflect new versionFull Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.4...v5.0.5
Published by marcoroth 5 months ago
observer
gem to gemspec by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/294
CableReady::Installer
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/295
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.3...v5.0.4
Published by julianrubisch 11 months ago
Replacement for the corrupted 5.0.2 release
Published by julianrubisch 11 months ago
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.1...v5.0.2
Published by julianrubisch over 1 year ago
Released: 2023-07-07
triggerElement
and targetElement
logs for CableReady dev tools by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/276
config.updatable_debounce_adapter
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/280
xpath
flag when overwriting selector
with previous_selector
by @Matt-Yorkley in https://github.com/stimulusreflex/cable_ready/pull/278
CableReady::Updatable
docs by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/281
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0...v5.0.1
Published by marcoroth over 1 year ago
Released: 2023-04-13
scroll_into_view
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/102
set_meta
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/117
console_table
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/125
redirect_to
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/144
set_title
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/234
stream_from
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/104
cable_car
mode to CableReady::Broadcaster
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/108
broadcast_later
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/119
OperationStore
to register operations on-the-fly by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/124
to_dom_selector
in operation selectors by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/135
to_operation_options
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/136
CableReady::Updatable
and updates_for
- automatically update the DOM when state changes by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/145
debounce
option for updates_for
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/151
X-Cable-Ready: update
custom header to HTTP fetch calls by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/159
only
option for updates_for
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/163
skip_updates
option by @assuntaw in https://github.com/stimulusreflex/cable_ready/pull/168
redirect_to
navigation by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/197
cable_ready_updates_for_if
helper by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/202
OperationBuilder#apply!
should be able to handle an array of operations by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/213
config.precompile_assets
option to disable assets compilation by @n-rodriguez in https://github.com/stimulusreflex/cable_ready/pull/244
CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/249
config.updatable_debounce_time
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/263
X-Cable-Ready-Version
header to all HTTP CableReady/CableCar responses by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
debounce
option for CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/261 and https://github.com/stimulusreflex/cable_ready/pull/264
updates_for
edge cases by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/155
innerHTML
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/164
text_content
operation for nullish values by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/176
0
value problem with null
checks by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/210
documentElement
doesn't have a parent by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/218
cable_ready_updates_for
makes redundant calls by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/225
add_css_class
or remove_css_class
didn't work by @binarygit in https://github.com/stimulusreflex/cable_ready/pull/232
inverse_of
resolution of associations used by CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/262
url_helpers
include from installer which causes the installer to fail and exit by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/267
before
, operate
and after
to build the operations by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/110
play_sound
operation is now opt-in and can be triggered via the data-unlock-audio
attribute on the <body>
tag by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/112
dom_id
should always be lowercase by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/129
sideEffects
free by @KonnorRogers in https://github.com/stimulusreflex/cable_ready/pull/138
StreamFromElement
and UpdatesForElement
custom elements by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/156
CableReady
ActionCable consumer
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/158
updates_for
should respect url and only params on each element by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/186
cable_ready
gem by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/191
enable_cable_ready_updates
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/204
cable_ready_updates_for
by @rickbenavidez in https://github.com/stimulusreflex/cable_ready/pull/208
CableReady::Updatable
aware of Turbo Boost Commands by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/242
CableReadyHelper
doesn't raise when including the module by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/256
config.on_new_version_available
config option by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/253
CableReadyHelper
to CableReady::ViewHelper
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/220 and @erlingur in https://github.com/stimulusreflex/cable_ready/pull/224
enable_updates
to enable_cable_ready_updates
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/250
<updates-for>
to <cable-ready-updates-for>
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
<stream-from>
to <cable-ready-stream-from>
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
stream_from(...)
to cable_ready_stream_from(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
updates_for(...)
to cable_ready_updates_for(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
updates_for_if(...)
to cable_ready_updates_for_if(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
CableReadyBroadcastJob
to CableReady::BroadcastJob
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/259
ActionController::Renderers
from operations
to cable_ready
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
cable_ready
MIME type from application/vnd.cable-ready.json
to text/vnd.cable-ready.json
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
processBlock
method and query getter by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/170
github_changelog_generator
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/194
.rake
to gemspec files
glob pattern by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/199
@cable_ready/element
<cable-ready>
element by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/139
<cable-ready>
element to @cable_ready/element
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/237
@cable_ready/invoke_operations
invoke_method
operation by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/198
invoke_method
operation to @cable_ready/invoke_operations
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/239
devDependencies
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/251
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v4.5.0...v5.0.0
Published by marcoroth over 1 year ago
Released: 2023-03-28
3.5.0.rc2
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.rc1...v5.0.0.rc2
Published by marcoroth over 1 year ago
Released: 2023-03-26
config.updatable_debounce_time
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/263
X-Cable-Ready-Version
header to all HTTP CableReady/CableCar responses by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
debounce
option for CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/261 and https://github.com/stimulusreflex/cable_ready/pull/264
inverse_of
resolution of associations used by CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/262
url_helpers
include from installer which causes the installer to fail and exit by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/267
Note: if you were using the any CableReady
min.js
files we ask you to migrate to the non-minified versions.
CableReadyBroadcastJob
to CableReady::BroadcastJob
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/259
ActionController::Renderers
from operations
to cable_ready
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
cable_ready
MIME type from application/vnd.cable-ready.json
to text/vnd.cable-ready.json
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/260
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre10...v5.0.0.rc1
Published by marcoroth over 1 year ago
Released: 2023-02-15
set_title
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/234
redirect_to
navigation by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/197
cable_ready_updates_for_if
helper by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/202
OperationBuilder#apply!
should be able to handle an array of operations by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/213
config.precompile_assets
option to disable assets compilation by @n-rodriguez in https://github.com/stimulusreflex/cable_ready/pull/244
CableReady::Updatable
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/249
enable_cable_ready_updates
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/204
cable_ready_updates_for
by @rickbenavidez in https://github.com/stimulusreflex/cable_ready/pull/208
CableReady::Updatable
aware of Turbo Boost Commands by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/242
CableReadyHelper
doesn't raise when including the module by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/256
0
value problem with null
checks by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/210
documentElement
doesn't have a parent by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/218
cable_ready_updates_for
makes redundant calls by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/225
add_css_class
or remove_css_class
didn't work by @binarygit in https://github.com/stimulusreflex/cable_ready/pull/232
config.on_new_version_available
config option by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/253
CableReadyHelper
to CableReady::ViewHelper
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/220 and @erlingur in https://github.com/stimulusreflex/cable_ready/pull/224
enable_updates
to enable_cable_ready_updates
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/250
<updates-for>
to <cable-ready-updates-for>
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
<stream-from>
to <cable-ready-stream-from>
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
stream_from(...)
to cable_ready_stream_from(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
updates_for(...)
to cable_ready_updates_for(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
updates_for_if(...)
to cable_ready_updates_for_if(...)
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/252
@cable_ready/element
<cable-ready>
element by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/139
<cable-ready>
element to @cable_ready/element
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/237
@cable_ready/invoke_operations
invoke_method
operation by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/198
invoke_method
operation to @cable_ready/invoke_operations
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/239
.rake
to gemspec files
glob pattern by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/199
devDependencies
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/251
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre9...v5.0.0.pre10
Published by marcoroth over 2 years ago
Released: 2022-04-01
skip_updates
option by @assuntaw in https://github.com/stimulusreflex/cable_ready/pull/168
updates_for
should respect url and only params on each element by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/186
cable_ready
gem by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/191
text_content
operation for nullish values by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/176
processBlock
method and query getter by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/170
github_changelog_generator
by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/194
This enables Rails Applications to easily include the CableReady JavaScript client into their app by just installing the cable_ready
Rubygem.
# Gemfile
gem 'cable_ready', '~> 5.0'
Either with Import maps:
# config/importmap.rb
# ...
pin 'cable_ready', to: 'cable_ready.js', preload: true
Or with the regular Asset pipeline:
<!-- app/views/layouts/application.html.erb -->
<%= javascript_include_tag "cable_ready.umd.js", "data-turbo-track": "reload" %>
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre8...v5.0.0.pre9
Published by marcoroth over 2 years ago
Released: 2021-11-22
only
option for updates_for
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/163
innerHTML
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/164
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre7...v5.0.0.pre8
Published by marcoroth over 2 years ago
Released: 2021-10-26
X-Cable-Ready: update
custom header to HTTP fetch calls by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/159
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre6...v5.0.0.pre7
Published by marcoroth over 2 years ago
Released: 2021-10-14
CableReady
ActionCable consumer
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/158
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre5...v5.0.0.pre6
Published by marcoroth over 2 years ago
Released: 2021-10-07
StreamFromElement
and UpdatesForElement
custom elements by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/156
updates_for
edge cases by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/155
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre4...v5.0.0.pre5
Published by marcoroth over 2 years ago
Released: 2021-10-01
CableReady::Updatable
and updates_for
- automatically update the DOM when state changes by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/145
debounce
option for updates_for
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/151
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre3...v5.0.0.pre4
Published by marcoroth over 2 years ago
Released: 2021-08-22
redirect_to
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/144
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre2...v5.0.0.pre3
Published by marcoroth over 2 years ago
Released: 2021-07-21
to_dom_selector
for operation selectors by @jaredcwhite in https://github.com/stimulusreflex/cable_ready/pull/135
to_operation_options
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/136
dom_id
should always be lowercase by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/129
sideEffects
free by @KonnorRogers in https://github.com/stimulusreflex/cable_ready/pull/138
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre1...v5.0.0.pre2
Published by marcoroth over 2 years ago
Released: 2021-06-02
app/*
folder to files
in gemspec
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/133
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v5.0.0.pre0...v5.0.0.pre1
Published by marcoroth over 2 years ago
Released: 2021-05-20
scroll_into_view
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/102
set_meta
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/117
console_table
operation by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/125
stream_from
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/104
cable_car
mode to CableReady::Broadcaster
by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/108
broadcast_later
by @julianrubisch in https://github.com/stimulusreflex/cable_ready/pull/119
OperationStore
to register operations on-the-fly by @marcoroth in https://github.com/stimulusreflex/cable_ready/pull/124
before
, operate
and after
to build the operations by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/110
play_sound
operation is now opt-in and can be triggered via the data-unlock-audio
attribute on the <body>
tag by @leastbad in https://github.com/stimulusreflex/cable_ready/pull/112
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v4.5.0...v5.0.0.pre0
Published by marcoroth over 2 years ago
Released: 2020-04-05
Full Changelog: https://github.com/stimulusreflex/cable_ready/compare/v4.0.9...v4.1.0