build(deps): bump stimulus from 2.0.0 to 3.1.0
Bumps stimulus from 2.0.0 to 3.1.0.
Release notes
Sourced from stimulus's releases.
v3.1.0
What's Changed
- Adds new Action Options, namely
:stopand:preventby@radiantshawin hotwired/stimulus#535- Adds new Action Option
:selfby@radiantshawin hotwired/stimulus#546- Allow action params for global events by
@rikin hotwired/stimulus#495- move shouldLoad check from register to load function by
@adrienpolyin hotwired/stimulus#493- Boolean decoding is not case-sensitive by
@vastrayin hotwired/stimulus#472- Fire Value Change Callbacks consistently by
@seanpdoylein hotwired/stimulus#499- Allow refining the type of Controller elements by
@rikin hotwired/stimulus#529- Fix
stimulusglue package for cdn use by@marcorothin hotwired/stimulus#468Full Changelog: https://github.com/hotwired/stimulus/compare/v3.0.1...v3.1.0
v3.0.1
What's Changed
- Default to toggle event on details HTML element by
@rikin hotwired/stimulus#464- Prevent infinite looping in target callbacks by
@seanpdoylein hotwired/stimulus#459- Include
webpack-helpersinstimulusglue/proxy package by@marcorothin hotwired/stimulus#453Full Changelog: https://github.com/hotwired/stimulus/compare/v3.0.0...v3.0.1
v3.0.0
v3.0.0-rc.1
- ADDED: Static shouldLoad function can be used to prevent a controller from registering based on environmental circumstances #448
- REMOVED: Warnings were not working in a number of common instances, so will need to wait for 3.1.
- REMOVED: Color highlighting for debug mode had problems with dark mode and accessibility.
v3.0.0-beta.2
- FIXED: New dispatch function wasn't in the right scope [70c98dedfe8ce6c12ead42fadd73c056ffbbe1dc]
- REMOVED: webpacker-helpers and
definitionsFromContext#444Instead of webpack-helpers, use either stimulus-rails with import maps or the new rake task + generator to keep a manifest up to date (or maintain a manifest by hand).
v3.0.0-beta.1
- NEW: Pass action method params [#249]
- NEW: Fire callbacks when targets are added or removed #367
- NEW: Declare custom default values [#350]
- NEW: Add [key]Classes method to better handle multiple CSS classes #344
- NEW: Introduce a Debug mode #354
- NEW: Emit warnings for undefined controllers, actions and targets #413
- NEW: Add a convenience method for dispatching DOM events inside a controller #302
Stimulus is moving package location on npm from
stimulusto@hotwired/stimulus. The new package is an all-in-one, so no more individual packages for core, multi map, mutation-observers, etc.Stimulus 3 will no longer support IE11. Our compile target is now ES6+.
Note: This release was built from the branch
single-package, which will be merged to main as soon as a few issues regarding tests and examples are resolved. But that has no impact on the use of this beta release.
... (truncated)
Commits
3ac9383Bump for 3.1.0910f2fdAdds new Action Options, namely:selfand:!self(#546)5a60cdeImprove Stimulus Values type mismatch error messages (#528)7f4d0cfuse api feature test rather than permission test (#560)6af3855Handbook: execCommand -> navigator.clipboard (#559)1cfa85cRefactor Event Options test helpers (#541)30933d6Add some documentation for using stimulus with typescript (#540)ffb8d25Allow refining the type of Controller elements (#529)531ec30Adds new Action Options, namely:stopand:prevent(#535)c502444Bump async from 3.2.0 to 3.2.3 (#536)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by dhh, a new releaser for stimulus since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)