Releases: algolia/algoliasearch-magento-2
Releases · algolia/algoliasearch-magento-2
3.17.0-beta.2
Updates
- Removed all
is_nulloccurrences
Bug fixes
- Fixed 3.17 setup:upgrade on PHP 8.4
- Fixed many Codacy issues
3.16.1
Updates
- Add checks on configuration migration processed on data patch
EventProcessornow calculates decimal precision on currency based onMagento\Framework\Locale\FormatInterface- Local InstantSearch widgets can now override facet sorting behavior in merchandising rules
- Updated various unit/integration tests
Bug fixes
- Fixed Indexing Queue display in backend templates.
- Fixed Indexing Queue merging mechanism, it should now have way better performances with delta indexing (updates) jobs.
- Fixed implicit nullable types for PHP 8.4
- Ensure that only non-redirect URL rewrites are considered when generating product URLs - thank you @fasimana
- Apply rounding to insight events revenue values to avoid floating point precision errors - thank you @PromInc
- Fix issue where double conversion occurred during price indexing in case of multi currency stores - thank you @natedawg92
- Fix issue where non-clickable links where rendered on InstantSearch - thank you @PromInc
- Fixed issue where replica setting forwarding can abort if async operation fails to complete in time
- Fixed some Codacy issues
3.15.3
3.15.2
Updates
- Add checks on configuration migration processed on data patch
Bug fixes
- Ensure that only non-redirect URL rewrites are considered when generating product URLs - thank you @fasimana
- Apply rounding to insight events revenue values to avoid floating point precision errors - thank you @PromInc
- Fix store id for queue jobs merging and sorting - thank you @pikulsky
- Fix issue where double conversion occurred during price indexing in case of multi currency stores - thank you @natedawg92
- Fix issue where non-clickable links where rendered on InstantSearch - thank you @PromInc
3.17.0-beta.1
Features
- Added an Algolia indexing cache for storing metadata to prevent extra queries. Large collections that run periodic full indexes can benefit from this cache.
- Price indexing is now optional. If the price attribute is not present in the product attributes, sorts, facets or custom ranking then that information will not be indexed in the product record.
- Creating a temporary index while performing a full index is now optional and can be enabled or disabled in the Magento admin.
- Added Batching optimizer feature which performs a catalog analysis and provides recommendation regarding optimal batching size for indexing.
- Added Clear queue CLI command which handles indexing queue clearing from the console.
Updates
- Fixed Indexing Queue merging mechanism, it should now have way better performances with delta indexing (updates) jobs.
- Updated CLI command organization, queue related commands now have a different prefix compared to the indexing ones.
- Updated default "Maximum number of records sent per indexing request" to 1000 (previously 300).
- Updated
ConfigHelperclass, it now has more methods deprecated and ported to separate helper classes. - Updated Unit and Integration tests.
Bug fixes
- Fixed indexing queue templates escaping.
Documentation
Full Changelog: release/3.16.0...release/3.17.0-beta
3.16.0
What's Changed
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 allows disabling automatic full reindexing with Magento indexers. IMPORTANT: If you want to perform full reindexing, we highly suggest to turn this configuration off and run the newly created CLI commands instead.
- 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 merchandising 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.
- Settings updates are now automatically forwarded to replicas (if this behavior is not desirable it can be disabled in the admin)
- 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).
- Fixed Recommend model validation when configuring through the Magento admin
- Fixed edge case with null queries - thank you @PromInc
- Removed conditional behavior on setting the vary string from the plugin on
\Magento\Framework\App\Http\Contextso that a consistentX-Magento-Varycookie is sent across all requests
Updates
beforecontent.htmlis 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.
BatchQueueProcessorInterfacehas been introduced to decouple Algolia operations for coreIndexermodels.- Magento will set a default
renderingContentbased on its configured facets. Be sure that "Facet Display" is supported by your Algolia plan before attempting to use. - Auto full indexing can be disabled in this release under Stores > Configuration > Algolia Search > Indexing Manager. We are moving towards more intentional indexing so please note that this will become the default in a future release.
- InstantSearch has been refactored to support customization via JavaScript mixins.
- A new front end hook called
beforeFacetInitializationhas 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).
- Credentials form expanded by default in admin
- Removed deprecated methods from Entity Helpers
- Removed every call to deprecated
AlgoliaHelper's methods in the codebase,AlgoliaConnectoris now targeted directly. (AlgoliaHelperwill be removed in a future v3.17.0) - Updated integration tests
- Added support for PHPUnit 10
- Added support for Magento 2.4.8 on PHP 8.4 - Special shout out to @jajajaime for his help here
- Refactored code to PHP 8.2 baseline standard
- Added string escaping to untrusted inputs
- The InstantSearch "replace categories" feature must now be explicitly enabled on new instances aligning with our documentation: https://www.algolia.com/doc/integration/magento-2/guides/category-pages/#enable-category-pages
- Escaping has been applied to all PHTML templates
Breaking Changes
ProductHelper::setSettings()is now takingIndexOptionsobjects as two first parameters instead of index names (strings).
Full Changelog: 3.15.1...3.16.0
3.16.0-beta.2
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 allows disabling automatic full reindexing with Magento indexers. IMPORTANT: If you want to perform full reindexing, we highly suggest to turn this configuration off and run the newly created CLI commands instead.
- 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 merchandising 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.
- Settings updates are now automatically forwarded to replicas (if this behavior is not desirable it can be disabled in the admin)
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).
- Fixed Recommend model validation when configuring through the Magento admin
- Fixed edge case with null queries - thank you @PromInc
- Removed conditional behavior on setting the vary string from the plugin on
\Magento\Framework\App\Http\Contextso that a consistentX-Magento-Varycookie is sent across all requests
Updates
beforecontent.htmlis 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.
BatchQueueProcessorInterfacehas been introduced to decouple Algolia operations for coreIndexermodels.- Magento will set a default
renderingContentbased on its configured facets. Be sure that "Facet Display" is supported by your Algolia plan before attempting to use. - InstantSearch has been refactored to support customization via JavaScript mixins.
- A new front end hook called
beforeFacetInitializationhas 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).
- Credentials form expanded by default in admin
- Removed deprecated methods from Entity Helpers
- Removed every call to deprecated
AlgoliaHelper's methods in the codebase,AlgoliaConnectoris now targeted directly. (AlgoliaHelperwill be removed in a future v3.17.0) - Updated integration tests
- Added support for PHPUnit 10
- Added support for Magento 2.4.8 on PHP 8.4 - Special shout out to @jajajaime for his help here
- Refactored code to PHP 8.2 baseline standard
- The InstantSearch "replace categories" feature must now be explicitly enabled on new instances aligning with our documentation: https://www.algolia.com/doc/integration/magento-2/guides/category-pages/#enable-category-pages
Breaking Changes
ProductHelper::setSettings()is now takingIndexOptionsobjects as two first parameters instead of index names (strings).
Documentation
Changelog
Beta: 3.16.0-beta.1...3.16.0-beta.2
Full: 3.15.1...3.16.0-beta.2
3.15.1
3.15.1
Features
- Algolia's Query Categorization feature is now compatible with the extension.
Updates
- Updated integration tests to use
AlgoliaConnector - Updated
ReplicaManagerservice to handle multi stores properly with a$storeIdparameter. - Pinned PHP Client version to 4.18.3
Bug Fixes
- Fixed
RebuildReplicasPatchbug 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
qparameter 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.14.5
Features
- Added new CLI command for synonyms deduplication
Updates
- Updated integration tests to use
AlgoliaConnector - Updated
ReplicaManagerservice to handle multi stores properly with a$storeIdparameter.
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
RebuildReplicasPatchbug 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
qparameter 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.htmlis 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.
BatchQueueProcessorInterfacehas been introduced to decouple Algolia operations for coreIndexermodels.- Magento will set a default
renderingContentbased 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
beforeFacetInitializationhas 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).