packagist friendsofsymfony/elastica-bundle v6.0.0-beta1
6.0.0 Beta 1

latest releases: dev-master, dev-XWB-patch-1, v6.4.0...
3 years ago
  • 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.

Don't miss a new elastica-bundle release

NewReleases is sending notifications on new releases.