You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the data-match-media Datastar Pro attribute that sets a signal to true or false depending on whether a media query matches, and keeps it in sync whenever the query changes.
Added the @intl action to Datastar Pro, for internationalized formatting of dates, numbers, and other values using the Intl namespace object.
Fetch requests with requestCancellation set to auto no longer cancel the request when the initiating element/attribute is removed from the DOM. Use the cleanup option to opt in to that behavior.
Backend action requests now send the current state of the signals when retrying, rather than the initial state. (#900)
Datastar expressions containing dollar sign symbols in string/template literals (e.g. '$foo') are no longer parsed as signal references. (#1106)
The datastar-patch-elements event now accepts Element and DocumentFragment payloads and will consume/move them instead of re-parsing strings (non-string payloads are single-use and target only the first match). (#1125)
The data-attr attribute now preserves function values.
Fixed a bug in the data-on plugin in which event listeners were not cleared on element removal when using the __capture modifier.
Fixed a bug in the data-on-intersect plugin in which the threshold modifier was not properly applied.