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.
- Algolia PHP SDK upgraded from v3 to v4 — this changes several user-facing APIs (#395)
SearchClientmoved fromAlgolia\AlgoliaSearch\SearchClienttoAlgolia\AlgoliaSearch\Api\SearchClient— update any direct type-hints or service references$requestOptionsno longer auto-detects flat HTTP headers — wrap headers under theheaderskey (e.g.['headers' => ['X-Forwarded-For' => '0.0.0.0']])SearchServiceResponse::wait()no longer accepts parameters — call->wait()with no argumentsSearchServiceResponseno longer extendsAlgolia\AlgoliaSearch\Response\AbstractResponse— useAlgolia\SearchBundle\Responses\SearchServiceResponsefor type-hints andinstanceofchecks
- Upgraded underlying Algolia PHP API Client from v3 to v4 (#395)
- Bundle response types (
EngineResponse,NullResponse) are now provided by the bundle underAlgolia\SearchBundle\Responses\instead of the SDK
See UPGRADE-8.1.md for a detailed migration guide.
- Added support for Symfony 8 (#393)
- Added support for Doctrine ORM 3, Doctrine Bundle 3, and Doctrine Persistence 4
- Migrated service configuration from XML to YAML
- Replaced deprecated
Symfony\Component\HttpKernel\DependencyInjection\ExtensionwithSymfony\Component\DependencyInjection\Extension\Extension - Replaced deprecated
Symfony\Component\Serializer\Annotation\GroupswithSymfony\Component\Serializer\Attribute\Groups
- Removed
friendsofphp/proxy-manager-ltsandsymfony/proxy-manager-bridgedependencies (Symfony uses native lazy ghost objects since 6.2)
- 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.
- Loosened version restriction for
doctrine/persistence(#370)
- 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.
- Made the
SettingsManagerclass non-final (#365)
- Wait for tasks to finish before performing
moveIndexwhen doing an atomic reindex (#362)
- Update the Algolia API client version (#360)
- Update Doctrine components and add Symfony 5.2 support (#355)
- Drops support for PHP < 7.2
- Import for aggregated models (#350)
- Use ClassUtils from Doctrine to avoid having Proxy into Algolia (#341)
- Adds atomic reindex support, via
--atomicflag insearch:import(#324)
- Major version - Upgrade Guide