- Added the
namespacedata line to thedatastar-patch-elementsevent, which makes it possible to patch elements usingsvgandmathmlnamespaces. (#1108) - Added the
retryoption to backend actions, whereautois the default behavior anderroris any4xxor5xxresponse. (#1073) - Added the
payloadoption to backend actions, which allows the fetch payload to be overridden. - Added an
__exitmodifier to thedata-on-intersectattribute to trigger the callback when the element exits the viewport. (#1011) - Added a
__thresholdmodifier to thedata-on-intersectattribute to specify a custom intersection threshold as a percentage. - Added the ability to have multiple cleanups per attribute.
- The
data-classattribute no longer runs its expression on cleanup. (#1060) - Backend actions now default to peeking signals so that no subscriptions are created. (#1100)
- Form fields are no longer validated if a
novalidateattribute exists on theformtag (for real, this time). (#1056) - Fetch requests are now cancelled when the any ancestor of the element that initiated them is removed from the DOM and the
requestCancellationoption is set toauto. (#1078, #1080) - The
openWhenHiddenoption for backend actions now defaults tofalseforGETrequests andtruefor all other HTTP methods. - Setting a signal to an object now merges the diff into the existing proxy rather than replacing it.
- Improved the handling of SVG elements when patching elements.
- Fixed a bug in which, when using the
throttlemodifier with atrailingargument, the expression was executed with the event from the leading edge of the throttle window rather than the last event. (#1091) - Fixed a bug in which duplicate requests were being made due to visibility changes. (#1096)
- Fixed a bug in which the
data-on-signal-patchattribute was not working when used with an alias.