Skip to content

v3.0.0-beta.1

Compare
Choose a tag to compare
@dhh dhh released this 30 Aug 15:19
· 176 commits to main since this release
  • 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.