Skip to content

Latest commit

 

History

History
1118 lines (705 loc) · 76.8 KB

CHANGELOG.md

File metadata and controls

1118 lines (705 loc) · 76.8 KB

Changelog

Full Changelog

Closed issues:

  • HAML code with form tag connect controller twice #520
  • Web Components Breaking In Stimulus Reflex Morph #511

v3.5.0.pre1 (2021-06-02)

Full Changelog

Fixed bugs:

  • handle operations that have string-defined selector argument #509 (leastbad)

Closed issues:

  • How to (better) use Stimulus Reflex with Cypress? #512

Merged pull requests:

v3.5.0.pre0 (2021-05-21)

Full Changelog

Breaking changes:

  • isolation mode should be enabled by default #423
  • form serialization should be optional #422

Implemented enhancements:

Fixed bugs:

  • Nokogiri usage to process HTML adds whitespace nodes, causing unneeded morphdom updates #487
  • reflexData missing on element in beforeReflex #443
  • cable_ready method in Reflex class should support custom operations #419
  • convert symbol keys, ensure fragment html exists #503 (leastbad)
  • only run piggybacked operations after SR is finished, and isolate them #482 (leastbad)
  • refactor declarative reflex observer #440 (leastbad)

Deprecated:

  • data-reflex-dataset and data-reflex-dataset-all #478 (leastbad)

Removed:

Closed issues:

  • Logging issue when using Morphing Multiplicity with Symbol keys #502
  • Re-assignment of constant reflexRoot #473
  • Lost Instance Variables #471
  • Warn developers about example.com #468
  • "No route matches" in production #465
  • Reflex replaced with a new instance for some reason #463
  • Uncaught exception when morph removes controllerElement #459
  • Link for "read more about why we enable caching here" is broken #455
  • Page morphs fail to refresh (blank operations hash) in Safari/Edge on staging #453
  • ActiveRecord queries and associations are cached, leading to non-idempotent Reflexes #446
  • When devise uses timeoutable there is a session error authenticating a stimulus web socket. #437
  • SR strips out @click attribute from elements passed to selector morph #435
  • SR+CR version checks on startup in development #433
  • Installer can insert session_store config in wrong place #429

Merged pull requests:

v3.4.1 (2021-01-26)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Form serialisation does not escape input values #430
  • dispatchEvent before morph in reflex actions #428
  • Multiple text inputs with the same name lose value in Reflex #425
  • Lifecycle events not being issued correctly #413
  • If the element no longer exists, try to find it. #412

Merged pull requests:

v3.4.0 (2020-12-18)

Full Changelog

Closed issues:

  • uninitialized constant StimulusReflex::Channel #408
  • StimulusReflex (3.4.0.pre9) was unable to find an element #406

v3.4.0.pre9 (2020-12-13)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Sanity checker will fail if node_modules folder isn't present #402
  • stimulus_reflex.js:388 Uncaught TypeError: Cannot read property 'completedOperations' of undefined #394
  • Rendering issue #289

Merged pull requests:

v3.4.0.pre8 (2020-12-02)

Full Changelog

Closed issues:

  • DirectUpload URL not set using morphs #396

Merged pull requests:

v3.4.0.pre7 (2020-12-01)

Full Changelog

Closed issues:

  • Multiple reflex submissions can lead to unexpected behaviour. #391

Merged pull requests:

  • Trigger piggy back operations after SR operations #395 (hopsoft)
  • invokeLifecycleMethod\(\): handle undefined element parameter #393 (marcoroth)
  • don't warn folks twice #392 (leastbad)

v3.4.0.pre6 (2020-11-29)

Full Changelog

Merged pull requests:

  • Update templates for new stage etc #390 (leastbad)
  • reflexError and received refactor #389 (leastbad)
  • add jQuery support to SR library events #388 (leastbad)
  • dont exit in sanity checker on stimulus\_reflex:install #387 (marcoroth)
  • Allow success and after lifecycle methods on replaced elements #386 (marcoroth)
  • split SR operations from data.operations #385 (leastbad)
  • don't show findElement warnings unless debugging #384 (leastbad)
  • Setup a proxy object that wraps CableReady::Channels #382 (hopsoft)
  • non-SR cable_ready operation pass-through #381 (leastbad)

