Build reactive applications with the Rails tooling you already know and love.
method_name
calls on reflexes (resolves CVE-2024-28121, click here to learn more) by @marcoroth, thanks to @FelixMartel for reporting this!StimulusReflexController
constant by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/672
reflex_data
keyword argument by @brunoenten in https://github.com/stimulusreflex/stimulus_reflex/pull/673
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.rc3...v3.5.0.rc4
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.4.1...v3.4.2
Released: 2023-07-12
-
ActiveSupport::Concern#prepended
usage for Rails 6 by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/662
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.rc2...v3.5.0.rc3
Released: 2023-03-28
rc
suffixes by @jibees in https://github.com/stimulusreflex/stimulus_reflex/pull/650
cable_ready
to 5.0.0.rc2
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/437b7f4f07efc4cdf4fb8cd1433504391ff1add1
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.rc1...v3.5.0.rc2
Released: 2023-03-26
config.updatable_debounce_time
to CableReady initializer template by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/b10f5019fba887f6e8a4816603934b41e1d0e842
data-controller
to reflex element if parent already holds instance by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/636
ApplicationReflex
generator template by @jbakerdev in https://github.com/stimulusreflex/stimulus_reflex/pull/638
Gemfile
Pathname
reference in development
installer task by @fig in https://github.com/stimulusreflex/stimulus_reflex/pull/640
url_params
in ReflexData
by @julianrubisch in https://github.com/stimulusreflex/stimulus_reflex/pull/647
@hotwired/stimulus
and @rails/actioncable
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/08881c8d97d0187be45481f7b8359dbc395bf2df
Note: if you were using the any StimulusReflex
min.js
files we ask you to migrate to the non-minified versions.
README.md
by @fig in https://github.com/stimulusreflex/stimulus_reflex/pull/637
expect
-> except
typo by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/903d078fbf557c48d9fb741856f5a82e94c80234
dataset.attribute
over dataset[:attribute]
syntax by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/e225a1f917e0476daa5778ae625a6b55d2c037a8
element.dataset.reflex
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/055989f8bf0d29e0ac77c1c75595fb6224b6d551
pre-release
branch by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/9ade91b19967205faade0f552fe799e8b5bd29f1
cable_ready
to 5.0.0.rc1
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/53a57a45de32f6d94197c8a686fea040878501f1
rack
requirement from ~> 2.0
to >= 2, < 4
by @dependabot in https://github.com/stimulusreflex/stimulus_reflex/pull/643
rack
from 2.2.6.3
to 2.2.6.4
by @dependabot in https://github.com/stimulusreflex/stimulus_reflex/pull/646
@web/test-runner
to 0.15.1
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/89fad7caf64720b8fa6a33c4b9c49582d796250f
vitepress
to 1.0.0-alpha.56
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/7f91f122179b0890ba1c65e1f4fe5761e8701dcd
rollup
to 3.19.1
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/95bc99ed363ce1625a27eb737ccc646735de9d67
redis-client
to 0.14.0
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/e32e64c99236241b5ecf9e8718bbd843c7bca424
test:watch
node script by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/77de87bd51bb93d69dbe82a6b7da0328d06e03d4
StimulusReflex::HTML::DocumentFragment
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/commit/e965b79a38ddbea7827d6ba30ceb594df3a228f2
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre10...v3.5.0.rc1
Released: 2023-02-21
forbidden
lifecycle event by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/588
reflexes
object by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/592
config.morph_operation
and config.replace_operation
config options by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/599
StimulusReflex.version
on global JavaScript object by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/603
config.precompile_assets
option for disabling assets compilation by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/631
stimulus-reflex:ready
event on specific element instead of document
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/625
version
import from package.json
for webpack 5 compatibility by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/604
setupDeclarativeReflexes()
on document.readyState === 'complete'
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/602
data-reflex
attributes by making the mechanism more resilient by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/606
config.on_new_version_available
option by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/634
Note documentation changes are now welcome in pull requests!
hello-world/index.md
by @mkempe in https://github.com/stimulusreflex/stimulus_reflex/pull/632
ActionCableTransport
module by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/590
Reflex
JavaScript class by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/592
StimulusReflex::Fragment
by @julianrubisch in https://github.com/stimulusreflex/stimulus_reflex/pull/594
StimulusReflex::CableReadiness
by @julianrubisch in https://github.com/stimulusreflex/stimulus_reflex/pull/595
morph
method between broadcasters by @julianrubisch in https://github.com/stimulusreflex/stimulus_reflex/pull/597
StimulusReflex::HTML::Document
, featuring Nokogiri::HTML5
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/601
Utils
functions from CableReady JavaScript package by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/623
StimulusReflex::Configuration
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/633
5.0.0.pre10
by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/635
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre9...v3.5.0.pre10
Released: 2022-04-01
stimulus_reflex
Rubygem.# Gemfile
gem 'stimulus_reflex', '~> 3.5'
Either with Import maps:
# config/importmap.rb
# ...
pin 'stimulus_reflex', to: 'stimulus_reflex.js', preload: true
Or with the regular Asset pipeline:
<!-- app/views/layouts/application.html.erb -->
<%= javascript_include_tag "stimulus_reflex.umd.js", "data-turbo-track": "reload" %>
class
and method
attributes by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/569
changelog
GitHub Action by @marcoroth in https://github.com/stimulusreflex/stimulus_reflex/pull/576
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre8...v3.5.0.pre9
Released: 2021-11-22
suppressLogging
option for stimulate()
by @leastbad in https://github.com/stimulusreflex/stimulus_reflex/pull/560
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre7...v3.5.0.pre8
Released: 2021-10-26
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre6...v3.5.0.pre7
Released: 2021-10-14
Full Changelog: https://github.com/stimulusreflex/stimulus_reflex/compare/v3.5.0.pre5...v3.5.0.pre6