Skip to content

Releases: stimulusreflex/stimulus_reflex

v3.5.2

24 May 16:34
496e560
Compare
Choose a tag to compare

Fixed

  • Add Thor require for StimulusReflex::Installer by @juna-nb in #705

Documentation

  • Add page which describes the "redisless" setup by @andyundso in #703

Dependencies

New Contributors

Commits

Full Changelog: v3.5.1...v3.5.2

v3.5.1

14 May 06:49
03e2a34
Compare
Choose a tag to compare

Changed

Commits

Full Changelog: v3.5.0...v3.5.1

v3.5.0

10 May 19:24
b6116d4
Compare
Choose a tag to compare

Added

Changed

  • Call initial setupDeclarativeReflexes() on document.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 class and method attributes 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 class and method attributes by @marcoroth in #569
  • Make version import from package.json webpack 5 compatible by @marcoroth in #604
  • Declarative Reflexes Resiliency by @marcoroth in #606
  • Introduce StimulusReflex::HTML::Document, featuring Nokogiri::HTML5 by @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::Installer by @marcoroth in #699

Removed

Fixes

  • Fix Mutation observer which wouldn't fire in certain situations by @joshleblanc in #479
  • Fix logger when :logging is nil by @ni3t in #573
  • Reinitialize controller_class renderer with connection.env by @leastbad in #481
  • Fix reference to VersionMismatchError after namesp...
Read more

v3.5.0.rc4

12 Mar 06:37
3de99e4
Compare
Choose a tag to compare
v3.5.0.rc4 Pre-release
Pre-release

Security Fix

Changed

  • Don't choose first controller if no matching StimulusReflex-enabled controller was found by @marcoroth in #670
  • Export StimulusReflexController constant by @marcoroth in #672

Fixed

Docs

Dependencies

New Contributors

Commits

Full Changelog: v3.5.0.rc3...v3.5.0.rc4

v3.4.2

12 Mar 06:26
01803ad
Compare
Choose a tag to compare

v3.5.0.rc3

12 Jul 21:52
0e64308
Compare
Choose a tag to compare
v3.5.0.rc3 Pre-release
Pre-release

Released: 2023-07-12

Added

-

Fixed

Removed

  • Remove ActiveSupport::Concern#prepended usage for Rails 6 by @marcoroth in #662

Docs

Dependencies

Commits

Full Changelog: v3.5.0.rc2...v3.5.0.rc3

v3.5.0.rc2

27 Mar 23:10
437b7f4
Compare
Choose a tag to compare
v3.5.0.rc2 Pre-release
Pre-release

Released: 2023-03-28

Added

  • Show version mismatch warning toasts when CableReady versions mismatch by @marcoroth in #651

Fixed

  • Fix versions comparisons for rc suffixes by @jibees in #650

Dependecnies

New Contributors

Commits

Full Changelog: v3.5.0.rc1...v3.5.0.rc2

v3.5.0.rc1

26 Mar 21:51
53a57a4
Compare
Choose a tag to compare
v3.5.0.rc1 Pre-release
Pre-release

Released: 2023-03-26

Added

  • Improve DX around version mismatch warnings by @marcoroth in #641
  • Add config.updatable_debounce_time to CableReady initializer template by @marcoroth in b10f501

Fixed

  • Don't add data-controller to reflex element if parent already holds instance by @marcoroth in #636
  • Fix typo in ApplicationReflex generator template by @jbakerdev in #638
  • Fix Gemfile Pathname reference in development installer task by @fig in #640
  • Fix generator file name references by @julianrubisch in #644
  • Fix deep merge of url_params in ReflexData by @julianrubisch in #647
  • Fix invalid NPM versions for @hotwired/stimulus and @rails/actioncable by @marcoroth in 08881c8
  • Fix missing newline in reflex generator by @marcoroth in 84c1845

Removed

Note: if you were using the any StimulusReflex min.js files we ask you to migrate to the non-minified versions.

Documentation

Dependencies

Internal

New Contributors

Commits

Full Changelog: v3.5.0.pre10...v3.5.0.rc1

v3.5.0.pre10

21 Feb 02:38
6193f88
Compare
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
Compare
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