v3.4.0.pre5 (2020-11-25)

Full Changelog

Closed issues:

  • SR doesn't seem to handle redirects / 302s #376

Merged pull requests:

v3.4.0.pre4 (2020-11-19)

Full Changelog

Fixed bugs:

Closed issues:

  • stimulus\_reflex:install fails to complete in Rails 5.2 #367
  • Form data still not captured #366
  • Console exception when reflex does not update a page that didn't trigger the reflex #363
  • Improve server-side logging options #264

Merged pull requests:

v3.4.0.pre3 (2020-11-11)

Full Changelog

Merged pull requests:

v3.4.0.pre2 (2020-11-06)

Full Changelog

Closed issues:

  • Regression in version 3.4.0-pre1: Cannot find module cable\_ready #350

Merged pull requests:

v3.4.0.pre1 (2020-11-03)

Full Changelog

v3.4.0.pre0 (2020-11-02)

Full Changelog

Implemented enhancements:

  • Move StimulusReflex::Channel to app/ and allow for a configurable parent channel #346 (leastbad)
  • tab isolation mode v2 #335 (leastbad)
  • Delegate flash to the request #334 (hopsoft)
  • Opt-in form serialization & params overriding #325 (s-s)
  • Exit on failed sanity check, provide config to skip exit #318 (RolandStuder)

Fixed bugs:

  • Console exception when reflex updates a page that didn't trigger the update #336
  • AlpineJS components not reinitalised after reflex #329
  • Encoding changes from UTF-8 to ASCII-8BIT #202

Closed issues:

  • ActionController::RoutingError with Rails 6 Engines #342
  • Wrong input name parsing #321
  • Stimulus' controllers are not reconnecting after reflex, why? #314
  • Documentation Request for a Rails 6.x app with 5.2 defaults #265

Merged pull requests:

  • [docs] StimulusReflex.debug= on left hand side #348 (drnic)
  • Fix page morphs inside Rails engines #344 (leastbad)
  • Use Webpacker folder if available #343 (coorasse)
  • feat: create a more robust package.json #340 (ParamagicDev)
  • Make StimulusReflex configurable and add an initializer #339 (RolandStuder)
  • Aliases method_name to action_name #338 (obie)
  • remove isolate concept and make behavior default #332 (leastbad)
  • add signed/unsigned accessors to element #330 (joshleblanc)
  • merge environment into ApplicationController and descendants #328 (leastbad)
  • Move form-data merge logic to the server-side #327 (marcoroth)
  • fix for PR#317 which was preventing server messages #326 (leastbad)
  • introduce tab isolation mode #324 (leastbad)
  • Force request encodings to be UTF-8 instead of ASCII-8BIT after a reflex #320 (marcoroth)
  • Append short section about resetting a form #319 (julianrubisch)
  • lifecycle refactor: introduce new finalize stage, global reflexes dictionary #317 (leastbad)
  • Update events.md #316 (gahia)
  • Proposal: Reduce bundle size and add a bundler for Stimulus Reflex javascript #315 (ParamagicDev)

v3.3.0 (2020-09-22)

Full Changelog

v3.3.0.pre6 (2020-09-20)

Full Changelog

Implemented enhancements:

Closed issues:

  • Authorization #292
  • Params incorrect for form submitted for nested resource #290
  • Use set I18n.locale in Reflexes with Selector Morphs #280

Merged pull requests:

v3.3.0.pre5 (2020-09-18)

Full Changelog

Implemented enhancements:

  • Fail loudly if there's a version mismatch between the gem and the npm package. #294

Closed issues:

  • IE11 Support: "crypto" is undefined #308
  • Using morph gives error on missing Warden::Manager midddleware? #304
  • Update client controller template comments #298

Merged pull requests:

v3.3.0.pre4 (2020-09-13)

Full Changelog

Fixed bugs:

  • Lifecycle callbacks do not work #281
  • Fix timing issues with post-Reflex lifecycle callbacks #299 (leastbad)

