Skip to content

Releases: FriendsOfSymfony/FOSElasticaBundle

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.

5.2.0

15 Sep 13:41
@XWB XWB
581f3df
Compare
Choose a tag to compare
  • Added Symfony 5 support.
  • Dropped Symfony 4.0, 4.1 and 4.2 support.
  • Fixed paginate subscriber when request stack is empty.
  • Fixed Doctrine deprecation notice in RegisterListenersService.
  • Do not prompt for confirmation in ResetTemplatesCommand if not interactive.

5.1.1

23 Aug 17:29
@XWB XWB
e79828e
Compare
Choose a tag to compare
  • Added LegacyEventDispatcherProxy for Symfony 4.3 compatibility.
  • Fixed cannotBeEmpty deprecation notice in Configuration.
  • Improved exception message in AbstractElasticaToModelTransformer.
  • Improved some documentation.

5.1.0

03 May 10:14
@XWB XWB
3f2707d
Compare
Choose a tag to compare
  • Added compatibility with Symfony 4.2.
  • Added autowiring support for Elastica\Client.
  • Added Pagerfanta 2.0 support.
  • Added optional routing in ObjectPersister::deleteById.
  • Added refresh options for persisters.
  • Added index name to TransformEvent document.
  • Added many unit tests.
  • Added index templates support.
  • Change method visibility in Configuration to private.
  • Handle multiline strings in ElasticaLogger.
  • Fixed pagination of ORM queries when populating.
  • Profile panel redesign.
  • Updated documentation files.
  • Dropped PHP 5.6 support.

5.0.3

07 Feb 12:34
v5.0.3
Compare
Choose a tag to compare
  • Fixed support for decorating object persister services. The refactoring done in 5.0.0 was breaking in such case.
  • Added compile-time validation that necessary services are public

5.0.2

03 Jan 13:23
@XWB XWB
Compare
Choose a tag to compare
  • Fixed Doctrine registry in MongoDB and PHPCR pager providers.
  • Unset options of new provider API when an old one is used.
  • Fixed fos_elastica.paginator.subscriber service to be public.

4.1.2

03 Jan 13:20
@XWB XWB
Compare
Choose a tag to compare
  • Fixed Doctrine registry in MongoDB and PHPCR pager providers.

4.1.1

20 Dec 14:03
b056b39
Compare
Choose a tag to compare
  • Unset options of new provider API when an old one is used.

5.0.1

20 Dec 14:04
96c79eb
Compare
Choose a tag to compare
  • Fix typo in populate command: option first-page

5.0.0

18 Dec 17:31
Compare
Choose a tag to compare
  • Added ruflin/elastica 5.x and 6.x support.
  • Added Symfony 4 support.
  • Made commands services and add support for lazy loading of them.
  • Removed Propel support.
  • And more, see changelog and upgrade.