Skip to content

Latest commit

 

History

History
93 lines (59 loc) · 4.53 KB

File metadata and controls

93 lines (59 loc) · 4.53 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Release Notes

Breaking Changes

  • Algolia PHP SDK upgraded from v3 to v4 — this changes several user-facing APIs (#395)
  • SearchClient moved from Algolia\AlgoliaSearch\SearchClient to Algolia\AlgoliaSearch\Api\SearchClient — update any direct type-hints or service references
  • $requestOptions no longer auto-detects flat HTTP headers — wrap headers under the headers key (e.g. ['headers' => ['X-Forwarded-For' => '0.0.0.0']])
  • SearchServiceResponse::wait() no longer accepts parameters — call ->wait() with no arguments
  • SearchServiceResponse no longer extends Algolia\AlgoliaSearch\Response\AbstractResponse — use Algolia\SearchBundle\Responses\SearchServiceResponse for type-hints and instanceof checks

Changed

  • Upgraded underlying Algolia PHP API Client from v3 to v4 (#395)
  • Bundle response types (EngineResponse, NullResponse) are now provided by the bundle under Algolia\SearchBundle\Responses\ instead of the SDK

See UPGRADE-8.1.md for a detailed migration guide.

Added

  • Added support for Symfony 8 (#393)
  • Added support for Doctrine ORM 3, Doctrine Bundle 3, and Doctrine Persistence 4

Changed

  • Migrated service configuration from XML to YAML
  • Replaced deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension with Symfony\Component\DependencyInjection\Extension\Extension
  • Replaced deprecated Symfony\Component\Serializer\Annotation\Groups with Symfony\Component\Serializer\Attribute\Groups

Removed

  • Removed friendsofphp/proxy-manager-lts and symfony/proxy-manager-bridge dependencies (Symfony uses native lazy ghost objects since 6.2)

Changed

  • Added support for Symfony 7 (#381). This means support for older Symfony versions is dropped in this new version, and PHP >= 8.2 is required.

Changed

  • Loosened version restriction for doctrine/persistence (#370)

Changed

  • Added support for Symfony 6 (#366). This means support for Symfony v4 is dropped in this new version, as well as PHP <8.0.2.

Fixed

  • Made the SettingsManager class non-final (#365)

Fixed

  • Wait for tasks to finish before performing moveIndex when doing an atomic reindex (#362)

Changed

  • Update the Algolia API client version (#360)

Breaking Changes

  • Update Doctrine components and add Symfony 5.2 support (#355)
  • Drops support for PHP < 7.2

Fixed

  • Import for aggregated models (#350)

Fixed

  • Use ClassUtils from Doctrine to avoid having Proxy into Algolia (#341)

Added

  • Adds atomic reindex support, via --atomic flag in search:import (#324)

Changed