Skip to content

Releases: FriendsOfSymfony/FOSElasticaBundle

7.0.0

20 Oct 20:32
@XWB XWB
32f7f98

Choose a tag to compare

  • Dropped support for PHP 7.4 and PHP 8.0.
  • Dropped support for Symfony 5.4.
  • [BC break] Method FOS\ElasticaBundle\Elastica\Client::request does not exist anymore. Please use FOS\ElasticaBundle\Elastica\Client::sendRequest.
  • [BC break] Method FOS\ElasticaBundle\Elastica\Client::getIndex now returns FOS\ElasticaBundle\Elastica\Index.
  • [BC break] Arguments for the service FOS\ElasticaBundle\Elastica\Client have changed. See definition of FOS\ElasticaBundle\Elastica\Client::__construct.
  • [BC break] Client configuration now reflects configuration of Elastica\Client.
  • [BC break] Index template configuration index_template option template is renamed to index_patterns and 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, url are no longer available and replaced with single hosts.
  • [BC break] Configuration options: proxy, auth_type, aws_*, ssl, curl, persistent, compression, connectTimeout are no longer available.
  • [BC break] Configuration connectionStrategy is renamed to connection_strategy.
  • [BC break] Event PostElasticaRequestEvent now operates with Psr\Http\Message\RequestInterface instead of Elastica\Request.
  • [BC break] Event ElasticaRequestExceptionEvent now operates with Psr\Http\Message\RequestInterface instead of Elastica\Request, and Elastic\Elasticsearch\Exception\ElasticsearchException instead of Elastica\Exception\ExceptionInterface.

Main change is the configuration of the bundle:

  • There are no connections level anymore.
  • Options host, port and url are replaced with option hosts, which accepts array.
  • SSL configuration is provided within client_config option.
  • Other client options are configurable in client_options.
  • Refer to new examples! Elastica HTTP client configuration

6.6.0

15 Mar 11:44
@XWB XWB
b69ad24

Choose a tag to compare

  • Added PreElasticaRequestEvent, PostElasticaRequestEvent and ElasticaRequestExceptionEvent for requests.
  • Made index template configuration compatible with Elasticsearch 6.

6.5.1

13 Feb 15:39
@XWB XWB
42adbc0

Choose a tag to compare

  • Replaced deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension.

6.5.0

27 Jan 16:57
@XWB XWB
1759099

Choose a tag to compare

  • Added PHP 8.4 support.
  • Added doctrine/orm 3 support.
  • Dropped PHP 8.0 support.
  • Dropped Symfony 7.0 support.
  • Updated documentation.

6.4.0

13 May 08:02
@XWB XWB
b4f7147

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.3.1...v6.4.0

6.3.1

28 May 18:07
@XWB XWB
5dd16e0

Choose a tag to compare

  • Restored pagerfanta/pagerfanta dependency.

6.3.0

22 May 19:08
@XWB XWB
b2012b7

Choose a tag to compare

  • Removed Symfony 6.0 and 6.1 support.
  • Removed unused count from async persister.
  • Added PHP 8.2 support.
  • Normalize DateInterval to 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

31 Aug 11:17
@XWB XWB
4a3e03f

Choose a tag to compare

  • Improved Symfony 6.1 support.
  • Added PHPStan integration.
  • Added support for aws_credential_provider.
  • Added BackedEnum support in ModelToElasticaAutoTransformer.
  • Fix: don't escape unicode in the query log.
  • Fixed index name for aliased index in CreateCommand.

6.1.0

16 Jan 17:40
@XWB XWB
507196a

Choose a tag to compare

  • Added Symfony 6.0 support.
  • Dropped Symfony 5.3 supoport.
  • Fixed several deprecation notices.
  • Restore defer config on terminate listener event.
  • Return null instead of empty array for a null object in Elastica Document.
  • Fixed object count in AsyncPagerPersister.

6.0.0

13 Oct 10:49
@XWB XWB
19114e6

Choose a tag to compare

  • Added PHPCR locale support.
  • Dropped PHP 7.2 & 7.3 support.
  • Dropped Symfony 5.1 and 5.2 support.
  • Fixed deprecated knp_paginator.subscriber tag.
  • [BC break] Changed signature of FOS\ElasticaBundle\Configuration\Source\SourceInterface::getConfiguration().
  • [BC break] Changed signature of methods resetAllIndexes and resetIndex from interface FOS\ElasticaBundle\Index\ResetterInterface and its implementations.