Releases: stimulusreflex/stimulus_reflex
Releases · stimulusreflex/stimulus_reflex
v3.4.1
Released: 2021-01-26
What's Changed
- fix 'operartion' typo by @marcoroth in #411
- Prefix dom_id with hash/pound by @hopsoft in #410
- Bump nokogiri from 1.10.10 to 1.11.1 by @dependabot in #420
- Add matrix strategy to ruby tests by @julianrubisch in #415
- Bug fix: Updating changelog generator to push to master, not main by @MikeRogers0 in #416
- encode form data for chars like '&' and '=' by @RolandStuder in #418
- controller element holds Reflex metadata by @leastbad in #417
- Fixes bug where multiple inputs with the same name lost element value by @jonsgreen in #426
- life-cycle callbacks return correct element reference by @leastbad in #431
- Update to work with mutatable CR config by @hopsoft in #421
- Extract callbacks to module by @julianrubisch in #427
- Add general policy for CoC enforcement by @hopsoft in #424
New Contributors
- @MikeRogers0 made their first contribution in #416
- @jonsgreen made their first contribution in #426
Full Changelog: v3.4.0...v3.4.1
v3.4.0 - Developer Happiness Edition
Released: 2020-12-18
What's Changed
- Update events.md by @gAHIA in #316
- Append short section about resetting a form by @julianrubisch in #319
- lifecycle refactor: introduce new finalize stage, global reflexes dictionary by @leastbad in #317
- introduce tab isolation mode by @leastbad in #324
- Fix form autosave docs by @julianrubisch in #323
- fix for PR#317 which was preventing server messages by @leastbad in #326
- merge environment into ApplicationController and descendants by @leastbad in #328
- add signed/unsigned accessors to element by @joshleblanc in #330
- remove isolate concept and make behavior default by @leastbad in #332
- Proposal: Reduce bundle size and add a bundler for Stimulus Reflex javascript by @ParamagicDev in #315
- Delegate flash to the request by @hopsoft in #334
- Opt-in form serialization & params overriding by @s-s in #325
- Aliases method_name to action_name by @obie in #338
- feat: create a more robust package.json by @ParamagicDev in #340
- Make StimulusReflex configurable and add an initializer by @RolandStuder in #339
- Use Webpacker folder if available by @coorasse in #343
- Fix page morphs inside Rails engines by @leastbad in #344
- Move form-data merge logic to the server-side by @marcoroth in #327
- tab isolation mode v2 by @leastbad in #335
- Force request encodings to be UTF-8 instead of ASCII-8BIT after a reflex by @marcoroth in #320
- Move StimulusReflex::Channel to app/ and allow for a configurable parent channel by @leastbad in #346
- Exit on failed sanity check, provide config to skip exit by @RolandStuder in #318
- [docs] StimulusReflex.debug= on left hand side by @drnic in #348
- Fix serializeForm initialization by @marcoroth in #349
- move
cable_ready
to development dependencies by @marcoroth in #351 - pass reflex id to reflex by @joshleblanc in #352
- simplify xpath functions by @leastbad in #353
- Add guard clause to return valid empty form data by @julianrubisch in #354
- Fix elementToXPath import by @julianrubisch in #355
- Update package.json to 3.4.0-pre2 by @marcoroth in #356
- serializeForm: only append given input if element is submit button by @marcoroth in #357
- Allow to supress warnings for sanity checks by @RolandStuder in #359
- xpath fix by @leastbad in #360
- Do not run sanity check on
rails generate stimulus_reflex:config
by @RolandStuder in #362 - fix: revert CR and @rails/actioncable to dependencies by @ParamagicDev in #361
- fix: rip out microbundle by @ParamagicDev in #369
- Fix fatal error in
stimulus_reflex:install
task with Rails 5.2 by @Matt-Yorkley in #371 - fix nothing morphs and error messages by @leastbad in #368
- Pass additional reflex-related data to reflex from data by @joshleblanc in #370
- Improve logged post_install.js message by @forsbergplustwo in #372
- use puts instead of ActionCable.logger to sidestep silenced AC logs by @leastbad in #373
- Add tests for broadcasters by @julianrubisch in #364
- Exit with nonzero status code by @julianrubisch in #375
- Handles to mitigate race conditions when running reflexes in quick succession on the same element by @existentialmutt in #377
- fixed bug preventing callbacks for multiple morphs by @leastbad in #378
- make element.reflexController a dictionary by @existentialmutt in #379
- Move package.json to root of project by @hopsoft in #380
- non-SR cable_ready operation pass-through by @leastbad in #381
- don't show findElement warnings unless debugging by @leastbad in #384
- split SR operations from data.operations by @leastbad in #385
- dont exit in sanity checker on
stimulus_reflex:install
by @marcoroth in #387 - add jQuery support to SR library events by @leastbad in #388
- Update templates for new stage etc by @leastbad in #390
- reflexError and received refactor by @leastbad in #389
- Setup a proxy object that wraps CableReady::Channels by @hopsoft in #382
- Allow
success
andafter
lifecycle methods on replaced elements by @marcoroth in #386 - don't warn folks twice by @leastbad in #392
invokeLifecycleMethod()
: handle undefinedelement
parameter by @marcoroth in #393- Trigger piggy back operations after SR operations by @hopsoft in #395
- Delegate render to controller by @hopsoft in #397
- Support for Stimulus 2 by @marcoroth in #398
- fix up install task by @leastbad in #401
- Fix multiple broadcasts from within the same reflex by @hopsoft in #400
- Add dom_id to the reflex by @hopsoft in #405
- Check package version from yarn.lock if node_modules folder is not av… by @RolandStuder in #403
- Don't run sanity checker in production by @joshleblanc in #404
- Allow StimulusReflex to process Rack middlewares by @marcoroth in #399
New Contributors
- @gAHIA made their first contribution in #316
- @s-s made their first contribution in #325
- @obie made their first contribution in #338
- @coorasse made their first contribution in #343
- @drnic made their first contribution in #348
- @Matt-Yorkley made their first contribution in #371
- @forsbergplustwo made their first contribution in #372
- @existentialmutt made their first contribution in #377
Full Changelog: v3.3.0...v3.4.0
v3.3.0 - Morphs Edition
Released: 2020-09-22
What's Changed
- adds params documentation by @RolandStuder in #230
- Add instructions for pulling the user id out of session storage by @mtomov in #238
- Revert "Add instructions for pulling the user id out of session storage" by @leastbad in #239
- Revert "Revert "Add instructions for pulling the user id out of session storage"" by @leastbad in #240
- Update reflexes.md by @user073 in #247
- Update deployment.md by @user073 in #248
- Bump rack from 2.2.2 to 2.2.3 by @dependabot in #244
- Bump actionpack from 6.0.3.1 to 6.0.3.2 by @dependabot in #245
- Fix calling wrong controller lifecycle methods by @davidalejandroaguilar in #226
- Update install.rake to handle Typescript by @iv-mexx in #241
- Allow to pass reflex action names to reflex generator by @marcoroth in #224
- warn against collections of identical elements that trigger reflexes by @leastbad in #250
- Fix cases where plural reflexes were unresolved by @joshleblanc in #252
- Returns more helpful error message if Reflex doesn't exist by @leastbad in #254
- Fallback to first Stimulus controller in array by @jasoncharnes in #257
- Limit MutationObserver mutations by @jasoncharnes in #256
- always calls params to persist them into controller action by @RolandStuder in #249
- Morph Modes: page, selector and nothing by @leastbad in #211
- Prep for pre release of 3.3.0 by @hopsoft in #259
- Fix selector morphs for updating partials and ViewComponents by @leastbad in #262
- Update deployment docs after the official AnyCable 1.0 release by @rmacklin in #267
- coerce html arguments to string type by @leastbad in #268
- Refactor of the morph feature by @hopsoft in #270
- Update find element to ignore SR attrs by @hopsoft in #272
- Add the attributes to the warning message when element not found by @hopsoft in #273
- Smarter warnings when element not found by @hopsoft in #274
- Bump lodash from 4.17.15 to 4.17.19 in /javascript by @dependabot in #275
- Simplify devise authentication logic (in docs) by @inner-whisper in #276
- Fix argument of type object always being assigned to options by @shawnleong in #279
- Add instructions for existing projects by @gerrywastaken in #291
- Allow morphs to run before triggering success/after by @hopsoft in #286
- Check if reflex exists before using it by @joshleblanc in #293
- Fixed typo in sample code. by @jclarke in #296
- Fix timing issues with post-Reflex lifecycle callbacks by @leastbad in #299
- add redis to cable.yml in development mode by @leastbad in #305
- Copyedits by @CodingItWrong in #306
- Support IE11 msCrypto (#308) by @chooselife22 in #310
- Print warning and exit if caching is disabled or npm/gem versions are mismatched by @excid3 in #309
- Avoid mismatching client and server versions by @piotrwodz in #297
- Update morph-modes.md by @scottbarrow in #302
- ActionCable connectivity events by @leastbad in #307
- Enhance controller templates docs by @pinzonjulian in #300
- Refactor sanity checks on boot by @excid3 in #311
- add ready event after setupDeclarativeReflexes by @leastbad in #312
- Support for token-based authentication by @leastbad in #243
- fixes and tweaks to client logging subsystem by @leastbad in #313
New Contributors
- @mtomov made their first contribution in #238
- @user073 made their first contribution in #247
- @davidalejandroaguilar made their first contribution in #226
- @iv-mexx made their first contribution in #241
- @rmacklin made their first contribution in #267
- @inner-whisper made their first contribution in #276
- @shawnleong made their first contribution in #279
- @gerrywastaken made their first contribution in #291
- @jclarke made their first contribution in #296
- @CodingItWrong made their first contribution in #306
- @chooselife22 made their first contribution in #310
- @excid3 made their first contribution in #309
- @scottbarrow made their first contribution in #302
- @pinzonjulian made their first contribution in #300
Full Changelog: v3.2.3...v3.3.0
v3.2.3
Released: 2020-06-15
Added
Changed
- Use merges instead of overwrites params for reflex actions with form data by @RolandStuder in #231
Fixed
Documentation
New Contributors
Commits
Full Changelog: v3.2.2...v3.2.3
v3.2.2
Released: 2020-06-06
Added
- Add
halted
lifecycle event by @websebdev in #193 - Add support for form parameters by @jasoncharnes in #204
Changed
- Extract multiple checkbox values by @julianrubisch in #175
- Setup mutation aware declarative reflexes by @hopsoft in #197
- Stimulus reflexData assignment after callback by @jasoncharnes in #208
- Make
StimulusReflex::Element
even more user friendly by @hopsoft in #210 reflex_name
restriction loosening by @leastbad in #212- Combine
dataset
withdata-attributes
from parent elements on reflex call by @marcoroth in #200 - Map hashes in incoming arguments using with_indifferent_access by @jaredcwhite in #203
- Update dataset handling and some minor refactoring to better naming by @hopsoft in #214
- Always commit session by @hopsoft in #222
Fixed
- Fix undefined is not an object for Object.keys in log.js by @marcoroth in #201
- Fix multipleInstances convenience method by @julianrubisch in #220
Documention
Dependencies
- Loosen Rails requirement to 5.2 with instructions by @jasoncharnes in #205
- Bump activesupport from 6.0.3 to 6.0.3.1 by @dependabot in #217
- Bump activestorage from 6.0.3 to 6.0.3.1 by @dependabot in #216
- Bump actionpack from 6.0.3 to 6.0.3.1 by @dependabot in #215
New Contributors
- @acoffman made their first contribution in #198
- @jaredcwhite made their first contribution in #203
Commits
Full Changelog: v3.2.1...v3.2.2
v3.2.1
v3.2.0
Released: 2020-05-09
Added
- Add console log messages for every reflex call by @marcoroth in #163
- Add reflex callbacks by @websebdev in #160
- Add guard to
morph
that checksstimulusReflex
by @hopsoft in #191
Changed
- Allow channel exceptions to be rescuable by @dark-panda in #180
- Pluralize the generated class name, so that will match with the file name by @dark88888 in #178
- Allow to call stimulate without a reflex target by @marcoroth in #188
Documentation
Internal
- Replace
uuid4
dependency with function in repo by @jonathan-s in #181 - Replace
camelize
with homegrown version by @jonathan-s in #184 - Some housekeeping by @hopsoft in #189
New Contributors
- @dark88888 made their first contribution in #178
- @silva96 made their first contribution in #174
Commits
Full Changelog: v3.1.4...v3.2.0