up.macro()
. This registers a compiler that is run before all other compilers.up.compiler()
has a new options { priority }
. Compilers with higher priorities are run first.up-toggle
has been renamed to up-switch
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.