Releases: FriendsOfSymfony/FOSElasticaBundle
Releases · FriendsOfSymfony/FOSElasticaBundle
7.0.0
- Dropped support for PHP 7.4 and PHP 8.0.
- Dropped support for Symfony 5.4.
- [BC break] Method
FOS\ElasticaBundle\Elastica\Client::requestdoes not exist anymore. Please useFOS\ElasticaBundle\Elastica\Client::sendRequest. - [BC break] Method
FOS\ElasticaBundle\Elastica\Client::getIndexnow returnsFOS\ElasticaBundle\Elastica\Index. - [BC break] Arguments for the service
FOS\ElasticaBundle\Elastica\Clienthave changed. See definition ofFOS\ElasticaBundle\Elastica\Client::__construct. - [BC break] Client configuration now reflects configuration of
Elastica\Client. - [BC break] Index template configuration
index_templateoptiontemplateis renamed toindex_patternsand accepts array of strings. - [BC break] Arguments for the service
FOS\ElasticaBundle\Elastica\Client(fos_elastica.client..) are now named, instead of indexed. - [BC break] Configuration options:
host,port,urlare no longer available and replaced with singlehosts. - [BC break] Configuration options:
proxy,auth_type,aws_*,ssl,curl,persistent,compression,connectTimeoutare no longer available. - [BC break] Configuration
connectionStrategyis renamed toconnection_strategy. - [BC break] Event
PostElasticaRequestEventnow operates withPsr\Http\Message\RequestInterfaceinstead ofElastica\Request. - [BC break] Event
ElasticaRequestExceptionEventnow operates withPsr\Http\Message\RequestInterfaceinstead ofElastica\Request, andElastic\Elasticsearch\Exception\ElasticsearchExceptioninstead ofElastica\Exception\ExceptionInterface.
Main change is the configuration of the bundle:
- There are no
connectionslevel anymore. - Options
host,portandurlare replaced with optionhosts, which accepts array. - SSL configuration is provided within
client_configoption. - Other client options are configurable in
client_options. - Refer to new examples! Elastica HTTP client configuration
6.6.0
6.5.1
6.5.0
6.4.0
What's Changed
- Pagerfanta v4.x compatibility by @evertharmeling in #1908
- Support Symfony 7 by @evertharmeling in #1938
- Bump from Symfony 6.3 to Symfony 6.4 LTS by @llupa in #1939
- Fix composer.json for doctrine/phpcr-odm:2.0 by @ajgarlag in #1940
- Client: log query on exception then rethrow it by @7ochem in #1920
- Add registerAliasForArgument for Indexes and Finders by @chrishemmings in #1934
- Enable max depth for Symfony serializer too by @trandbert37 in #1935
New Contributors
- @evertharmeling made their first contribution in #1908
- @llupa made their first contribution in #1939
- @7ochem made their first contribution in #1920
- @chrishemmings made their first contribution in #1934
- @trandbert37 made their first contribution in #1935
Full Changelog: v6.3.1...v6.4.0
6.3.1
6.3.0
- Removed Symfony 6.0 and 6.1 support.
- Removed unused count from async persister.
- Added PHP 8.2 support.
- Normalize
DateIntervalto ISO 8601 string in model transformer. - Deprecated
PostAsyncInsertObjectsEvent. - Added missing interfaces to
TransformedFinder. - Fixed console logger behaviour when populating multiple indexes.
- Show filtered object count during populate.
6.2.0
6.1.0
6.0.0
- Added PHPCR locale support.
- Dropped PHP 7.2 & 7.3 support.
- Dropped Symfony 5.1 and 5.2 support.
- Fixed deprecated
knp_paginator.subscribertag. - [BC break] Changed signature of
FOS\ElasticaBundle\Configuration\Source\SourceInterface::getConfiguration(). - [BC break] Changed signature of methods
resetAllIndexesandresetIndexfrom interfaceFOS\ElasticaBundle\Index\ResetterInterfaceand its implementations.