You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BC] Removed sfes.index_manager.class - Replacing the IndexManager service now works by overriding its service definition
[BC] Changed the order of the arguments of IndexManager::__construct()
IndexManager::getDocumentClass() visibility changed to public
[BC] Removed legacy public service aliases - DI must now be used (sfes.document_converter, sfes.provider_registry, sfes.index_manager_registry, sfes.finder, sfes.document_locator, sfes.document_parser, sfes.document_metadata_collector, sfes.logger.collection_handler, sfes.connection_factory, sfes.profiler, sfes.subscriber.knp_paginate_query_subscriber, sfes.subscriber.entity_tracker_subscriber)
Add support for autowiring ConnectionManager based on parameter name (e.g ConnectionManager $defaultConnection)
Added 'providerClass' annotation to Document annotation
Automatically registers ProviderInterface instances as data providers for autoconfiguration
[BC] Removed AbstractProvider::_construct(). Entity data provider must now be specified in the Document annotation as providerClass and data Provider instances should no longer know what entity they are for.
[BC] Refactored ProviderRegistry removing addProvider(), removeProvider(), getProviderId(), getProviderInstance() and adding getProviderForEntity() and getSelfProviderForEntity()
[BC] Removed app.es.language_provider in favour of passing 'languages' in the configuration (With the old service, even if a new language is returned from the LanguageProvider, the entities metadata may already have been cached, so the new language would not automatically be available in entities. Also when a language is removed, this would change the index mapping and likely break things, so dynamic changing of the available languages is not a good idea. If a service must be used to get the available languages, you could inject a service call as an expression instead of the sfes.languages parameter
[BC] Removed dependencies and methods from Repository (reindex, delete, update, persist, persistRaw)
Get repositories via RepositoryFactory, allowing for adding any additional DI dependencies to custom repositories
[BC] Refactored caching of metadata, which now uses Symfony\Contracts\Cache\CacheInterface instead of Doctrine\Common\Cache\Cache. Cache is now built on cache warmup or on demand, not during instantiation.
[BC] Removed DocumentMetadataCollector::getIndexManagersForDocumentClasses() and DocumentMetadataCollector::getDocumentMetadataForIndex()
Added metadata_cache_pool configuration key to specify a Symfony\Contracts\Cache\CacheInterface cache pool to be used for metadata
Clear scroll after it has been fully processed
[BC] Removed sfes.logger.log_handler and sfes.logger.log services and sfes.logging.path parameter. Symfony's default logger is now used loggin to 'sfes' channel
[BC] Renamed sfes.logger.trace to sfes.logger.profiler
Added optional $suffix parameter to IndexManager::getUniqueIndexName() to give more control over new index names
Make sure no dot-prefixed indices are queried by ConnectionManager methods existsAlias(), existsIndexOrAlias(), getAliases() and refresh(), in order to avoid deprecation warning from ES 7.* when trying to access system indices. Creation of dot-prefixed indices is deprecated in ES7, unless they are system or hidden and we don't care for such.