github starfederation/datastar v1.0.0-beta.10

latest release: v1.0.0-beta.11
6 days ago

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-intersectsdata-on-intersect
data-on-signals-changedata-on-signal-change
data-persist-*data-persist

Added

  • Added a retries-failed event type that is dispatched when the SSE plugin fails after retrying (#785).

Changed

  • Updated Idiomorph to version 0.7.3.
  • Renamed the data-intersects attribute to data-on-intersect.
  • Renamed the data-on-signals-change attribute to data-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-sse event 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-persist attribute.
  • Removed settling from SSE events, which has become redundant (#764).

Don't miss a new datastar release

NewReleases is sending notifications on new releases.