Releases: stimulusreflex/cable_ready
v5.0.0.pre9
Released: 2022-04-01
Added
Changed
- Updated gemspec to specific Rails gems by @paul in #175
 - Ignore inner updates on a stimulus-reflex action or turbo submit by @julianrubisch in #174
 updates_forshould respect url and only params on each element by @leastbad in #186- Updates for Attachments by @andrewerlanger in #190
 - Ship prebuilt JavaScript with the 
cable_readygem by @marcoroth in #191 
Fixed
- Fix resolve error for webpack 5 by @acarpe in #169
 - Fix 
text_contentoperation for nullish values by @marcoroth in #176 
Refactoring/Internals
- Introduce Rollup for production builds by @KonnorRogers in #165
 - Extract 
processBlockmethod and query getter by @julianrubisch in #170 - Update .npmignore by @Matt-Yorkley in #171
 - Setup automated dev-builds by @marcoroth in #177
 - Extract Block class and do a pre-fetch pass by @julianrubisch in #188
 - Remove automatic changelog generation with 
github_changelog_generatorby @marcoroth in #194 
JavaScript Client:
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: trueOr with the regular Asset pipeline:
<!-- app/views/layouts/application.html.erb -->
<%= javascript_include_tag "cable_ready.umd.js", "data-turbo-track": "reload" %>Dependencies
- Bump nokogiri from 1.12.5 to 1.13.3 by @dependabot in #189
 
New Contributors
- @acarpe made their first contribution in #169
 - @Matt-Yorkley made their first contribution in #171
 - @paul made their first contribution in #175
 - @assuntaw made their first contribution in #168
 - @andrewerlanger made their first contribution in #190
 
Commits
Full Changelog: v5.0.0.pre8...v5.0.0.pre9
v5.0.0.pre8
Released: 2021-11-22
Added
Fixed
- Query all eager loading turbo frames and patch their 
innerHTMLby @julianrubisch in #164 
Refactoring/Internal
Commits
Full Changelog: v5.0.0.pre7...v5.0.0.pre8
v5.0.0.pre7
Released: 2021-10-26
Added
- Add 
X-Cable-Ready: updatecustom header to HTTP fetch calls by @julianrubisch in #159 
Commits
Full Changelog: v5.0.0.pre6...v5.0.0.pre7
v5.0.0.pre6
Released: 2021-10-14
Changed
- Export 
CableReadyActionCableconsumerby @julianrubisch in #158 
Refactorings
- Consolidate elements into a base class by @julianrubisch in #157
 
Commits
Full Changelog: v5.0.0.pre5...v5.0.0.pre6
v5.0.0.pre5
Released: 2021-10-07
Added
- Export 
StreamFromElementandUpdatesForElementcustom elements by @julianrubisch in #156 
Fixed
Commits
Full Changelog: v5.0.0.pre4...v5.0.0.pre5
v5.0.0.pre4
Released: 2021-10-01
Added
- Introduce 
CableReady::Updatableandupdates_for- automatically update the DOM when state changes by @leastbad in #145 - Add 
debounceoption forupdates_forby @julianrubisch in #151 
Fixed
- Fix updates for lazy loading by @julianrubisch in #150
 - Fix wrong CableReady import by @n-rodriguez in #146
 
Docs
Dependencies
- Bump nokogiri from 1.12.3 to 1.12.5 by @dependabot in #148
 
New Contributors
Commits
Full Changelog: v5.0.0.pre3...v5.0.0.pre4
v5.0.0.pre3
Released: 2021-08-22
New Operations
Changed
- Implement simplified JSON payload by @leastbad in #142
 - Add support for named operation batches by @leastbad in #142
 
Dependencies
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #143
 
Commits
Full Changelog: v5.0.0.pre2...v5.0.0.pre3
v5.0.0.pre2
Released: 2021-07-21
Added
- Support 
to_dom_selectorfor operation selectors by @jaredcwhite in #135 - Add support for 
to_operation_optionsby @leastbad in #136 - Register CableReady JSON MIME-Type by @existentialmutt in #140
 
Changed
- Improve install experience by @leastbad in #128
 dom_idshould always be lowercase by @leastbad in #129- Mark JavaScript bundle 
sideEffectsfree by @KonnorRogers in #138 
Dependencies
- Bump addressable from 2.7.0 to 2.8.0 by @dependabot in #141
 
New Contributors
- @jaredcwhite made their first contribution in #135
 
Commits
Full Changelog: v5.0.0.pre1...v5.0.0.pre2
v5.0.0.pre1
Released: 2021-06-02
Fixed
- Add 
app/*folder tofilesingemspecby @julianrubisch in #133 
Commits
Full Changelog: v5.0.0.pre0...v5.0.0.pre1
v5.0.0.pre0
Released: 2021-05-20
New Operations
- Add 
scroll_into_viewoperation by @leastbad in #102 - Add 
set_metaoperation by @leastbad in #117 - Add 
console_tableoperation by @leastbad in #125 
Added
- Add channel generator by @julianrubisch in #95
 - Add 
stream_fromby @leastbad in #104 - Add sanity checker by @leastbad in #105
 - Add initializer generator by @leastbad in #105
 - Add support for chainable selectors between operations by @leastbad in #107
 - Add 
cable_carmode toCableReady::Broadcasterby @leastbad in #108 - Add 
broadcast_laterby @julianrubisch in #119 - Add 
OperationStoreto register operations on-the-fly by @marcoroth in #124 
Fixed
Changed
- Change default value of HTML in operations to empty string instead of undefined by @leastbad in #106
 - Use and export 
before,operateandafterto build the operations by @leastbad in #110 - The 
play_soundoperation is now opt-in and can be triggered via thedata-unlock-audioattribute on the<body>tag by @leastbad in #112 
Removed
- Remove warning message for already registered custom element by @marcoroth in #126
 
Refactoring/Internals
Dependencies
- Bump actionpack from 6.1.1 to 6.1.3 by @dependabot in #114
 - Bump activerecord from 6.1.1 to 6.1.3 by @dependabot in #115
 - Bump rexml from 3.2.4 to 3.2.5 by @dependabot in #120
 - Bump actionpack from 6.1.3.1 to 6.1.3.2 by @dependabot in #121
 - Bump handlebars from 4.7.6 to 4.7.7 by @dependabot in #122
 - Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #123
 
Commits
Full Changelog: v4.5.0...v5.0.0.pre0