Releases: stimulusreflex/stimulus_reflex
Releases · stimulusreflex/stimulus_reflex
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_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
andmethod
attributes by @marcoroth in #569
Removed
- Remove
changelog
GitHub 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
suppressLogging
option 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.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
andstimulus-reflex-disconnected
classes to<body>
based on connection status by @leastbad in #547
Changed
- Update
Reflex#render
to defaultlayout
tofalse
by @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
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
- Optionally provide
innerHtml
andtextContent
onStimulusReflex::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
Internal
- Fix two typos by @julianrubisch in #526
- Refactor
stream_name
by @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.js
by @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
v3.5.0.pre0
Released: 2021-05-21
Added
- Add version check by @leastbad in #434
- Add support for implicit
dom_id
for morph selectors by @leastbad in #436 - Add Reflex Callback Skips by @assuntaw in #466
- Add
useReflex
JavaScript function to "support" the composable pattern by @marcoroth in #475 - Add
data-reflex-dataset
anddata-reflex-dataset-all
by @leastbad and @marcoroth in #478 - Add check for default url options by @nachiket87 in #480
- Add
Reflex#render_collection
by @leastbad in #498 - Add
tab_id
accessor by @leastbad in #506 - Add
data-reflex-serialize-form
attribute by @leastbad in #438 - Add support for
prepend
andappend
reflex callbacks by @marcoroth in #472 - Add support for
self.returns
inReflex
by @leastbad in #458
Changed
- Check for presence of controller element in
serverMessage
by @shubik22 in #460 - Report failed basic auth by @leastbad in #454
- Log reflex payloads client-side by @julianrubisch in #476
- Reflex return payloads for events and callbacks by @leastbad in #477
- Reinitialize
controller_class
renderer with connection.env by @leastbad in #481 - Prevent
/cable
from being prepended to ActiveStorage route helpers by @leastbad in #484 - Only run piggybacked operations after StimulusReflex 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
- Log the full exception trace by @rmckayfleming in #491
- Convert symbol keys, ensure fragment html exists by @leastbad in #503
- Delegate
dom_id
toCableReady::Identifiable
by @leastbad in #485
Fixed
- Fix generated value for
channel_prefix
if app directory contains dots or spaces by @lxxxvi in #457 - Fix mutation observer which wouldn't fire in certain situations by @joshleblanc in #479
- Fix install script when working with magic comments via hard-coded line numbers by @leastbad in #494
- Fix
object_with_indifferent_access
error when trying to access ReflexData by @erlingur in #500
Deprecated
Documentation
- Remove confusing preposition by @richardun in #469
- Fix broken link in docs by @asmega in #488
Internal
- Remove unnecessary gate by @leastbad in #439
- Refactor declarative reflex observer by @leastbad in #440
- Refactor stimulus_reflex.js by @leastbad in #444
- Extract method invocation policy by @julianrubisch in #448
- Run changelog action not on every single push to master by @marcoroth in #450
- Extract RequestParameters class by @julianrubisch in #451
- Move logger and sanity_checker to /utils by @leastbad in #456
- Stimulus reflex concern by @julianrubisch in #464
- Add callback tests by @marcoroth in #470
- Fix changelog workflow and optimize triggers by @marcoroth in #474
- Fix Changelog Action by @marcoroth in #483
- Refactor reflex creation and reflex data management out of channel by @julianrubisch in #486
New Contributors
- @shubik22 made their first contribution in #460
- @richardun made their first contribution in #469
- @lxxxvi made their first contribution in #457
- @asmega made their first contribution in #488
- @lmatiolis made their first contribution in #492
- @rmckayfleming made their first contribution in #491
Dependencies
- Bump actionpack from 6.1.1 to 6.1.3 by @dependabot in #461
- Bump activerecord from 6.1.1 to 6.1.3 by @dependabot in #462
- Bump rexml from 3.2.4 to 3.2.5 by @dependabot in #495
- Bump actionpack from 6.1.3 to 6.1.3.2 by @dependabot in #499
- Bump handlebars from 4.7.6 to 4.7.7 by @dependabot in #501
- Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #504
- Bump nokogiri from 1.11.3 to 1.11.4 by @dependabot in #507
Commits
Full Changelog: v3.4.1...v3.5.0.pre0