Skip to content

2.0.0

Choose a tag to compare

@matweew matweew released this 21 Jul 17:01
· 1 commit to master since this release
b29831c

What's Changed

Improvements

  • Introduced AlgoliaSearchParametersTransfer.
  • Updated algolia/algoliasearch-client-php dependency 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