Upgrading to 1.3.11
Release 1.3.11 adds basic strict CSP support to the theme-module and fixes several issues in the default-theme.
When updating the Hyvä Theme to version 1.3.11, please always update the hyva-themes/magento2-theme-module
to the latest version.
Even if not updating the Default Theme to 1.3.11, it is safe to update the Hyva_Theme
module to the latest version (package hyva-themes/magento2-theme-module
).
Notable news
Alpine Upgraded from 3.12.3 to 3.14.6
Add Alpine-CSP build to the theme-module. The version of Alpine.js included on a page (non-CSP vs CSP) is selected based on the unsafe-eval
script-src
policy being present in the Content-Security-Policy HTTP header.
For more information, please refer to the CSP documentation for the theme and the checkout.
Improved button styles
To improve consistency for button styling, the border width is now the same for all buttons.
Also, new disabled styles are introduced with this release.
Backward incompatible changes
Magento 2 CSP version Dependency
Hyvä 1.3.11 introduces a mandatory dependency on Magento 2 versions that include the CSP Nonce Provider.
This means you must be running Magento (CE) version 2.4.4-p9, 2.4.5-p8, 2.4.6-p7, 2.4.7-p1, or higher.
Before updating Hyvä to version 1.3.11, please ensure your Magento 2 installation meets these minimum version requirements.
Changelogs
The changelogs are available in the CHANGELOG.md files in the release packages.
Tooling
Please refer to the Hyvä Theme upgrade docs for helpful information on how to upgrade.