Skip to content

Releases: sineflow/ElasticsearchBundle

v6.4.1

14 Oct 12:55
Compare
Choose a tag to compare

Fix: ObjectIterator::current() to return null on empty or null iterators, instead of giving an error

v6.4.0

30 Apr 11:36
Compare
Choose a tag to compare

Increased minimum php version to 7.2
Increased KNP Paginator requirement to ^4.0 || ^5.0
Fixed profiler for Symfony 4

v6.3.2

23 Oct 09:41
Compare
Choose a tag to compare

Reverted "knplabs/knp-paginator-bundle" dependency back to "^2.7" until we drop support for PHP 7.1

v6.3.1

14 Oct 09:01
Compare
Choose a tag to compare

Remove read-only _score meta field from data array when persisting entity

v6.3.0

29 Jul 15:50
Compare
Choose a tag to compare
  • Added support for Symfony 4
  • Removed dependency on symfony/symfony
  • [BC] Removed unnecessary sfes.annotations.reader
  • [BC] Renamed IndexManager::copyDataFromOldToNewIndex() to IndexManager::copyDataToNewIndex()

v6.2.2

16 Jul 10:51
Compare
Choose a tag to compare

[BC] Removed first argument of IndexManager::reindex(), IndexManager::delete(), IndexManager::update(), IndexManager::persistRaw()

v6.2.1

12 Jul 16:01
Compare
Choose a tag to compare

Restored ProviderRegistry::removeProvider() and ProviderRegistry::getProviderId()

v6.2.0

11 Jul 15:52
Compare
Choose a tag to compare
  • 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

v6.1.1

17 Jun 15:50
Compare
Choose a tag to compare
  • Fix: EntityTrackerSubscriber to track entities separately for each connection
  • Fix: Index managers for the same connection to reuse the same ConnectionManager instance

v6.1.0

23 May 15:11
Compare
Choose a tag to compare
  • Added multilanguageDefaultOptions option to specify the mapping of the 'default' field in multilanguage properties
  • Fixed problem with indexing a multilanguage field larger than 32k