v3.5.0.pre10
Pre-release
Pre-release
Released: 2023-02-21
Added
- Add new
forbidden
lifecycle 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
reflexes
object by @leastbad in #592 - Add
config.morph_operation
andconfig.replace_operation
config options by @leastbad in #599 - Add
StimulusReflex.version
on 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_assets
option for disabling assets compilation by @marcoroth in #631
Changed
- Emit
stimulus-reflex:ready
event on specific element instead ofdocument
by @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
version
import frompackage.json
for 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-reflex
attributes by making the mechanism more resilient by @marcoroth in #606
- Call initial
Removed
- Remove
config.on_new_version_available
option 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.md
by @mkempe in #632
Internal/Refactoring
- Refactor connection status by @leastbad in #589
- Refactor
ActionCableTransport
module by @leastbad in #590 - Introduce the
Reflex
JavaScript class by @leastbad in #592 - Extract
StimulusReflex::Fragment
by @julianrubisch in #594 - Extract
StimulusReflex::CableReadiness
by @julianrubisch in #595 - Consolidate
morph
method between broadcasters by @julianrubisch in #597 - Introduce
StimulusReflex::HTML::Document
, featuringNokogiri::HTML5
by @marcoroth in #601 - Use
Utils
functions from CableReady JavaScript package by @marcoroth in #623 - Add tests for
StimulusReflex::Configuration
by @marcoroth in #633
Dependencies
- Bump cable_ready to
5.0.0.pre10
by @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