Upgrading to 1.3.11 CSP
The release of hyva-themes/magento2-default-theme-csp
version 1.3.11 introduces basic strict CSP support.
When switching the Hyvä Theme to version the CSP-compatible release, the hyva-themes/magento2-theme-module
package has to be at least at version 1.3.11.
Backward incompatible changes
Alpine-CSP breaks backward compatibility. After changing a theme's parent to Hyva/default-csp
, all customizations need to be adjusted accordingly.
Please refer to the Hyvä Theme CSP Developer documentation for details.
It can also be helpful to compare a template from the regular vendor/hyva-themes/magento2-default-theme
with the CSP compatible version in vendor/hyva-themes/magento2-default-theme-csp
to see what is changed.
Steps to take after changing the parent theme to magento2-default-theme-csp
Remember to update the content paths in the tailwind configuration of the child theme so it uses the CSP default theme instead of the non-CSP version.
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.