Skip to content

Bump stimulus from 2.0.0 to 3.0.1 in /assets

Bumps stimulus from 2.0.0 to 3.0.1.

Release notes

Sourced from stimulus's releases.

v3.0.1

What's Changed

Full Changelog: https://github.com/hotwired/stimulus/compare/v3.0.0...v3.0.1

v3.0.0

Release announcement 🚀🎉

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 #444

Instead 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 stimulus to @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.

Rails users: You can use this release via stimulus-rails 0.3.10 with the new importmap-rails approach.

Commits
Maintainer changes

This version was pushed to npm by dhh, a new releaser for stimulus since your current version.


Merge request reports