Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Elastica Bundle Laravel Package

friendsofsymfony/elastica-bundle

View on GitHub
Deep Wiki
Context7
v7.1.0
  • Added Symfony 8.0 support.
  • Added PHP 8.5 test coverage.
  • Dropped Symfony 7.1, 7.2 and 7.3 support.
v7.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::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
v6.6.0
  • Added PreElasticaRequestEvent, PostElasticaRequestEvent and ElasticaRequestExceptionEvent for requests.
  • Made index template configuration compatible with Elasticsearch 6.
v6.5.1
  • Replaced deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension.
v6.5.0
  • Added PHP 8.4 support.
  • Added doctrine/orm 3 support.
  • Dropped PHP 8.0 support.
  • Dropped Symfony 7.0 support.
  • Updated documentation.
v6.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v6.3.1...v6.4.0

v6.3.1
  • Restored pagerfanta/pagerfanta dependency.
v6.3.0
  • 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.
v6.2.0
  • 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.
v6.1.0
  • 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.
v6.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.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.
v6.0.0-beta4
  • 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.
v5.2.1
  • Improved Symfony 5.2 support.
v6.0.0-beta3
  • Fixed symfony/messenger integration.
  • [BC break] Marked the fos_elastica.index service as private.
v6.0.0-beta2
  • 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.
v5.2.0
  • 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.
v6.0.0-beta1
  • 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.
v5.1.1
  • Added LegacyEventDispatcherProxy for Symfony 4.3 compatibility.
  • Fixed cannotBeEmpty deprecation notice in Configuration.
  • Improved exception message in AbstractElasticaToModelTransformer.
  • Improved some documentation.
v5.1.0
  • 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.
v5.0.3
  • 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
v5.0.2
  • 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.
v4.1.2
  • Fixed Doctrine registry in MongoDB and PHPCR pager providers.
v5.0.1
  • Fix typo in populate command: option first-page
v4.1.1
  • Unset options of new provider API when an old one is used.
v5.0.0
  • 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.
v4.1.0
  • Introduce a new provider API. Deprecate legacy ones. See #1240
  • Introduce a provider pager.
  • Introduce InPlacePagerPersister.
  • Add new options to populate command: --first-page, last-page, --max-per-page. They work only if you use v5 providers API.
  • Deprecate some options of populate command: --batch-size and --offset.
  • Deprecate Propel support
  • Cast value objects used as identifier in Elasticsearch to string
v4.0.1
  • Fixed Propel object sorting
  • Fixed the profiler icon for IE
v3.2.4
  • Fixed Propel object sorting
  • Fixed the profiler icon for IE
v4.0.0
  • Add ruflin/Elastica 3.x support.
  • Add new repository manager.
  • Add support for DateTimeInterface in ModelToElasticaAutoTransformer.
  • Add support for suggesters.
  • Dropped PHP 5.3 and 5.4 support.
  • Removed Symfony < 2.7 support.
  • [BC break] Allow additional parameters to AbstractProvider::queryBuilder.
  • [BC break] Added PaginatorAdapterInterface::getSuggests.
  • [BC break] Removed faceted search support.
  • [BC break] Removed AbstractProvider::isObjectIndexable.
  • [BC break] Removed AbstractProvider::getMemoryUsage.
  • [BC break] Removed deprecated Resetter class.
  • [BC break] Removed deprecated Client class.
  • [BC break] Removed deprecated IndexManager class.
  • [BC break] Removed deprecated DynamicIndex class.
  • [BC break] Removed deprecated immediate configuration option.
  • [BC break] Removed Search annotations as they cannot be used anymore.
  • [BC break] Removed TransformedFinder::moreLikeThis.
  • [BC break] Removed ignore_unmapped support for Paginator.
v3.2.3
  • Fixed service priority when registering providers
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware