Skip to content

Releases: FriendsOfSymfony/FOSElasticaBundle

6.3.1

28 May 18:07
@XWB XWB
5dd16e0
Compare
Choose a tag to compare
  • Restored pagerfanta/pagerfanta dependency.

6.3.0

22 May 19:08
@XWB XWB
b2012b7
Compare
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
Compare
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
Compare
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
Compare
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.

6.0.0 Beta 4

24 May 10:53
@XWB XWB
e21127a
Compare
Choose a tag to compare
6.0.0 Beta 4 Pre-release
Pre-release
  • Added PHP 8 support,
  • Added auth_type client parameter Elastica#1790.
  • Added a post mapping builder event.
  • Upgraded pagerfanta/pagerfanta to v3.
  • Fixed deprecations for Elastica\Index::create() Elastica#1828.
  • [BC break] Marked all fos_elastica.finder.* services as private.
  • [BC break] Marked the fos_elastica.client alias as private.
  • [BC break] Marked the fos_elastica.client_prototype service as private.
  • [BC break] Marked the fos_elastica.index_template_prototype service as private.
  • [BC break] Marked all events final and introduced several abstract classes.
  • [BC break] Signature of FantaPaginatorAdapter::getNbResults() has changed.
  • [BC break] Signature of FantaPaginatorAdapter::getSlice() has changed.
  • [BC break] Signature of PartialResultsInterface::toArray(), PartialResultsInterface::getTotalHits() and PartialResultsInterface::getAggregations() have changed.

5.2.1

30 Nov 20:20
@XWB XWB
9e8903a
Compare
Choose a tag to compare
  • Improved Symfony 5.2 support.

6.0.0 Beta 3

28 Sep 13:30
@XWB XWB
7525233
Compare
Choose a tag to compare
6.0.0 Beta 3 Pre-release
Pre-release
  • Fixed symfony/messenger integration.
  • [BC break] Marked the fos_elastica.index service as private.

6.0.0 Beta 2

24 Sep 14:06
@XWB XWB
e27ee3d
Compare
Choose a tag to compare
6.0.0 Beta 2 Pre-release
Pre-release
  • Added support for queued messages via Symfony Messenger.
  • Fixed several Doctrine Persistence deprecations.
  • Fixed missing options in findHybridPaginated.
  • Fixed wrong class alias for fos_elastica.template_resetter service.
  • [BC break] Changed signature of method FOS\ElasticaBundle\Persister\PagerPersisterRegistry::getPagerPersister().
  • [BC break] Marked all services tagged with fos_elastica.pager_provider private (fos_elastica.pager_provider.prototype.mongodb, fos_elastica.pager_provider.prototype.orm and fos_elastica.pager_provider.prototype.phpcr abstract services).
  • [BC break] Marked the fos_elastica.config_manager service as private.
  • [BC break] Marked the fos_elastica.config_manager.index_templates service as private.
  • [BC break] Marked the fos_elastica.filter_objects_listener service as private.
  • [BC break] Marked the fos_elastica.finder abstract service and all its children as private.
  • [BC break] Marked the fos_elastica.in_place_pager_persister service as private.
  • [BC break] Marked the fos_elastica.index_template_manager service as private.
  • [BC break] Marked the fos_elastica.object_persister service as private.
  • [BC break] Marked the fos_elastica.object_serializer_persister service as private.
  • [BC break] Marked the fos_elastica.pager_persister_registry service as private.
  • [BC break] Marked the fos_elastica.persister_registry service as private.
  • [BC break] Marked the fos_elastica.resetter service as private.
  • [BC break] Marked the fos_elastica.template_resetter service as private.
  • [BC break] The configuration option debug_logging must be a boolean instead of a scalar value.

6.0.0 Beta 1

