Table of Contents & Menu
Navigation

Upgrading to 1.3.11 CSP

Version 1.3.11 of hyva-themes/magento2-default-theme-csp introduces basic strict CSP support. To use this CSP-compatible theme, ensure your hyva-themes/magento2-theme-module package is also at least version 1.3.11.

Backward incompatible changes

Alpine-CSP introduces backward incompatible changes. After setting your theme's parent to Hyva/default-csp, you must adjust all existing customizations. For detailed guidance, consult the Hyvä Theme CSP Developer documentation.

A useful approach is to compare templates between the regular vendor/hyva-themes/magento2-default-theme and the CSP-compatible version in vendor/hyva-themes/magento2-default-theme-csp to identify necessary adjustments.

Update Tailwind Configuration

After changing your parent theme to magento2-default-theme-csp, update your child theme's Tailwind configuration to use the CSP default theme's content paths instead of the non-CSP version.

Changelogs

Changelogs are available from the CHANGELOG.md in the codebase, or here:

Upgrade Resources

Please refer to the Hyvä Theme upgrade docs for helpful information on how to upgrade.