Upgrading to 1.3.10-RC2
Release 1.3.10 is a feature and maintenance release with bug fixes and library upgrades.
When updating the Hyvä Theme to version 1.3.10, please always update the hyva-themes/magento2-theme-module
to the latest version.
Even if not updating the Default Theme to 1.3.10, it is safe to update the Hyva_Theme
module to the latest version (package hyva-themes/magento2-theme-module
).
Notable news
PageBuilder improvements
PageBuilder background image lazy loading
Lazy Loading can be toggled individually for each background image in PageBuilder.
Whether lazy loading is enabled or disabled by default can be configured in the system configuration at Hyvä > PageBuilder > Images > Enable lazy-loading by default for background images.
Out of the box, background image lazy loading is disabled, since sites that upgrade the theme-module but don't upgrade hyva-themes/magento2-default-theme
may end up with missing background if the JS to load the images on intersection is missing from the default-theme.
After all Hyvä child themes are updated to magento2-default-theme
1.3.10 or newer, it is safe to enable lazy loading for background images by default in the system configuration.
Alternatively, a content manager can enable lazy loading for each background individually in PageBuilder.
New builds should consider enabling lazy loading for background images by default from the beginning of the project.
PageBuilder image dimensions and lazy loading
Image dimensions should always be specified for every image to avoid CLS issues.
Lazy loading should be enabled for images below the fold and disabled for the LCP image.
Product slider and grid admin preview
Previously, the preview of product carousels or product grids in PageBuilder was broken, if a Hyvä frontend theme was used.
Experimental Page Transitions
View Transitions is a new browser API allowing smooth and engaging animations during page transitions.
This can significantly improve user experience by providing visual cues and reducing the perception of page load times.
The feature is disabled by default. It can be enabled in the "Hyvä Themes > Experimental > Enable View Transitions" system configuration.
Experimental Preloading Speculationrule improvements
Besides a small bugfix on syntax improvements, the default speculation rules now include cached pages without a .html suffix by explicitly excluding non-cached pages like the customer account or the cart page.
Skip CSS + JS minification for assets from Hyvä Themes
The core Magento minification does not improve performance for Hyvä based themes and only causes overhead, and also can be harmful under specific conditions because of bugs.
Add Setting to disable the homepage demo content
Previously this required a child theme layout override, now it can also be done through a switch in the admin configuration.
Mollie bundling
The mollie payment method is now automatically installed as a composer dependency.
Alpine Upgraded from 3.12.3 to 3.13.10
This minor version upgrade mainly provides bug fixes. For details please refer to the Alpine.js release notes.
Tailwind upgrade from 3.4.1 to 3.4.13
This will likely be the last release in the Tailwind 3.4 line.
Backward incompatible changes
Due to reports about the RegisterPageJsDependencies mechanism interfering with email rendering in combination with third-party modules using the feature, it is now only active for Hyvä themes.
If a store view with a Luma-based theme is active (such as during email rendering), JS dependencies are no longer rendered.
Previously the feature could theoretically also be used within Luma, but since Luma uses RequireJS to handle JS dependencies, the potential of this change to impact existing sites is quite small.
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.