v1.0.0-beta.11
·
206 commits
to develop
since this release
This release adds wildcard support to data-on-signals-change-*, data-persist, @setAll and @toggleAll using * to match a single path segment and ** to match multiple path segments. Note that this does mean a potentially breaking change if you were relying on path prefixes.
The beta phase is now officially unofficially over, and the next release should be v1.0.0 🚀
Added
- Added the
__debounce,__throttleand__viewtransitionmodifiers todata-on-intersect. - Added the
__debounce,__throttleand__viewtransitionmodifiers todata-on-signal-change. - Added the
__viewtransitionmodifier todata-on-interval. - Added the
__viewtransitionmodifier todata-on-load. - Added the
__viewtransitionmodifier todata-on-raf.
Changed
- The
datastar-sseevent is now dispatched on thedocumentelement, and usingdata-on-datastar-sseautomatically listens for the event on thedocument(#802). - The
data-on-signals-change-*attribute key now accepts a path in which*matches a single path segment and**matches multiple path segments (data-on-signals-change-foo.*.baz,data-on-signals-change-foo.**). - The
data-persistattribute now accepts one or more space-separated paths in which*matches a single path segment and**matches multiple path segments (data-persist="foo.*.baz",data-persist="foo.**"). - The
@setAllaction now accepts one or more space-separated paths in which*matches a single path segment and**matches multiple path segments (@setAll('foo.*.baz', true),@setAll('foo.**', true)) (#793). - The
@toggleAllaction now accepts one or more space-separated paths in which*matches a single path segment and**matches multiple path segments (@toggleAll('foo.*.baz'),@toggleAll('foo.**')) (#793).