Klevu Module v4.x Overview

Release Notes

4min

Release notes can be found on our Github releases page for the metapackage module klevu/module-m2-search.

These release notes will summarise the release, listing any NEW FEATURE, IMPROVEMENT or BUGFIX in the release as well as any composer dependency changes.

Breaking Changes or Attention will be drawn to any important issues with the release. e.g. any potential breaking changes (though we endeavour to keep those to an absolute minimum) or bugs found after release that have an impact on the release's stability.



4.2.0 - Breaking Changes

Please note version 4.2.0 contains some breaking changes.

Analytics

module-m2-analytcis-order-sync/Setup/Patch/Data/MigrateLegacyOrderSyncRecords.php constructor classes removed - See Analytics Order Sync Pull Request

Frontend

Classes defined in etc/frontend/di.xml moved to etc/di.xml for the following modules:

  • module-m2-frontend,
  • module-m2-frontend-categorynavigation,
  • module-m2-frontend-metadata,
  • module-m2-frontend-metadata-categorynavigation,
  • module-m2-frontend-metadata-recommendations,
  • module-m2-frontend-metadata-search,
  • module-m2-frontend-recommendations,
  • module-m2-frontend-search

This is to work around a core Magento issue where app emulation for the frontend, used by PageBuilder (and others), does not load the DI configuration for the frontend, but uses the global DI config. This caused PageBuilder not to render in the admin. We also saw this causes issue with Breeze.

Indexing

These changes are to improve performance where we have changed methods from returning arrays to returning \Generators and methods that now accept \Generators instead of arrays. See the Indexing API Pull Request for the methods effected by this change.

We have also made a change in the products indexing pipeline. SetCustomerGroupId stage has been removed from the pipelines and replaced with SetCustomerGroupIdOnProduct - see Indexing Products Pull Request. This fixes the issue with Catalog Price Rules being ignored when indexing is triggered via cron.

4.2.0 - Post Deployment Actions

Along with the usual post deployments actions such as bin/magento setup:upgrade and bin/magento setup:di:compile please ensure you also regenerate the pipeline configuration

Shell





Updated 27 Feb 2025
Doc contributor
Did this page help you?