Releases: algolia/algoliasearch-magento-2
Releases · algolia/algoliasearch-magento-2
3.14.5
Features
- Added new CLI command for synonyms deduplication
Updates
- Updated integration tests to use
AlgoliaConnector
- Updated
ReplicaManager
service to handle multi stores properly with a$storeId
parameter.
Bug Fixes
- Fixed a bug where full page cache (FPC) didn't work on category pages
- Fixed customer groups prices ranges on configurable products
- Fixed a bug where excluded websites weren't taken into account while indexing customer prices on products. (thanks @kamilszewczyk)
- Fixed
RebuildReplicasPatch
bug where replica detach logic wasn't properly applied in some cases. - Fixed a bug where credentials errors weren't gracefully handled on the SKU reindexing form
- Fixed a bug where the
q
parameter wasn't properly handled in case it was missing on the catalogsearch page. (thanks @PromInc) - Fixed Recommend model validation when configuration is saved in the Magento admin.
3.16.0-beta.1
Features
- Automatic full indexing has been deprecated in 3.16 - you can now opt out of Algolia initiating full reindexing from
indexer_reindex_all_invalid
. - Added an "Indexing Manager" section within the Algolia configuration which disables automatic full reindexing by default and allows users to reactivate if needed.
- Added an "Indexing Manager" page which shows the created indices for main entities (products, categories and pages) and corresponding stores with a link to directly check them on the Algolia dashboard along with a form to reindex those entities directly from the Magento admin.
- CLI commands are now provided to run explicit full reindex of all entities and stores.
- Products and CMS pages can now be reindexed directly from Magento admin grids.
- The indexing queue cron job can now be configured from the Magento admin.
- Dynamic faceting through Algolia merchandsiing rules is now supported in Magento via an opt-in feature flag.
- No code redirects via merchandising rules in Algolia are now supported in Magento for both Autocomplete and InstantSearch. Support is enabled by default for Autocomplete.
- Integration tests and unit tests added
Bug Fixes
- Behavior of conjunctive vs disjunctive facets has been clarified.
- Replica data patches and delete operations have been enhanced to handle potential latency when detaching from the primary index.
- Prices are now indexed using store scoped currency codes.
- Fixed WSOD error on invalid creds when using manual SKU indexer (also included in 3.15.1).
Updates
beforecontent.html
is no longer used and has been deprecated. If you're overriding or referencing this file, please update your layout and customizations accordingly.- An additional separate crontab is no longer needed to run the indexing queue. Enable via admin config to run the queue using Magento's built-in cron.
BatchQueueProcessorInterface
has been introduced to decouple Algolia operations for coreIndexer
models.- Magento will set a default
renderingContent
based on its configured facets. Be sure that "Facet Display" is supported by your Algolia plan before attempting to use. - Auto full indexing is disabled by default in this release. If you require this legacy feature then it can be re-enabled via the Magento admin under Stores > Configuration > Algolia Search > Indexing Manager
- InstantSearch has been refactored to support customization via JavaScript mixins.
- A new front end hook called
beforeFacetInitialization
has been added which allows a user to extend the functionality by adding, removing or modifying "builder" functions which are used to define a facet config that will drive the rendering of facets. - Removed InstantSearch enablement dependency in Magento admin to prevent losing facet and sorting config when disabling the feature.
- InstantSearch has been updated to v4.78.
- Autocomplete has been updated to v1.18.1.
- PHP API client has been pinned to 4.18.3 (also included in 3.15.1).
Documentation
3.15.0
Features
- Added support for Multi-Application IDs (see documentation)
- Refactored frontend library to no longer utilize the legacy
algoliaBundle
(see documentation) - Added support for core Algolia UI library overrides via RequireJS
- Added support for mixins through RequireJS in addition to front end custom events
- See our
CustomAlgolia
demo extension's 1.4.0 release for examples on how to take advantage of these changes - Added granular profiling through the Magento Profiler to aid in troubleshooting indexing performance issues
- Added a feature to enable automatic price indexing within the Advanced section of the configuration (This feature should help alleviate issues where missing pricing records prevent Algolia from being able to index products. See documentation for further details.)
- Reorganization of the test folders
- Added unit and integration tests for full page cache (FPC)
Updates
- Tests: Added possibility to run tests with multiple applications IDs.
- Introduced Index Builders which are services responsible for creating and filling indices with data.
- IMPORTANT: As a result
AlgoliaHelper
is now deprecated and will be removed from the codebase in version 3.16.0 - Added
BackendSearch
Service to movegetSearchResults
method into. - Updated Indexing Queue display in the admin by adding the
class
column - Updated Indexing Queue
data
column formatting - Added documentation link on the queue archive page
- Debugging information now writes to
algolia.log
- Removed dependency on
algoliaBundle
package - Removed dependency on JavaScript global
window
objects with the exception ofalgoliaConfig
- The Hogan.js library is still packaged for injection as needed but be advised that Mustache.js is now used internally instead (see documentation)
- JavaScript bundling is supported but to use the RequireJS Optimizer transpiling will be needed for ES6 constructs
Bug Fixes
- Fixed a bug where admin menus didn't display properly on Magento 2.4.7
- Fixed customer groups prices ranges on configurable products
- Fixed a bug where categories highlighting didn't work as expected on PLP powered by InstantSearch
- Fixed a bug where excluded websites weren't taken into account while indexing customer prices on products. (thanks @kamilszewczyk)
- Fixed a bug where full page cache (FPC) didn't work on category pages
Breaking Changes
- If you have customized your front end implementation based on the
algoliaBundle
you may need to shim your application accordingly (Full details are shared in our documentation)
3.15.0-beta.2
3.15.0-beta.2
Features
- Added support for Multi-Application IDs (see preview documentation)
- Refactored frontend library to no longer utilize the legacy
algoliaBundle
(see preview documentation) - Added support for core Algolia UI library overrides via RequireJS
- Added support for mixins through RequireJS in addition to front end custom events
- See our
CustomAlgolia
demo extension's 1.4.0 release for examples on how to take advantage of these changes - Added granular profiling through the Magento Profiler to aid in troubleshooting indexing performance issues
- Added a feature to enable automatic price indexing within the Advanced section of the configuration (This feature should help alleviate issues where missing pricing records prevent Algolia from being able to index products. See preview documentation for further details.)
Updates
- Tests: Added possibility to run tests with multiple applications IDs.
- Introduced Index Builders which are services responsible for creating and filling indices with data.
- IMPORTANT: As a result
AlgoliaHelper
is now deprecated and will be removed from the codebase in version 3.16.0 - Added
BackendSearch
Service to movegetSearchResults
method into. - Updated Indexing Queue display in the admin by adding the
class
column - Updated Indexing Queue
data
column formatting - Added documentation link on the queue archive page
- Debugging information now writes to
algolia.log
- Removed dependency on
algoliaBundle
package - Removed dependency on JavaScript global
window
objects with the exception ofalgoliaConfig
- The Hogan.js library is still packaged for injection as needed but be advised that Mustache.js is now used internally instead (see preview documentation)
- JavaScript bundling is supported but to use the RequireJS Optimizer transpiling will be needed for ES6 constructs
Bug Fixes
- Fixed a bug where admin menus didn't display properly on Magento 2.4.7
- Fixed customer groups prices ranges on configurable products
- Fixed a bug where categories highlighting didn't work as expected on PLP powered by InstantSearch
Breaking Changes
- If you have customized your front end implementation based on the
algoliaBundle
you may need to shim your application accordingly (Full details are shared in our preview documentation)
3.13.8
3.14.4
3.14.4
Features
- Added a feature to enable automatic price indexing on the Advanced section of the configuration (This feature should help alleviate issues where missing pricing records prevent Algolia from being able to index products.)
Updates
- Updated
getCookie
method to make it more consistent - Removed dependency to
catalog_product_price
indexer
Bug Fixes
- Fixed a bug where the Landing Page Builder was crashing on save with customer group pricing was enabled.
- Fixed issue where Insights information wasn't kept on the url after clicking "add to cart" on PLP powered by InstantSearch
- Fixed a bug where synonyms were unintentionally duplicated on the Algolia dashboard
3.13.7
Features
- Added a feature to enable automatic price indexing on the Advanced section of the configuration (This feature should help alleviate issues where missing pricing records prevent Algolia from being able to index products.)
Updates
- Updated
getCookie
method to make it more consistent - Removed dependency to
catalog_product_price
indexer
Bug Fixes
- Fixed a bug where the Landing Page Builder was crashing on save with customer group pricing was enabled.
- Fixed issue where Insights information wasn't kept on the url after clicking "add to cart" on PLP powered by InstantSearch
3.15.0-beta.1
What's Changed
Updates
- Added support for Multi-Application IDs #1641
- Extension now handles multi applications support for indexing products, categories, pages and suggestions. #1592
- Introduced
AlgoliaCredentialsManager
class and centralize the credentials validation all accross the extension #1598 - Updated Merchandising tools which now refresh the product lists on store change
- Fixed Integration tests
- Added possibility to perform Multi Application IDs tests by passing new env variables (
ALGOLIA_APPLICATION_ID_ALT
,ALGOLIA_SEARCH_KEY_ALT
andALGOLIA_API_KEY_ALT
)
Full Changelog: 3.14.3...3.15.0-beta.1
3.14.3
What's Changed
Updates:
- Updated version of the PHP client in the composer file
- Tests: added new integration scenarios including multi-stores ones.
Bug Fixes:
- Fixed landing page typing error
- Improved query method for alternate root categories - Thank you @igorfigueiredogen
-Fixed an error where a missing prefix can throw errors with strong types added to ConfigHelper - Fixed an error where stale cache data was preventing ranking applied on replica
- Fixed reindexing issue with NeuralSearch
- Tests : Fixed current integration tests
Full Changelog: 3.14.2...3.14.3
3.13.6
What's Changed
Bug Fixes
- Improve handling of insights params for URLs that already have a query string in #1585
- Improve query method for alternate root categories in #1615 - Thank you @igorfigueiredogen
Full Changelog: 3.13.5...3.13.6