Skip to content

Releases: stimulusreflex/stimulus_reflex

v3.5.0.pre10

21 Feb 02:38
6193f88

Choose a tag to compare

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 and config.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 of document 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 from package.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() on document.readyState === 'complete' by @marcoroth in #602
    • Fix detection of data-reflex attributes by making the mechanism more resilient by @marcoroth in #606

Removed

Documentation

Note
documentation changes are now welcome in pull requests!

Internal/Refactoring

Dependencies

New Contributors

Commits

Full Changelog: v3.5.0.pre9...v3.5.0.pre10

v3.5.0.pre9

01 Apr 18:44

Choose a tag to compare

v3.5.0.pre9 Pre-release
Pre-release

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_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" %>

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 class and method attributes by @marcoroth in #569

Removed

Dependencies

New Contributors

Commits

Full Changelog: v3.5.0.pre8...v3.5.0.pre9

v3.5.0.pre8

01 Apr 18:33

Choose a tag to compare

v3.5.0.pre8 Pre-release
Pre-release

Released: 2021-11-22

Added

  • Add custom events so that developers can choose to handle specific Reflex actions by @leastbad in #559
  • Add suppressLogging option for stimulate() by @leastbad in #560

Changed

  • When searching a controller based off a reflex name, ignore hyphens by @g-gagnon in #558

New Contributors

Commits

Full Changelog: v3.5.0.pre7...v3.5.0.pre8

v3.5.0.pre7

01 Apr 18:33

Choose a tag to compare

v3.5.0.pre7 Pre-release
Pre-release

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

01 Apr 18:32

Choose a tag to compare

v3.5.0.pre6 Pre-release
Pre-release

Released: 2021-10-14

Fixed

Changed

  • serialize forms with multiple, non-unique array elements by @leastbad in #556

Commits

Full Changelog: v3.5.0.pre5...v3.5.0.pre6

v3.5.0.pre5

01 Apr 18:32

Choose a tag to compare

v3.5.0.pre5 Pre-release
Pre-release

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

01 Apr 18:32

Choose a tag to compare

v3.5.0.pre4 Pre-release
Pre-release

Released: 2021-10-07

Changed

Commits

Full Changelog: v3.5.0.pre3...v3.5.0.pre4

v3.5.0.pre3

01 Apr 18:31

Choose a tag to compare

v3.5.0.pre3 Pre-release
Pre-release

Released: 2021-10-01

Added

  • Add first line of stacktrace to console.log error in dev environment by @RolandStuder in #532
  • Add generator options to skip reflex and stimulus by @nachiket87 in #543
  • Add stimulus-reflex-connected and stimulus-reflex-disconnected classes to <body> based on connection status by @leastbad in #547

Changed

Internal

Dependencies

Commits

Full Changelog: v3.5.0.pre2...v3.5.0.pre3

v3.5.0.pre2

01 Apr 18:31

Choose a tag to compare

v3.5.0.pre2 Pre-release
Pre-release

Released: 2021-07-21

Added

  • Add Schema object with getters by @leastbad in #505
  • Add localization example to ApplicationReflex template by @erlingur in #521
  • Add sideEffects: false to make Webpack happy by @ParamagicDev in #523

Changed

Internal

Commits

Full Changelog: v3.5.0.pre1...v3.5.0.pre2

v3.5.0.pre1

01 Apr 18:30

Choose a tag to compare

v3.5.0.pre1 Pre-release
Pre-release

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

Dependencies

Commits

Full Changelog: v3.5.0.pre0...v3.5.0.pre1