This is a maintenance release to bridge the time until Unpoly 3 is completed. This release includes the following changes:
up:request:load
may now access the unopened XMLHttpRequest
instance through event.xhr
. This lets you track upload progress through event.xhr.upload
. (Thanks @iaddict!)up:layer:accept
may change the layer's acceptance value by setting or mutating event.value
.up:layer:dismiss
may change the layer's dismissal value by setting or mutating event.value
.
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.