You can now configure up.proxy.config.maxRequests
to limit
the maximum number of concurrent requests. Additional
requests are queued. This currently ignores preloading requests.
You might find it useful to set this to 1
in full-stack integration
tests (e.g. Selenium).
up.motion.enabled = false
.
This can be useful in full-stack integration tests like a Selenium test suite.up.motion.isEnabled
to check if animations will be performed.up.popup.attach()
now throws a helpful error when trying to attach a popup to a non-existing elementup.modal.config.history
to configure if modals change the browser URL (defaults to true
)up.popup.config.history
to configure if popup change the browser URL (defaults to false
)."bottom-left"
.
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.