This release addresses some issues when upgrading from Unpoly 2 to 3:
[up-keep]
elements would call their destructors if the <body>
element is swapped{ cache: 'auto', revalidate: 'auto' }
.If also fixes some bugs in unpoly-migrate.js
:
&
) in attribute selector values that contain both square brackets and ampersands (fixes #478)up.$on()
was not polyfilled properlyup.$off()
was not polyfilled properlyup.$compiler()
was not polyfilled properlyup.$macro()
was not polyfilled properlyFinally this release publishes a small feature:
[up-href]
. Using this attribute you can make any element behave like a hyperlink when clicked.
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.