up.modal.extract() to open a modal from an
existing HTML string.up.ajax() now also accepts the URL as a first string argument.up.modal.config.openDurationup.modal.config.closeDurationup.modal.config.openEasingup.modal.config.closeEasingup.modal.config.backdropOpenAnimationup.modal.config.backdropCloseAnimationup.motion.finish() without arguments will now
complete all animations and transitions on the screen.up.motion.finish() would not cancel CSS transitions that were still in progress..up-active classes where not removed from links when the destination
was already preloaded.The modal's HTML structure has been changed to include a .up-modal-backdrop element:
<div class="up-modal">
<div class="up-modal-backdrop">
<div class="up-modal-viewport">
<div class="up-modal-dialog">
<div class="up-modal-content">
...
</div>
<div class="up-modal-close" up-close>X</div>
</div>
</div>
</div>
z-index properties for modal elements have been changed.
They might change again in the future.up.motion.finish() with an element will now also
complete animations/transitions on children of the given element.
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.