Skip to content

Latest commit

 

History

History
184 lines (143 loc) · 6.21 KB

CHANGELOG.md

File metadata and controls

184 lines (143 loc) · 6.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.2.1] - 2024-12-03

Changed

  • Compatibility with Rails 7.2 and beyond

[1.1.0] - 2023-05-02

Changed

  • Updated the max elasticsearch dependency version to < 8.7

[1.0.1] - 2022-08-16

Changed

  • Revert the additional frozen_string_literal updates in 1.0.0 due to some issues with some classes. We'll update these in a separate release to isolate the problem.

[1.0.0] - 2022-08-09

Changed

  • Consistently use quotations
  • Update API to remove deprecation warnings for Elasticsearch 7.X.X in preparation for upgrade to 8.
  • Freeze string literals
  • Remove _type from query/create/update/delete methods
  • Remove use_new_timestamp_format config
  • Remove include_type_name_on_create config

[0.14.1] - 2022-08-09

Changed

  • Don't publish pre-release builds to RubyGems

[0.14.0] - 2022-08-04

Changed

  • Use refresh instead of flush where search is expected to be updated
  • Drop support for Ruby 2.5 and 2.6
  • Add support for Ruby 2.7 and 3.0, build against Ruby 3.1
  • Set search_type to query_then_fetch as we no longer support Elasticsearch version < 7.0
  • Set include_type_name when fetching the mapping. Will be removed in the next version to support ES version 8.
  • Index names automatically use the new timestamp format when creating an index.

[0.13.5] - 2020-05-21

Changed

  • expose 'matched_queries' property

[0.13.4] - 2020-05-20

Changed

  • Compatibility with Rails 6

[0.13.3] - 2020-01-30

Changed

  • Release on RubyGems using gem-publisher CircleCI Orb

[0.13.2] - 2020-01-29

Changed

  • Release on Nexus using gem-publisher CircleCI Orb
  • Packing gems
  • bump the version for testing the Nexus repo

[0.13.1]

Changed

  • remove superfluous 'to_ary' delegation that was causing issues downstream

[0.13.0]

Changed

  • changes needed for use with Elasticsearch v7
  • handle the v7 "total" as an object rather than a scalar
  • use timestamp with no colons
  • update elasticsearch gem version for consistency with target ES version
  • expose refresh_index to force write (because in v7, flush no longer forces writes)
  • allow for optional 'include_type_name_on_create' arg so that the :include_type_name can be passed

[0.12.1]

Changed

  • use Arel.sql to avoid unsafe sql and eliminate deprecation warnings when used in Rails projects

[0.12.0]

Changed

  • warn when configuring a index with subclasses if using ES version that does support them
  • raise exception when creating or adding document to an index configured with subclasses if using an ES version that does not support them

[0.11.5]

Changed

  • Give the option of retrying the deletion for certain exceptions during remap

[0.11.4]

Changed

  • Fully clean up if error occurs during remap (assign all aliases back to original index)

[0.11.3]

Added

  • Adds support for preserving the order or normalized names of highlight through highlighted_attrs

[0.11.2]

Added

  • Adds support for passing arguments to Search definition through search(query, search_args) in index searching and msearch
  • adds _explanation to hold value of returned explanations in the base document

[0.11.1]

Changed

  • support action.destructive_requires_name setting by being explict about which indices to delete

[0.11.0]

Changed

  • compatibilty with ES v6
  • change mappings for 'index' to boolean. "string" type was replaced with "text"
  • use "successful" from API response ('created' was removed)
  • stringify keys for :mappings so clients can use symbol keys

[0.10.0]

Changed

  • update remap to removing fields from the mapping that are not explicitly defined.

[0.9.1]

Changed

  • fix search enumerator, missing first result set

[0.8.3]

Changed

  • fix remap method to use the scan api properly.

[0.8.2]

Changed

  • fix scan api to work with more recent versions of elasticsearch ruby.

[0.8.1]

Changed

  • loosen support for elasticsearch-ruby versions to support more versions of elasticsearch

[0.8.0]

Changed

  • Make Elasticity::Strategies::AliasIndex the default
  • Use mapping instead of mappings, we wanna be consistent to ES not to elasticsearch-ruby
  • Better automatic index name and document type

[v0.7.1]

Added

  • add more response info to raised exceptions from reindexing

[v0.6.5]

Changed

[v0.6.4]

Changed

  • update suggestions to pull from the proper key

[v0.6.3]

Added

  • add next_page and previous_page to be compatible with will_paginate interface

[0.6.2]

Changed

  • update multi search [] method to raise an exception with key name to make it easier to debug failed queries within a multi search hash.

[0.6.0]

Changed

  • Change documents to be able to define indexes with multiple doc types. A Document class can define subclasses which are of different doc_types and all live in the same index's mappings.
  • updated search queries to pass either a list of document types or a single document type.
  • Update documents to generate a default document_type from the class name so that Documents always have a document type. You'll still usually want to manually define the document type, but it's no longer necessary.

[0.5.2]

Added

  • Add aggregations to multi_search

[0.5.1]

Added

  • Add ability to reindex individual attributes of a document using the bulk_update API.

[v0.5.0]

Changed

  • Refactor of multisearch and search facade
  • Searches no longer return a simple array, they now return the Search::Results object which proxies array and is enumerable.

Added

  • add Search::Results proxy object so pagination and meta data methods can be standardize across all responses

[v0.4.5]

Changed

  • Fix issue with hash strings and pagination

[v0.4.4]

Added

  • Added support for surfacing document _score on query results.