Upgrading to 1.3.11
Hyvä Theme 1.3.11 introduces basic strict CSP support to the theme module and includes several fixes for the default theme.
When upgrading to Hyvä Theme 1.3.11, you must always update the hyva-themes/magento2-theme-module package to its latest version.
It is safe to update the Hyva_Theme module (hyva-themes/magento2-theme-module) to the latest version, even if you are not updating the Default Theme to 1.3.11.
Notable News
Alpine.js Upgraded to 3.14.6 (from 3.12.3)
The theme module now includes an Alpine-CSP build. The version of Alpine.js loaded (CSP vs. non-CSP) is automatically selected based on the presence of the unsafe-eval script-src policy in your Content-Security-Policy HTTP header.
For detailed information, see the CSP documentation for the theme and the checkout.
Improved Button Styles
Button styling has been enhanced for consistency, with a uniform border width across all buttons. New disabled button styles are also introduced.
Backward Incompatible Changes
Mandatory Magento 2 CSP Version Dependency
Hyvä 1.3.11 now has a mandatory dependency on Magento 2 versions that include the CSP Nonce Provider.
You must be running one of the following Magento (CE) versions or higher:
- 2.4.4-p9
- 2.4.5-p8
- 2.4.6-p7
- 2.4.7-p1
Action Required: Before updating Hyvä to version 1.3.11, please ensure your Magento 2 installation meets these minimum version requirements.
Changelogs
Changelogs are available from the CHANGELOG.md in the codebase, or here:
Tooling
Please refer to the Hyvä Theme upgrade docs for helpful information on how to upgrade.