v5.0.0.pre10
Pre-release
Pre-release
Released: 2023-02-15
New Operations
Added
- Add multi-element XPath support by @leastbad in #195
- Add option to disable Turbo Drive/Turbolinks on
redirect_to
navigation by @marcoroth in #197 - Add updatable broadcasts for has_one associations by @julianrubisch in #200
- Add
cable_ready_updates_for_if
helper by @julianrubisch in #202 - Add
OperationBuilder#apply!
should be able to handle an array of operations by @marcoroth in #213 - Add missing element warnings by @leastbad in #217
- Add
config.precompile_assets
option to disable assets compilation by @n-rodriguez in #244 - Add logging for
CableReady::Updatable
by @julianrubisch in #249 - Add CableReady 5.0 installer by @leastbad in #233
Changed
- Include changeset in class-level updates broadcast by @grncdr in #193
- Register Single-Table-Inheritance descendants for collection updates when using
enable_cable_ready_updates
by @julianrubisch in #204 - Explicit check for leaf parent element presence for
cable_ready_updates_for
by @rickbenavidez in #208 - Make
CableReady::Updatable
aware of Turbo Boost Commands by @julianrubisch in #242 - Change that
CableReadyHelper
doesn't raise when including the module by @marcoroth in #256
Fixed
- Fix
0
value problem withnull
checks by @leastbad in #210 - Fix
documentElement
doesn't have a parent by @leastbad in #218 - Fix
cable_ready_updates_for
makes redundant calls by @leastbad in #225 - Fix bug where using an array when calling
add_css_class
orremove_css_class
didn't work by @binarygit in #232
Removed
- Remove
config.on_new_version_available
config option by @marcoroth in #253
Renamed
- Rename
CableReadyHelper
toCableReady::ViewHelper
by @marcoroth in #220 and @erlingur in #224 - Rename
enable_updates
toenable_cable_ready_updates
by @marcoroth in #250 - Rename
<updates-for>
to<cable-ready-updates-for>
by @marcoroth in #252 - Rename
<stream-from>
to<cable-ready-stream-from>
by @marcoroth in #252 - Rename
stream_from(...)
tocable_ready_stream_from(...)
by @marcoroth in #252 - Rename
updates_for(...)
tocable_ready_updates_for(...)
by @marcoroth in #252 - Rename
updates_for_if(...)
tocable_ready_updates_for_if(...)
by @marcoroth in #252
New packages
@cable_ready/element
<cable-ready>
element by @jaredcwhite in #139- Extract
<cable-ready>
element to@cable_ready/element
by @marcoroth in #237
@cable_ready/invoke_operations
- Add an
invoke_method
operation by @jaredcwhite in #198 - Extract
invoke_method
operation to@cable_ready/invoke_operations
by @marcoroth in #239
Refactoring/Internal
- Add
.rake
to gemspecfiles
glob pattern by @marcoroth in #199
Dependencies
- Bump nokogiri from 1.13.3 to 1.13.4 by @dependabot in #196
- Bump nokogiri from 1.13.4 to 1.13.6 by @dependabot in #205
- Bump rails-html-sanitizer from 1.4.2 to 1.4.3 by @dependabot in #211
- Bump rack from 2.2.3 to 2.2.4 by @dependabot in #212
- Bump terser from 5.12.1 to 5.14.2 by @dependabot in #215
- Bump nokogiri from 1.13.6 to 1.13.9 by @dependabot in #221
- remove strict dependencies on Active Record, Action Cable and Active Storage by @leastbad in #222
- Bump nokogiri from 1.13.9 to 1.13.10 by @dependabot in #228
- Bump loofah from 2.18.0 to 2.19.1 by @dependabot in #229
- Bump rails-html-sanitizer from 1.4.3 to 1.4.4 by @dependabot in #230
- Bump rack from 2.2.5 to 2.2.6.2 by @dependabot in #240
- Bump globalid from 1.0.0 to 1.0.1 by @dependabot in #241
- Bump ua-parser-js from 1.0.2 to 1.0.33 by @dependabot in #243
- Upgrade all
devDependencies
by @marcoroth in #251
New Contributors
- @grncdr made their first contribution in #193
- @rickbenavidez made their first contribution in #208
- @erlingur made their first contribution in #224
- @binarygit made their first contribution in #232
Commits
Full Changelog: v5.0.0.pre9...v5.0.0.pre10