2.0.0
What's Changed
- CC-39115: Algolia API update by @denis-gnusov in #6
Improvements
- Introduced
AlgoliaSearchParametersTransfer. - Updated
algolia/algoliasearch-client-phpdependency version to a new major (4.x.x). - Changed
\SprykerEco\Zed\Algolia\AlgoliaConfig::getCmsPageSortingAttributes()default return value from ['name'] to []. - Introduced
\SprykerEco\Zed\Algolia\AlgoliaConfig::getProductSortingAttributes()to configure product sorting replica attributes. - Introduced
\SprykerEco\Client\Algolia\AlgoliaConfig::getProductSortingParamToAttributeMapping()to configure sort params to Algolia replica attribute names mapping for products. - Introduced
\SprykerEco\Client\Algolia\AlgoliaConfig::getCmsPageSortingParamToAttributeMapping()to configure sort params to Algolia replica attribute names mapping for CMS pages. - Adjusted
\SprykerEco\Zed\Algolia\Business\AlgoliaFacade::exportProducts()to always configure index replicas, ensuring new sorting attributes are created in Algolia without requiring index deletion. - Adjusted
\SprykerEco\Client\Algolia\AlgoliaClient::search()to handle missing replica indices by returning an empty successful response instead of an error.
Full Changelog: 1.2.1...2.0.0