Skip to content

v6.2.0

Compare
Choose a tag to compare
@pmishev pmishev released this 11 Jul 15:52
· 3 commits to 2019-06-24-remove-types-support since this release
  • Added support for more than one index being pointed by the read alias

  • Allow using entity class FQN anywhere, as well as shorthand alias such as AppBundle:MyEntity

  • Changed Finder::get() to do a search query instead of direct doc retrieval by id, so it can work for multiple indices linked to alias

  • Added IndexManager::getReadIndices() and IndexManager::getWriteIndices()

  • Introduced IndexOrAliasNotFoundException and InvalidLiveIndexException

  • IndexManager::getRepository() does not accept any arguments now

  • Added IndexManagerRegistry::getAll() generator

  • [BC] Raised minimum PHP version to 7.1

  • [BC] Set minimum Symfony version to 3.4, because of failing tests with phpunit7

  • [BC] Changed getLiveIndex() to return the index pointed by both the read and write alias, as opposed to just the read alias

  • [BC] Removed IndexManager::verifyIndexAndAliasesState()

  • [BC] Removed NoReadAliasException

  • [BC] Removed unnecessary DocumentMetadata::getObjects() as it was wrongly returning object classes for all cached documents instead of the specific one anyway

  • [BC] Removed support for multiple types in an index

  • [BC] Replaced types array node with class value node in index configuration

  • [BC] Replaced DocumentMetadataCollector::getDocumentsMetadataForIndex with DocumentMetadataCollector::getDocumentMetadataForIndex

  • [BC] Removed DocumentMetadataCollector::getDocumentClassesTypes

  • [BC] Replaced DocumentMetadataCollector::getDocumentClassesIndices with DocumentMetadataCollector::getIndexManagersForDocumentClasses

  • [BC] Removed DocumentMetadataCollector::fetchMetadataFromClass and DocumentMetadataCollector::getDocumentReflectionMetadata

  • [BC] Added ProviderInterface::getDocumentClass()

  • [BC] Removed ProviderRegistry::removeProvider and ProviderRegistry::getProviderId

  • [BC] Replaced TypesToDocumentClasses with IndicesToDocumentClasses