Skip to content

Releases: ongr-io/ElasticsearchBundle

v5.0.4

08 Nov 11:07
Compare
Choose a tag to compare

Changes in this release

Hot fixes

v5.0.3

08 Nov 10:20
0d11a76
Compare
Choose a tag to compare

Changes in this release

  • Add support for Symfony 3.4

v5.0.2

17 May 15:25
Compare
Choose a tag to compare

Changes in this release

  • Added local instance caching for documents mapping parser #788

v5.0.1

30 Mar 06:36
Compare
Choose a tag to compare

Changes in this release

  • Added default result structure for findbyids. If there is no results ['hits']['hits'] throws exception. #771
  • Separate dir mapping fix #765
  • Fixed date and boolean conversion issues #770
  • Changed Repository::getScrollConfiguration() to public. If you create manual scroll search for multiple types this might be a very handy function. #768

v1.2.9

30 Mar 06:33
Compare
Choose a tag to compare

Changes in this release

  • Added default result structure for findbyids. If there is no results ['hits']['hits'] throws exception. #771
  • Fixed date and boolean conversion issues #770

v5.0.0

17 Mar 06:27
Compare
Choose a tag to compare

Changes in this release

  • Drop PHP 5.5 support. Now only PHP >=5.6 are supported.
  • Added support for Elasticsearch 5.0
  • Array iterator now returns document _id field as well.
  • Document annotation now has an options support.
    You can pass any settings along parameters you want. Simply just put them in the options.
  • Manager::getSettings() was added. Returns the currently configured settings for manager index.
  • Manager::getAliases() was added. Gets Elasticsearch aliases information.
  • Added text and keyword property types support.
  • Added murmur3, attachments, percolator property type support
  • Added hash_map annotation. #747
  • Added ONGR\ElasticsearchBundle\Exception namespace.
  • Added char_filter analysis support.
  • All features and fixes from 1.2.x
  • Added document_dir. From now on you can change documents directory for each mapped bundle.
  • No more needed to define analysis in manager, it will be collected automatically from documents.

Breaking changes

  • Removed all deprecations from 1.x version.
  • Removed _ttl metafield annotation.
  • Service name @annotations.cached_reader changed to @es.annotations.cached_reader #717
  • From Document annotation removed all properties except type. From now on everything has to be defined in the options.
  • string property type was deprecated in elasticsearch 5.0, please use text or keyword accordingly.
    More info: https://www.elastic.co/blog/strings-are-dead-long-live-strings
  • auth in the configuration was removed. Use authentication information directly in host or create event listener
    to modify client creation. There are too many ways to authenticate elasticsearch. That said we leaving this customisation to the user due difficult support.
  • connections node in configuration was removed. Use index from now on. There was absolute
    misunderstanding to have exposed connections, we never saw any benefits to use single connection
    between several managers.
  • Changed the namespace of the DocumentParserException to ONGR\ElasticsearchBundle\Mapping\Exception. #722
  • analysis node in index/connection was deprecated. From now on used analyzers, filters, etc. must be provided in document annotations
  • Results (constants container for result type definitions) class was removed in favor for
    new find functions with predefined types in the names.
  • Export service now uses own query calling instead of elasticsearch-php. It was changes due a bug
    in hits iterator in elasticsearch-php. We will try to help them to resolve this issue.
  • Manager::execute() was removed. Use Manager::search() instead.
  • Manager::scroll() third argument with result type definition was removed.
    Now you can get only raw result data from scroll.
  • AbstractElasticsearchTestCase::runTest() was removed. It was introduced when elasticsearch
    in our CI was very unstable. Now there is no sense to repeat failing tests again and again.
  • AbstractElasticsearchTestCase::getNumberOfRetries() was removed.
    If you write tests by extending AbstractElasticsearchTestCase delete your retries data provides.

v1.2.8

17 Mar 06:24
Compare
Choose a tag to compare
  • Fixed embedded fields metadata load #755

v1.2.7

10 Feb 08:01
Compare
Choose a tag to compare

Changes in this release

  • Make _id field optional for the document. #750
  • Added version as metadata field #715
  • Fixed annotations cache reader service name #737

v5.0.0-rc3

07 Feb 06:46
Compare
Choose a tag to compare
v5.0.0-rc3 Pre-release
Pre-release

Changes in this release

  • Minor bug fixes
  • Version field annotation added #715
  • Mapping cache management improvements #726 #737 #741 #740
  • Add support for search_analyzer #739
  • Added support for ElasticsearchDSL v5.0.0 #743
  • Removed all deprecations #745
  • Introduced HashMap annotation #747

v5.0.0-rc2

13 Dec 13:59
Compare
Choose a tag to compare
v5.0.0-rc2 Pre-release
Pre-release

Changes in this release

  • Introduced document_dir by keeping BC. #724
  • No more needed to define analysis in manager, it will be collected automatically from documents.
  • Many minor fixes