Closed issues:

  • self-referential data-reflex-root #301
  • data-reflex-permanent not working when using slim templates #295
  • undefined method `rescue_with_handler' whit reflex action such as "click->…" or "change->…" #287

Merged pull requests:

v3.3.0.pre3 (2020-08-31)

Full Changelog

Fixed bugs:

  • First argument of type "object" in this.stimulate() will always be assigned to options. #278
  • Allow morphs to run before triggering success/after #286 (hopsoft)

Closed issues:

  • Reflex ignores turbolinks cached pages #288
  • Issue with Stimulus Reflex and ViewComponent #284
  • controller inheritance does not seem to work #283
  • Cannot read property 'schema' of undefined #282
  • Reflex on form submit does not get parameter from input[type="file"] #277
  • jQuery Plugins #246
  • ActiveStorage variants performance #242
  • Unnecessary body update after text_content #186
  • Warn about enabling Rails after running stimulus reflex' initializer #185
  • Integration tests for stimulus-reflex #162
  • Clearer explanation of quickstart example without javascript. #149
  • Webpack compilation fails with rails/webpacker 3.6 #83

Merged pull requests:

v3.3.0.pre2 (2020-07-17)

Full Changelog

Closed issues:

  • afterReflex not always firing on morph with selectors #269
  • Lifecycle hooks #266
  • Stimulus Reflex with Rspec not working #263

Merged pull requests:

  • Smarter warnings when element not found #274 (hopsoft)
  • Add the attributes to the warning message when element not found #273 (hopsoft)
  • Update find element to ignore SR attrs #272 (hopsoft)
  • Refactor of the morph feature #270 (hopsoft)
  • coerce html arguments to string type #268 (leastbad)
  • Update deployment docs after the official AnyCable 1.0 release #267 (rmacklin)

v3.3.0.pre1 (2020-07-08)

Full Changelog

Merged pull requests:

  • Fix selector morphs for updating partials and ViewComponents #262 (leastbad)

v3.3.0.pre0 (2020-07-04)

Full Changelog

Implemented enhancements:

  • Returns more helpful error message if Reflex doesn't exist #254 (leastbad)
  • Update install.rake to handle Typescript #241 (iv-mexx)
  • Morph Modes: page, selector and nothing #211 (leastbad)

Fixed bugs:

Closed issues:

  • beforeUpdate/updateSuccess/updateError functions deprecated? #255
  • Error handling will fail if reflex is not defined #253
  • Select with data-reflex in Firefox flickers #251
  • data-reflex-attributes vs data-reflex-dataset #237
  • Shorthand action notations corresponding to stimulus #233
  • Lifecycle methods only called for one reflex #225
  • Tweak the generator so we can specify reflex actions #219
  • Docs: Clarify forcing DOM update with authentication #123
  • ActiveJob integration example #112

Merged pull requests:

v3.2.3 (2020-06-15)

Full Changelog

Fixed bugs:

  • Add more smarts to __perform #235 (hopsoft)
  • __perform had a bug where it was only ever calling the first event #234 (leastbad)
  • merges insteads of overwrites params for reflex actions with form data #231 (RolandStuder)

Closed issues:

  • "Uncaught (in promise)" error after failed declarative reflex #170

Merged pull requests:

  • Fix typos in the documentation #228 (dlt)

v3.2.2 (2020-06-06)

Full Changelog

Closed issues:

  • Issue with doing a partial dom update #223

v3.2.2.pre1 (2020-05-30)

Full Changelog

Fixed bugs:

Merged pull requests:

v3.2.2.pre0 (2020-05-27)

Full Changelog

Implemented enhancements:

  • Add a halted lifecycle event #190
  • Allow extractElementAttributes to use a checkbox list #147
  • reflex_name restriction loosening #212 (leastbad)
  • Make element even more user friendly #210 (hopsoft)
  • Form parameters #204 (jasoncharnes)
  • Map hashes in incoming arguments using with_indifferent_access #203 (jaredcwhite)
  • Combine dataset with data-attributes from parent elements on reflex call #200 (marcoroth)
  • Setup mutation aware declarative reflexes #197 (hopsoft)

Fixed bugs:

  • Text area values are lost if re-sized #195

Closed issues:

  • Accessing dataset as before is returning nil #218
  • Spurious console error using data-reflex-root and CSS attribute selector #207
  • ActionController Parameters #199

Merged pull requests:

v3.2.1 (2020-05-09)

Full Changelog

Merged pull requests:

  • Prevent halting if reflex returns false #194 (hopsoft)

v3.2.0 (2020-05-09)

Full Changelog

v3.2.0.pre1 (2020-05-08)

Full Changelog

Fixed bugs:

  • Add guard to morph that checks stimulusReflex #191 (hopsoft)

v3.2.0-pre0 (2020-05-07)

Full Changelog

v3.2.0.pre0 (2020-05-07)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Pluralize the generated class name, so that will match with the file name #178 (dark88888)

Closed issues:

  • The ActionCable connection is not open! this.isActionCableConnectionOpen\(\) must return true before calling this.stimulate\(\) #187
  • Promises just resolve with last Partial DOM update #171

Merged pull requests:

v3.1.4 (2020-04-27)

Full Changelog

Implemented enhancements:

  • TypeScript typing support #152

Fixed bugs:

  • Possible bug when about to perform cableready operations #166
  • Reflex not binding to ajax loaded content #161
  • Input field values sometimes remain #159
  • remove changelog rake task #150 (andrewmcodes)

Closed issues:

  • Devise authenticated routes not supported anymore #173
  • CableReady detected an error in morph! Event is not a constructor #165
  • Testing Integrations #164
  • Error during install: "File unchanged! The supplied flag value not found! app/javascript/packs/application.js" #118
  • Make the javascript in stimulus-reflex websocket agnostic #113

Merged pull requests:

v3.1.3 (2020-04-20)

Full Changelog

Implemented enhancements:

  • Server initiated redirects #25

Fixed bugs:

  • Unable to register the ActionCable Consumer #156
  • Remove unneeded registerConsumer logic #158 (hopsoft)

Closed issues:

  • Scoping when using Stimulus does not work as expected #144
  • Shared connections to reduce websocket connections? #136
  • routing reflexes to controllers #97
  • Time for introducing a develop branch? #84
  • out-of-band Reflex updates #64

v3.1.2 (2020-04-16)

Full Changelog

v3.1.1 (2020-04-16)

Full Changelog

Fixed bugs:

  • Cannot read property 'removeEventListener' of undefined after updating to 3.1.0 #151

Closed issues:

  • Setup & Quick Start guide from scratch results in showstopping error #153

Merged pull requests:

v3.1.0 (2020-04-15)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Allow other CableReady operations to perform #145 (hopsoft)

Closed issues:

  • Non-morph operations are not executed by CableReady on errors #139
  • Pass element tagname in reflex #137
  • ActionCable npm package renamed #132

Merged pull requests:

v3.0.0 (2020-04-06)

Full Changelog

Breaking changes:

  • Update ActionCable JS dep to @rails/actioncable #135 (hopsoft)

Implemented enhancements:

Closed issues:

  • [WIP] AnyCable and Stimulus Reflex #46

v2.2.3 (2020-03-27)

Full Changelog

Implemented enhancements:

Closed issues:

  • Cannot read property 'stimulusReflexController' of null #127

Merged pull requests:

v2.2.2 (2020-03-04)

Full Changelog

Implemented enhancements:

v2.2.1 (2020-02-28)

Full Changelog

v2.2.0 (2020-02-28)

Full Changelog

Implemented enhancements:

  • Explicit and implicit registering of the ActionCable consumer #116 (hopsoft)

v2.1.9 (2020-02-20)

Full Changelog

Implemented enhancements:

v2.1.8 (2020-01-27)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Fix bug related to trailing slash in URL path #111 (hopsoft)

v2.1.7 (2019-12-28)

Full Changelog

Implemented enhancements:

Closed issues:

  • SR cannot re-render authenticated devise routes #104
  • Docs formatting broken in Persistence section #93

v2.1.6 (2019-12-20)

Full Changelog

Implemented enhancements:

  • StimulusReflex::Channel - Error messages include stack trace info #100 (szTheory)

Closed issues:

  • Demo appears to be broken #101

v2.1.5 (2019-11-04)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Slack Community #90
  • Installer fails on fresh Rails 5.2.3 app w/ webpacker 3.6 #81
  • Correct List Order in setup.md under Rooms Section #78
  • Scoped onClick event #73

v2.1.4 (2019-10-19)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Don't assume that connection identifiers are model instances #77 (hopsoft)

v2.1.3 (2019-10-16)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • too many afterReflex/reflexSuccess callbacks #68
  • Prevent redundant after lifecycle callbacks #70 (hopsoft)

v2.1.2 (2019-10-09)

Full Changelog

v2.1.1 (2019-10-08)

Full Changelog

Fixed bugs:

  • Fix issue in reflex root discovery #66 (hopsoft)

v2.1.0 (2019-10-07)

Full Changelog

Implemented enhancements:

  • Move ActionCable room configuration to controller registration #51
  • Client side call-backs? #34
  • Scoped register()? #26
  • Add guard to verify same URL prior to morph #63 (hopsoft)
  • Add reflex name to the lifecycle args #62 (hopsoft)
  • Refactor some helper methods out of main file #61 (hopsoft)
  • Documentation update #58 (leastbad)
  • # Support for data-reflex-permanent #57 (hopsoft)
  • Stricter parsing of attributes #56 (hopsoft)
  • # Use inner_html to avoid reliance on HTMLTemplateElement behavior #55 (hopsoft)
  • Trim values before attribute assignment #54 (hopsoft)
  • add test action #53 (andrewmcodes)
  • Scoped Stimulus Reflex controllers #43 (leastbad)

Closed issues:

  • Install StandardJS linter #40

v2.0.2 (2019-09-30)

Full Changelog

Implemented enhancements:

  • Add support to configure room via register option #52 (hopsoft)
  • Move gitbook files to docs #49 (hopsoft)

Closed issues:

  • Formatting issues on README #48

v2.0.1 (2019-09-28)

Full Changelog

Implemented enhancements:

  • Provide before/after callbacks for calls delegated to server side Stimulus controllers #4
  • Updated Minimal Javascript Example in README.md #47 (kobaltz)
  • Setup StimulusReflex controller callbacks #45 (hopsoft)
  • add .vscode directory to .gitignore #42 (andrewmcodes)
  • Allow override of default controller #37 (hopsoft)
  • update the name of the actions per feedback #36 (andrewmcodes)
  • update github templates #35 (andrewmcodes)
  • Tighten up security of remote invocation #32 (hopsoft)

Fixed bugs:

Closed issues:

  • Add GH templates #30

v2.0.0 (2019-09-11)

Full Changelog

Implemented enhancements:

Fixed bugs:

v1.1.1 (2019-09-09)

Full Changelog

v1.1.0 (2019-09-09)

Full Changelog

Implemented enhancements:

Fixed bugs:

v1.0.2 (2019-08-17)

Full Changelog

Implemented enhancements:

v1.0.1 (2019-08-10)

Full Changelog

Implemented enhancements:

Closed issues:

  • Trying to get this working in Rails 6 #8

v1.0.0 (2019-08-09)

Full Changelog

Implemented enhancements:

  • Ruby function splat args return arity of -1 #9 (leastbad)

v0.3.3 (2019-05-13)

Full Changelog

v0.3.2 (2019-03-25)

Full Changelog

v0.3.1 (2019-03-01)

Full Changelog

v0.3.0 (2019-02-20)

Full Changelog

Breaking changes:

v0.2.0 (2018-11-16)

Full Changelog

Implemented enhancements:

  • Explicit opt-in for ActionCable connection #6 (hopsoft)

v0.1.12 (2018-11-03)

Full Changelog

v0.1.10 (2018-10-26)

Full Changelog

v0.1.9 (2018-10-24)

Full Changelog

Closed issues:

  • URL helpers generate the wrong paths when page is rendered #1

v0.1.8 (2018-10-22)

Full Changelog

Fixed bugs:

  • Update env so url helpers work #2 (hopsoft)

v0.1.7 (2018-10-21)

Full Changelog

v0.1.6 (2018-10-21)

Full Changelog

v0.1.5 (2018-10-20)

Full Changelog

v0.1.4 (2018-10-20)

Full Changelog

v0.1.3 (2018-10-20)

Full Changelog

v0.1.2 (2018-10-20)

Full Changelog

v0.1.1 (2018-10-20)

Full Changelog

v0.1.0 (2018-10-14)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator