This change addresses multiple edge cases with concurrent user input during form validations:
<form>
element is aborted. Previously individual validations were aborted when their target was aborted.up.validate()
now rejects with an up.Aborted
error if a debounce delay was aborted (by aborting the <form>
element).This change fixes two more regressions for [up-autosubmit]
, introduced by 3.7.0:
<form>
element is aborted. It no longer aborts the delay when the form's target is aborted.:maybe
suffix) are now included in the X-Up-Target
header if they match in the current page. Previously optional selector parts were always omitted from X-Up-Target
.up:fragment:aborted
now has a new { reason }
property. Its a value is a string describing the reason for the fragment being aborted.
If you're upgrading from an older Unpoly version you should load unpoly-migrate.js
to polyfill deprecated APIs.
Changes handled by unpoly-migrate.js
are not considered breaking changes.
See our upgrading guide for details.