Skip to content

Upgrading to 1.1.20

1.1.20 is a mostly backward compatible release. Please refer to the changelog for details.

When updating the Hyvä Theme to version 1.1.20, please note to always update the hyva-themes/magento2-theme-module to the latest version as well.

Even if not updating the Default Theme to 1.1.20, it should always be safe to update Hyva_Theme module to the latest version (package hyva-themes/magento2-theme-module).

Backward incompatible changes

  • Advanced form validation phrase change

For required fields, instead of using the validation error message "This field is required.", the phrase "This is a required field." is now used.
This is the same as in Luma.

  • Advanced form validation password validation not applied to all password type fields automatically

Previously the password validation rule was applied automatically to all input fields of type="password". This prevented the use of password fields with different (or no) validation rules.
Now no rule is applied automatically to password fields anymore. To apply the password validation rule, the attribute data-validate='{"password": true}' needs to be used.

  • Fix order email total rendering

Previously the totals where rendered above the order items in order emails.
This was due to a template that was used both in the store front and for rendering the emails.
The Luma email template expected a table to be used, while the Hyvä template used tailwind stying.

This release moves the templates that are used in the store front to a new location, which means the standard Luma templates are used for the order emails.
Any template overrides will need to be moved to the new location, too.

  • Magento_Sales::order/totals.phtml to Magento_Sales::order/totals/totals.phtml
  • Magento_Tax::order/tax.phtml to Magento_Tax::order/totals/tax.phtml

Changelogs

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