v3.5.0.pre10
Pre-release
Pre-release
Released: 2023-02-21
Added
- Add new
forbiddenlifecycle event by @leastbad in #588 - Add support for enqueuing reflexes when ActionCable connection might not be established yet by @leastbad in #590
- Add global and controller-scoped
reflexesobject by @leastbad in #592 - Add
config.morph_operationandconfig.replace_operationconfig options by @leastbad in #599 - Add
StimulusReflex.versionon global JavaScript object by @marcoroth in #603 - Add StimulusReflex 3.5 installer by @leastbad and @marcoroth in #610
- Add support for URL parameters in ReflexData by @leastbad in #612
- Add
config.precompile_assetsoption for disabling assets compilation by @marcoroth in #631
Changed
- Emit
stimulus-reflex:readyevent on specific element instead ofdocumentby @marcoroth in #625
Fixed
- Fix inclusion of missing rake tasks by @marcoroth in #581
- Fix conditional operator for webpack by @leastbad in #587
- Fix missing safe navigation by @leastbad in #600
- Fix
versionimport frompackage.jsonfor webpack 5 compatibility by @marcoroth in #604 - Fix Schema to be able to be configured multiple times by @marcoroth in #624
- Fix race conditions when using Import Maps:
- Call initial
setupDeclarativeReflexes()ondocument.readyState === 'complete'by @marcoroth in #602 - Fix detection of
data-reflexattributes by making the mechanism more resilient by @marcoroth in #606
- Call initial
Removed
- Remove
config.on_new_version_availableoption by @marcoroth in #634
Documentation
Note
documentation changes are now welcome in pull requests!
- Add StimulusReflex 3.5 documentation by @leastbad and @marcoroth in #627
- Migrate documentation from GitBook to Vitepress by @marcoroth in #627
- Add missing space in
hello-world/index.mdby @mkempe in #632
Internal/Refactoring
- Refactor connection status by @leastbad in #589
- Refactor
ActionCableTransportmodule by @leastbad in #590 - Introduce the
ReflexJavaScript class by @leastbad in #592 - Extract
StimulusReflex::Fragmentby @julianrubisch in #594 - Extract
StimulusReflex::CableReadinessby @julianrubisch in #595 - Consolidate
morphmethod between broadcasters by @julianrubisch in #597 - Introduce
StimulusReflex::HTML::Document, featuringNokogiri::HTML5by @marcoroth in #601 - Use
Utilsfunctions from CableReady JavaScript package by @marcoroth in #623 - Add tests for
StimulusReflex::Configurationby @marcoroth in #633
Dependencies
- Bump cable_ready to
5.0.0.pre10by @marcoroth in #635 - Bump nokogiri from 1.13.3 to 1.13.4 by @dependabot in #580
- Bump async from 2.6.3 to 2.6.4 by @dependabot in #582
- Bump nokogiri from 1.13.4 to 1.13.6 by @dependabot in #585
- Bump rack from 2.2.3 to 2.2.3.1 by @dependabot in #586
- Bump rails-html-sanitizer from 1.4.2 to 1.4.3 by @dependabot in #593
- Bump terser from 5.14.0 to 5.14.2 by @dependabot in #596
- Bump nokogiri from 1.13.6 to 1.13.9 by @dependabot in #613
- Bump nokogiri from 1.13.9 to 1.13.10 by @dependabot in #615
- Bump loofah from 2.18.0 to 2.19.1 by @dependabot in #616
- Bump rails-html-sanitizer from 1.4.3 to 1.4.4 by @dependabot in #617
- Bump rack from 2.2.3.1 to 2.2.6.2 by @dependabot in #628
- Bump globalid from 1.0.0 to 1.0.1 by @dependabot in #629
- Bump ua-parser-js from 1.0.2 to 1.0.33 by @dependabot in #630
New Contributors
Commits
Full Changelog: v3.5.0.pre9...v3.5.0.pre10