15 Sep 11:34
@XWB XWB
09cdf7b
Compare
Choose a tag to compare
6.0.0 Beta 1 Pre-release
Pre-release
  • Added Symfony 5 support.
  • Added Elasticsearch 7 support.
  • Dropped Symfony 3 support.
  • Dropped Elasticsearch 5 and 6 support.
  • Dropped PHP 7.1 support.
  • Removed FOS\ElasticaBundle\Exception\InvalidArgumentTypeException.
  • [BC break] Changed signature of method FOS\ElasticaBundle\Finder\FinderInterface::find().
  • [BC break] Changed signature of method FOS\ElasticaBundle\HybridResult::getResult().
  • [BC break] Changed signature of method FOS\ElasticaBundle\Index\AliasProcessor::switchIndexAlias().
  • [BC break] Changed signature of method FOS\ElasticaBundle\Persister\ObjectPersisterInterface::handlesObject().
  • [BC break] Changed signature of method FOS\ElasticaBundle\Provider\PagerProviderInterface::provide().
  • [BC break] Changed signature of methods getPager, getOptions and getObjectPersister from interface FOS\ElasticaBundle\Persister\Event\PersistEvent.
  • [BC break] Changed signature of methods getNbResults, getNbPages, getCurrentPage, setCurrentPage, getMaxPerPage and setMaxPerPage from interface FOS\ElasticaBundle\Provider\PagerInterface.
  • [BC break] Changed signature of methods findPaginated, createPaginatorAdapter and createRawPaginatorAdapter from interface FOS\ElasticaBundle\Finder\PaginatedFinderInterface.
  • [BC break] Changed signature of methods request, getIndex, getIndexTemplate and setStopwatch from class FOS\ElasticaBundle\Elastica\Client.
  • [BC break] Changed signature of methods logQuery, getNbQueries and getQueries from class FOS\ElasticaBundle\Logger\ElasticaLogger.
  • [BC break] Changed signature of methods addIndex, getRepository and getRepositoryName from class FOS\ElasticaBundle\Manager\RepositoryManager.
  • [BC break] Changed signature of methods find, findHybrid, findPaginated and createPaginatorAdapter from class FOS\ElasticaBundle\Repository.
  • [BC break] Removed Elastica\Type.
  • [BC break] Removed _parent.
  • [BC break] Removed FOS\ElasticaBundle\Event\IndexPopulateEvent constants for event names, use event classes instead:
    • PRE_INDEX_POPULATE => FOS\ElasticaBundle\Event\PreIndexPopulateEvent
    • POST_INDEX_POPULATE => FOS\ElasticaBundle\Event\PostIndexPopulateEvent
  • [BC break] Removed FOS\ElasticaBundle\Event\IndexResetEvent constants for event names, use event classes instead:
    • PRE_INDEX_RESET => FOS\ElasticaBundle\Event\PreIndexResetEvent
    • POST_INDEX_RESET => FOS\ElasticaBundle\Event\PostIndexResetEvent
  • [BC break] Removed FOS\ElasticaBundle\Event\TransformEvent constants for event names, use event classes instead:
    • PRE_TRANSFORM => FOS\ElasticaBundle\Event\PreTransformEvent
    • POST_TRANSFORM => FOS\ElasticaBundle\Event\PostTransformEvent
  • [BC break] Removed FOS\ElasticaBundle\Persister\Event\Events class, use event classes instead:
    • ON_EXCEPTION => FOS\ElasticaBundle\Persister\Event\OnExceptionEvent
    • POST_ASYNC_INSERT_OBJECTS => FOS\ElasticaBundle\Persister\Event\PostAsyncInsertObjectsEvent
    • PRE_INSERT_OBJECTS => FOS\ElasticaBundle\Persister\Event\PreInsertObjectsEvent
    • POST_INSERT_OBJECTS => FOS\ElasticaBundle\Persister\Event\PostInsertObjectsEvent
    • PRE_PERSIST => FOS\ElasticaBundle\Persister\Event\PrePersistEvent
    • POST_PERSIST => FOS\ElasticaBundle\Persister\Event\PostPersistEvent
    • PRE_FETCH_OBJECTS => FOS\ElasticaBundle\Persister\Event\PreFetchObjectsEvent
  • [BC break] Renamed FOS\ElasticaBundle\Persister\Event\OnExceptionEvent::setIgnore() to FOS\ElasticaBundle\Persister\Event\OnExceptionEvent::setIgnored().
  • [BC break] Marked all fos_elastica.manager services as private.
  • [BC break] Marked the fos_elastica.repository_manager service as private.
  • [BC break] Marked the fos_elastica.pager_provider_registry service as private.
  • [BC break] Marked the fos_elastica.index_manager service as private.
  • [BC break] Marked the fos_elastica.paginator.subscriber service as private.