Upgrading to 1.3.18 (Beta)
Release 1.3.18 contains bug fixes, code cleanup, and performance improvements.
When updating the Hyvä Theme to version 1.3.18, please always update the hyva-themes/magento2-theme-module
to the latest version.
Even if not updating the Default Theme to 1.3.18, it is safe to update the Hyva_Theme
module to the latest version (package hyva-themes/magento2-theme-module
).
Notable news
Replacing hyva-themes/magento2-reset-theme
with hyva-themes/magento2-base-layout-reset
This change improves the TTFB for requests hitting a cold layout cache.
Instead of a reset-theme undoing all the block declarations found in the layout files of modules, the new hyva-themes/magento2-base-layout-reset
module generates a version of those layout instructions without block declarations on the fly.
This means the reset-theme is no longer necessary. The benefits of this approach over the reset-theme are
- Fewer layout XML files have to be loaded and processed, saving time on requests hitting a cold layout cache
- More future-proof because new core Magento modules will be automatically included in the reset.
The introduction of the generated base layout reset is backward compatible.
Existing themes extending from the reset-theme will continue to function.
It is possible to migrate a Hyvä theme from using the reset-theme to using the generated base layout, but doing so is not required. Please refer to the generated base layout docs for details.
Removal of the forward slash from self-closing HTML tags
This does make for a larger diff to the old version, but we hope this cleanup is welcome nevertheless, since each change is small.
Bugfixes
The special price rendering on product listing pages has been fixed. However, a related Magento core bug exists that may impact multi-website instances. If you have multiple websites and storeviews, you will also need this patch until Adobe releases an update with the fix.
Backward incompatible changes
None.
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.