Releases: stimulusreflex/stimulus_reflex
Releases · stimulusreflex/stimulus_reflex
v3.5.0.pre10
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
v3.5.0.pre9
Released: 2022-04-01
Added:
- This release enables Rails Applications to easily include the StimulusReflex JavaScript client into their app by just installing the
stimulus_reflexRubygem.
# Gemfile
gem 'stimulus_reflex', '~> 3.5'Either with Import maps:
# config/importmap.rb
# ...
pin 'stimulus_reflex', to: 'stimulus_reflex.js', preload: trueOr with the regular Asset pipeline:
<!-- app/views/layouts/application.html.erb -->
<%= javascript_include_tag "stimulus_reflex.umd.js", "data-turbo-track": "reload" %>Changed
- Client side sanity by @leastbad in #561
- Updated gemspec to specific Rails gems by @paul in #568
- Fall back to empty siblings list if no parentNode is present by @julianrubisch in #566
- Bundle for Production, Dev-Builds and prebuilt JavaScript with the gem by @marcoroth in #575
Fixed
- Fix logger when :logging is nil by @ni3t in #573
- Temporarily fix OpenStruct with fix for
classandmethodattributes by @marcoroth in #569
Removed
- Remove
changelogGitHub Action by @marcoroth in #576
Dependencies
- Bump nokogiri from 1.12.5 to 1.13.3 by @dependabot in #572
New Contributors
Commits
Full Changelog: v3.5.0.pre8...v3.5.0.pre9
v3.5.0.pre8
Released: 2021-11-22
Added
- Add custom events so that developers can choose to handle specific Reflex actions by @leastbad in #559
- Add
suppressLoggingoption forstimulate()by @leastbad in #560
Changed
New Contributors
Commits
Full Changelog: v3.5.0.pre7...v3.5.0.pre8
v3.5.0.pre7
Released: 2021-10-26
Changed
- Reflex shouldn't need to exist to log errors by @leastbad in 54f66d1
- cover edge case with missing element aborting reflex due to selector memory by @leastbad in c963153
Commits
Full Changelog: v3.5.0.pre6...v3.5.0.pre7
v3.5.0.pre6
Released: 2021-10-14
Fixed
- Fix GitHub action for standardrb by @nachiket87 in #554
Changed
Commits
Full Changelog: v3.5.0.pre5...v3.5.0.pre6
v3.5.0.pre5
Released: 2021-10-07
Changed
- No changes. Just a re-release because of missing compiled files
Commits
Full Changelog: v3.5.0.pre4...v3.5.0.pre5
v3.5.0.pre4
v3.5.0.pre3
Released: 2021-10-01
Added
- Add first line of stacktrace to
console.logerror in dev environment by @RolandStuder in #532 - Add generator options to skip reflex and stimulus by @nachiket87 in #543
- Add
stimulus-reflex-connectedandstimulus-reflex-disconnectedclasses to<body>based on connection status by @leastbad in #547
Changed
- Update
Reflex#renderto defaultlayouttofalseby @leastbad in #534 - Specify env headers for page morph controller by @leastbad in #538
- Use new CableReady wire format by @leastbad in #536
- Reworked server message events by @leastbad in #536
- Reverse merge params into locals by @leastbad in #542
- Provide proxy methods boolean and numeric on Element by @julianrubisch in #528
- Overhaul Reflex logging by @leastbad in #546
Internal
- Add test for param behavior by @julianrubisch in #545
- Add test for
data-reflex-dataset="descendants"by @assuntaw in #531
Dependencies
- Bump nokogiri from 1.12.3 to 1.12.5 by @dependabot in #548
Commits
Full Changelog: v3.5.0.pre2...v3.5.0.pre3
v3.5.0.pre2
Released: 2021-07-21
Added
- Add
Schemaobject with getters by @leastbad in #505 - Add localization example to
ApplicationReflextemplate by @erlingur in #521 - Add
sideEffects: falseto make Webpack happy by @ParamagicDev in #523
Changed
- Optionally provide
innerHtmlandtextContentonStimulusReflex::Elementby @julianrubisch in #517 - Improve install experience by @leastbad in #510
- Specify form selector by @julianrubisch in #527
- Morph stimulus reflex element AKA "single element page morph" by @julianrubisch in #522
Internal
- Fix two typos by @julianrubisch in #526
- Refactor
stream_nameby @leastbad in #519
Commits
Full Changelog: v3.5.0.pre1...v3.5.0.pre2
v3.5.0.pre1
Released: 2021-06-02
Changed
- handle operations that have string-defined selector argument by @leastbad in #509
- Fix cross-tab errors for piggybacked operations by @julianrubisch in #514
Internal
- Update
reflexes.jsby @julianrubisch in #515
Dependencies
- Bump ws from 7.4.5 to 7.4.6 by @dependabot in #513
Commits
Full Changelog: v3.5.0.pre0...v3.5.0.pre1