Warning
This update contains breaking changes to attributes and SSE events.
- Added SDKs for Go, PHP, .NET and TypeScript.
- Added the
data-persist
attribute. - Added the
data-replace-url
attribute.
- Changed ~(ref) syntax to #(ref)
- Changed the
$$
prefix to$
for action plugins. - Changed the
data-header
syntax to accept an object of key-value pairs. - Renamed the
datastar-delete
event todatastar-remove
. - Renamed the
upsert_attributes
merge mode toupsertAttributes
in the fragment event. - Renamed the
settle
option tosettleDuration
in the fragment event and changed the default value to300
. - Renamed the
vt
option touseViewTransition
in the fragment event and changed the default value tofalse
.
- Removed the
local
andsession
modifiers fromdata-store
. Use thedata-persist
attribute instead.