Skip to content

Releases: sineflow/ElasticsearchBundle

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

v6.0.3

26 Apr 17:05
Compare
Choose a tag to compare

Bug fix

v6.0.2

24 Apr 16:12
Compare
Choose a tag to compare

When converting ES document array to an object, handle the case where there may be a single object value for a 'multiple' object field instead of an array and vice versa

v6.0.1

09 Apr 12:27
2b76165
Compare
Choose a tag to compare
  • Expose IndexManager::getIndexMapping() to be public

Internal changes:

  • When generating mapping for index creation, do not explicitly specify "object" type
  • Retrieve index mapping when necessary, instead of in IndexManager constructor

v6.0.0

30 Aug 14:14
Compare
Choose a tag to compare
v6.0.0 Pre-release
Pre-release
  • Updated elasticseach/elasticsearch to v6 and fixed tests to work with ES6
  • Removed support for parent-child relations, as they are handled differently in ES6

v5.0.3

20 Apr 17:01
Compare
Choose a tag to compare

Finder::count(): Sanitize 'sort' out of the search body, as while it was ok in ES2, it throws an exception in ES5, which could break existing code

v5.0.1

13 Apr 09:31
Compare
Choose a tag to compare
v5.0.1 Pre-release
Pre-release

Reverted back default logging level to notice

v5.0.0

11 Apr 16:16
Compare
Choose a tag to compare
v5.0.0 Pre-release
Pre-release

Elasticsearch 5 Compatibility