v1.0.0-beta.10
·
221 commits
to develop
since this release
We’ve taken the opportunity to button up the API in preparation for the stable v1 release 🚀
Take note of the renamed attributes and the removal of the ability to use a key with data-persist.
data-intersects → data-on-intersect
data-on-signals-change → data-on-signal-change
data-persist-* → data-persist
Added
- Added a
retries-failedevent type that is dispatched when the SSE plugin fails after retrying (#785).
Changed
- Updated Idiomorph to version 0.7.3.
- Renamed the
data-intersectsattribute todata-on-intersect. - Renamed the
data-on-signals-changeattribute todata-on-signal-change. - Classes used in
data-class-*attributes now default to kebab-case (#761). - Events used in
data-on-*attributes now default to kebab-case (#761). - The
datastar-sseevent is now dispatched on the element itself (#761). - The NPM package now also exports all plugins and bundles (#742).
- Data attributes with plugin names in their prefix are no longer processed (#771).
- The alias used in the aliased bundle has been renamed to
star(data-star-*) (#772).
Fixed
- Fixed the applying of plugins to give custom plugins a chance to load (#740).
- Fixed a bug in which the indicator signal was not being reset when the element it was on was removed from the DOM (#749).
- Fixed a bug in which merging multiple targets was not working correctly (#780).
Removed
- Removed the ability to use a key with the
data-persistattribute. - Removed settling from SSE events, which has become redundant (#764).