3.14.0
What's Changed
Important
Please note that starting with version 3.14
the Magento Algolia extension will require PHP 8.1 or higher.
Features
- New PHP API client (v4) under the hood for communicating with Algolia in #1494
- Authenticated user tokens now utilized for backend and frontend events to track entire customer journey in 3b7c822 and f5da0fd
- Revenue data now sent with all events including application of Magento specific discounts such as catalog price rules and customer group pricing in #1498
- Support for event subtypes allowing the capture of conversion data for both "Add to cart" and "Place order" events in 3b7c822 and cea9834
- Increased protection of PII in the event data in bd24cfb
- Introduced new admin groups to InstantSearch for improved UX in a26fb39
- Virtual replicas can now be configured granularly by attribute or store in #1551
- Added new sorting admin option via source model in e93223d
- Added derived virtual replica enablement to
ConfigHelper
based onArraySerialized
in a55854b - Intro’d simplified data structures to avoid array diff mismatches in 81ac0ce
- Intro’d new
ReplicaManager
abstraction to map Magento sorting to Algolia replica configuration in #1551 - Removed dependencies in backend models to handle replica config updates in Algolia addressing stale data (starting from 8856cd1)
- Added
ReplicaState
registry for tracking changes to sorting configuration to minimize number of replica build operations in 1e788fd - Added logic to preserve replicas created outside of Magento such as Merchandising Studio "sorting strategies" in 333fa67
- Added handling for customer group pricing in #1531
- Added handling for virtual / standard replica toggling in #1533
- Added store scoped state management in #1542
- Added error handling for replica limits in #1545
- Added Looking Similar recommendations in #1530
- Added data patches to migrate old configurations in #1567
- Added CLI utilities for replica migration and troubleshooting in #1562 and #1559
- Introduced PHP 8 constructor property promotion on affected classes
- Added stronger typing to affected classes and methods
- Updated
ConfigHelper
to use new paths - Added config flag to configure indexing behavior based on product visibility (clarifying legacy inconsistency) in #1565
Bug fixes
- Fixed issue with how Algolia extension handles end user consent for allowing cookies in 7bc3a8f
- Improved handling of user tokens across insights events and corresponding queries in b061b54
- Cleaned up integration tests in #1532
- Applied bugfix for query rule disable on facets with new admin groupings in 7ba0ff4
Breaking changes
If you have customized your Algolia implementation or are running on an older version of Magento, pay attention to these latest updates:
- Updated timestamps to utilize UTC per Algolia recommended guidelines in #1557
- Restructured web asset files to comply with Magento recommendations in #1563 (addresses concerns raised in #1506 - thanks @sgeleon !)
- Previous replica configurations may be invalid. Be sure to run
bin/magento setup:upgrade
in a controlled staging environment prior to deploying. (See #1562) - Dropped support for Magento 2.3 in #1554 per #1541 (comment) (thanks @hostep !)
- PHP 8.1+ required in #1546
Full Changelog: 3.13.5...3.14.0