Skip to content

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.

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.