Releases: stimulusreflex/stimulus_reflex
Releases · stimulusreflex/stimulus_reflex
v3.5.4
Changed
Dependencies
- Bump tar-fs from 3.0.6 to 3.0.8 by @dependabot in #733
New Contributors
Commits
Full Changelog: v3.5.3...v3.5.4
v3.5.3
Updated
- Update gemspec to be compatible with Rails 8 by @sara-g in #726
- Update CableReady to
v5.0.6by @marcoroth in #730
Dependencies
- Bump rexml from 3.2.8 to 3.3.3 by @dependabot in #712
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #711
- Bump rexml from 3.3.3 to 3.3.6 by @dependabot in #717
- Bump vite from 4.5.3 to 4.5.5 by @dependabot in #720
- Bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #718
- Bump rails from 7.0.4.2 to 7.1.4 by @dependabot in #721
- Bump rexml from 3.3.6 to 3.3.9 by @dependabot in #725
- Bump actionmailer from 7.1.4 to 7.1.4.1 by @dependabot in #724
- Bump actiontext from 7.1.4 to 7.1.4.1 by @dependabot in #723
- Bump rails-html-sanitizer from 1.6.0 to 1.6.1 by @dependabot in #727
- Bump nanoid from 3.3.4 to 3.3.8 by @dependabot in #728
- Bump actionpack from 7.1.4.1 to 7.1.5.1 by @dependabot in #729
New Contributors
Commits
Full Changelog: v3.5.2...v3.5.3
v3.5.2
Fixed
Documentation
- Add page which describes the "redisless" setup by @andyundso in #703
Dependencies
- Bump rexml from 3.2.5 to 3.2.8 by @dependabot in #704
New Contributors
- @juna-nb made their first contribution in #705
- @andyundso made their first contribution in #703
Commits
Full Changelog: v3.5.1...v3.5.2
v3.5.1
Changed
- Update CableReady to
v5.0.5by @marcoroth in 6d01dd4 - Bump nokogiri from 1.16.4 to 1.16.5 by @dependabot in #700
Commits
Full Changelog: v3.5.0...v3.5.1
v3.5.0
Added
- Add support for Reflex Callback skips by @assuntaw in #466
- Add support for prepend and append reflex callbacks by @marcoroth in #472
- Add support for return values for
stimulatecalls by @leastbad in #458 - Add connection status class by @leastbad in #589
- Add
precompile_assetsoption to disable assets compilation by @marcoroth in #631 - Emit
stimulus-reflex:readyevent on element instead of document by @marcoroth in #625 - Improve DX around version mismatch warnings by @marcoroth in #641
- Export
StimulusReflexControllerconstant by @marcoroth in #672 - Add implicit dom_id for morph selectors by @leastbad in #436
- Report failed basic auth by @leastbad in #454
- Handle generated value for channel_prefix if app directory contains dots or spaces by @lxxxvi in #457
- Log reflex payloads client-side by @julianrubisch in #476
- Reflex return payloads for events and callbacks by @leastbad in #477
- Add
useReflexjs function to "support" the composable pattern by @marcoroth in #475 - Prevent /cable from being prepended to ActiveStorage route helpers by @leastbad in #484
- deprecation warnings (consumer, form serialization, isolation mode) by @leastbad in #438
- version check by @leastbad in #434
- feature: add check for default url options by @nachiket87 in #480
- Prevent install script from choking on magic comments via hard-coded line numbers by @leastbad in #494
- render_collection by @leastbad in #498
- Log the full exception trace by @rmckayfleming in #491
- data-reflex-dataset and data-reflex-dataset-all by @leastbad in #478
- convert symbol keys, ensure fragment html exists by @leastbad in #503
- tab_id accessor by @leastbad in #506
- delegate dom_id to CableReady::Identifiable by @leastbad in #485
- handle operations that have string-defined selector argument by @leastbad in #509
- Schema object with getters by @leastbad in #505
- Optionally provide innerHtml and textContent on StimulusReflex::Element by @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
- add first line of stacktrace to console.log error in dev environment by @RolandStuder in #532
- reflex render layout defaults to false by @leastbad in #534
- Add generator options to skip reflex and stimulus by @nachiket87 in #543
- Provide proxy methods boolean and numeric on Element by @julianrubisch in #528
- Overhaul Reflex logging by @leastbad in #546
- document body connection status classes by @leastbad in #547
- serialize forms with multiple, non-unique array elements by @leastbad in #556
- emit custom life-cycle events by @leastbad in #559
- suppress logging by @leastbad in #560
- Client side sanity by @leastbad in #561
- Bundle for Production, Dev-Builds and prebuilt JavaScript with the gem by @marcoroth in #575
- conditional operator breaks webpack in some cases by @leastbad in #587
- throw :forbidden by @leastbad in #588
- configure operations for morph and replace by @leastbad in #599
- Provide JavaScript package version on global
StimulusReflexobject by @marcoroth in #603 initializedoesn't need to return a reference toreflexesby @leastbad in #611- Make Schema configurable by @marcoroth in #624
- Remove
config.on_new_version_availableoption by @marcoroth in #634 - New StimulusReflex installer experience by @leastbad and @marcoroth in #610
- Show version mismatch warning toasts when CableReady versions mismatch by @marcoroth in #651
- Implement
nokogiri-html5-inferenceto properly support HTML fragment parsing by @marcoroth in #696
Changed
- Call initial
setupDeclarativeReflexes()ondocument.readyState === 'complete'by @marcoroth in #602 - Move logger and sanity_checker to /utils by @leastbad in #456
- only run piggybacked operations after SR is finished, and isolate them by @leastbad in #482
- Always pick up instance variables when accessing controller by @leastbad in #493
- Stop adding whitespace when parsing our html by @lmatiolis in #492
- New CR wire format + reworked server message events by @leastbad in #536
- reverse merge params into locals by @leastbad in #542
- specify env headers for page morph controller by @leastbad in #538
- When searching a controller based off a reflex name, ignore hyphens by @g-gagnon in #558
- Fall back to empty siblings list if no parentNode is present by @julianrubisch in #566
- Temporarily fix OpenStruct with fix for
classandmethodattributes by @marcoroth in #569 - Fall back to empty siblings list if no parentNode is present by @julianrubisch in #566
- Temporarily fix OpenStruct with fix for
classandmethodattributes by @marcoroth in #569 - Make
versionimport frompackage.jsonwebpack 5 compatible by @marcoroth in #604 - Declarative Reflexes Resiliency by @marcoroth in #606
- Introduce
StimulusReflex::HTML::Document, featuringNokogiri::HTML5by @marcoroth in #601 - Don't use relative imports for Importmaps by @marcoroth in #655
- Don't choose first controller if no matching StimulusReflex-enabled controller was found by @marcoroth in #670
- Isolate and namespace
StimulusReflex::Installerby @marcoroth in #699
Removed
- Remove
ActiveSupport::Concern#prependedusage for Rails 6 by @marcoroth in #662 - Remove
changelogGitHub Action by @marcoroth in #576 - Remove minified dist files by @marcoroth in #648
Fixes
v3.5.0.rc4
Security Fix
- Only allow safe
method_namecalls on reflexes (resolves CVE-2024-28121, click here to learn more) by @marcoroth, thanks to @FelixMartel for reporting this!
Changed
- Don't choose first controller if no matching StimulusReflex-enabled controller was found by @marcoroth in #670
- Export
StimulusReflexControllerconstant by @marcoroth in #672
Fixed
- Fix exception in ActionCable channel due to reflexes overwriting each other's data by @alexander-makarenko in #663
- Fix
reflex_datakeyword argument by @brunoenten in #673 - Fix undefined package_json during Yarn install by @mattboldt in #676
- Fix ReflexData parsing by @Matt-Yorkley in #688
Docs
- Update setup docs by @julianrubisch in #645
- Update mrujs link on docs by @cpgo in #675
- Fix typo in Step 2 of Setup Docs by @ryanmansfield in #680
Dependencies
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #671
- Bump vite from 4.3.9 to 4.5.2 by @dependabot in #681
- Bump rack from 2.2.7 to 2.2.8.1 by @dependabot in #690
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #685
New Contributors
- @alexander-makarenko made their first contribution in #663
- @cpgo made their first contribution in #675
- @brunoenten made their first contribution in #673
- @mattboldt made their first contribution in #676
- @ryanmansfield made their first contribution in #680
- @FelixMartel made their first contribution in GHSA-f78j-4w3g-4q65
Commits
Full Changelog: v3.5.0.rc3...v3.5.0.rc4
v3.4.2
v3.5.0.rc3
Released: 2023-07-12
Added
-
Fixed
- Fix reference to VersionMismatchError after namespace change by @Matt-Yorkley in #665
- Don't use relative imports for Importmaps by @marcoroth in #655
Removed
- Remove
ActiveSupport::Concern#prependedusage for Rails 6 by @marcoroth in #662
Docs
- docs: Add whitespace in the docs. by @dixpac in #657
- docs: Sentence rephrasing, to->from by @dixpac in #658
- docs: fix broken next page link on welcome page by @marcoroth in #661
Dependencies
- Bump nokogiri from 1.14.2 to 1.14.3 by @dependabot in #654
- Bump vite from 4.3.8 to 4.3.9 by @dependabot in #667
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #669
Commits
Full Changelog: v3.5.0.rc2...v3.5.0.rc3
v3.5.0.rc2
Released: 2023-03-28
Added
- Show version mismatch warning toasts when CableReady versions mismatch by @marcoroth in #651
Fixed
Dependecnies
- Upgrade
cable_readyto5.0.0.rc2by @marcoroth in 437b7f4
New Contributors
Commits
Full Changelog: v3.5.0.rc1...v3.5.0.rc2
v3.5.0.rc1
Released: 2023-03-26
Added
- Improve DX around version mismatch warnings by @marcoroth in #641
- Add
config.updatable_debounce_timeto CableReady initializer template by @marcoroth in b10f501
Fixed
- Don't add
data-controllerto reflex element if parent already holds instance by @marcoroth in #636 - Fix typo in
ApplicationReflexgenerator template by @jbakerdev in #638 - Fix
GemfilePathnamereference indevelopmentinstaller task by @fig in #640 - Fix generator file name references by @julianrubisch in #644
- Fix deep merge of
url_paramsinReflexDataby @julianrubisch in #647 - Fix invalid NPM versions for
@hotwired/stimulusand@rails/actioncableby @marcoroth in 08881c8 - Fix missing newline in reflex generator by @marcoroth in 84c1845
Removed
- Remove minified dist files by @marcoroth in #648
Note: if you were using the any StimulusReflex
min.jsfiles we ask you to migrate to the non-minified versions.
Documentation
- Fix broken docs link in
README.mdby @fig in #637 - Fix
expect->excepttypo by @marcoroth in 903d078 - Use
dataset.attributeoverdataset[:attribute]syntax by @marcoroth in e225a1f - Add example for
element.dataset.reflexby @marcoroth in 055989f - Incorporate changes from
pre-releasebranch by @marcoroth in 9ade91b
Dependencies
- Bump
cable_readyto5.0.0.rc1by @marcoroth in 53a57a4 - Update
rackrequirement from~> 2.0to>= 2, < 4by @dependabot in #643 - Bump
rackfrom2.2.6.3to2.2.6.4by @dependabot in #646 - Upgrade
@web/test-runnerto0.15.1by @marcoroth in 89fad7c - Upgrade
vitepressto1.0.0-alpha.56by @marcoroth in 7f91f12 - Upgrade
rollupto3.19.1by @marcoroth in 95bc99e - Upgrade
redis-clientto0.14.0by @marcoroth in e32e64c
Internal
- Add
test:watchnode script by @marcoroth in 77de87b - Add more tests for
StimulusReflex::HTML::DocumentFragmentby @marcoroth in e965b79
New Contributors
- @jbakerdev made their first contribution in #638
- @fig made their first contribution in #637
Commits
Full Changelog: v3.5.0.pre10...v3.5.0.rc1