1.8 KiB
1.8 KiB
Release Notes for Datastar
Each tagged version of Datastar is accompanied by a release note. Read the release notes »
WIP Release Notes
v1.0.0-beta.11
Added
- Added the
__debounce
,__throttle
and__viewtransition
modifiers todata-on-intersect
. - Added the
__debounce
,__throttle
and__viewtransition
modifiers todata-on-signal-change
. - Added the
__viewtransition
modifier todata-on-interval
. - Added the
__viewtransition
modifier todata-on-load
. - Added the
__viewtransition
modifier todata-on-raf
.
Changed
- The
datastar-sse
event is now dispatched on thedocument
element, and usingdata-on-datastar-sse
automatically 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-persist
attribute 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
@setAll
action 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
@toggleAll
action 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).