Hyvä Themes 1.3.6 and 1.3.7 releases

Hyvä Themes 1.3.6 and 1.3.7 releases

Besides bugfixes and general improvements, releases 1.3.6 and 1.3.6 of the Hyvä Theme include several performance related features. These are important due to the latest changes to the Algorithm Google uses to rank websites. Existing sites should upgrade to the latest versions to benefit from these changes and additions.

Not every existing site requires all new features, but we do try to make it easy for developers to introduce new features over time.

  • A new custom Alpine.js x-defer directive gives control over when Alpine components are initialized, improving the initial main thread blocking time and interaction to next paint.
  • Using x-defer to improve existing custom themes is quick and easy thanks to a new backend configuration setting to defer components based on CSS selector expressions. Willem and Vinai recorded a video demonstrating how to use the new Alpine expression.
  • Requiring JavaScript on a page to be rendered conditionally as a dependency reduces the amount of unused or duplicated JavaScript on every page. This new feature has been used to remove a lot of JavaScript, making Hyvä-Themes based stores more lightweight. 
  • A default implementation of the new Pre-rendering Speculation Rules API available in Chrome and Edge browsers provides a great user experience due to instant page transitions. The experimental feature is disabled by default, but can be turned on in the Hyvä system configuration. Willem recorded a short video introduction to the new API.
  • New visitors no longer require loading customer section data via AJAX, reducing server resource utilization.
  • TailwindCSS version 3.4.1 includes some improvements and bugfixes that can lead to a smaller size of the generated styles.
  • Security researcher Talesh Seeparsan reported a missing form key validation for the customers login in via AJAX in core Magento, that has now been added to stores using a Hyvä based theme.
  • Release 1.3.7 provides compatibility with Magento 2.4.7.

Please refer to the upgrade notes for 1.3.6 and 1.3.7 before upgrading. The changelogs for the theme-module and the default-theme contain all the nitty gritty details.

Share

Related Posts

Related Products