up.autosubmit()
and selector [up-autosubmit]
to
observe a form or field and submit the form when a value changes.up.observe()
and [up-observe]
can now be applied
to <form>
tags. The callback is run when any field in the form changes.up.browser.canPushState()
to detect
if the browser supports history.pushState
.up.browser.canCssTransition()
to
detect if the browser supports animation with CSS transitions.up.browser.canInputEvent()
to
detect if the browser supports the input
event.up.observe()
.up:popup:open
,
up:popup:opened
, up:popup:close
and up:popup:closed
.up.observe()
now properly unregisters
event listeners.up.observe()
now takes the callback function as a last argument.
The callback can now longer be passed as a .change
option.
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.