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_readyto 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:configby @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:installtask 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:installby @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
successandafterlifecycle methods on replaced elements by @marcoroth in #386 - don't warn folks twice by @leastbad in #392
invokeLifecycleMethod(): handle undefinedelementparameter 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