All Versions
18
Latest Version
Avg Release Cycle
169 days
Latest Release
-

Changelog History
Page 1

  • v7.2.0 Changes

    • โšก๏ธ Updates specs and dependency to use with elasticsearch v7.14.0.
    • โšก๏ธ Update README, remove Virtus (unmaintained)
    • Updates Bundler.with_clean_dev (deprecated) to with_unbundled_env commit
    • ๐Ÿš… Deal with nil document types in Multimodel commit
    • โšก๏ธ Update dependency to explicitly support version 7 commit
    • ๐Ÿš… Stop emitting FATAL log when checking existence of indices commit
    • โœ‚ Remove unnecessary exception test on index checking commit
    • โœ‚ Removes dependency on extensions commit
    • ๐Ÿ›  Fixes basic template elasticsearch dependency commit

    ActiveModel

    • ๐Ÿ›  Fixes indexing to use right logger in client
    • โšก๏ธ Updates ES client spec for client 7.14.0
    • โšก๏ธ Updates transport references
  • v7.1.1 Changes

    August 19, 2020
    • Fix: Ruby 2.7 deprecation warning on find_in_batches
    • โšก๏ธ Updates README for generating app with template. Related: #938

    ActiveModel

    • ๐Ÿš… Do not override existing methods (#936)
  • v7.1.0 Changes

    April 15, 2020
    • ๐Ÿš€ Tested with elasticsearch Ruby client version 7.6.0.
    • โž• Adds pipeline to bulk params (commit).
    • โšก๏ธ Updates rake version.
  • v7.1.0.pre Changes

    April 08, 2020

    ๐Ÿš€ This is a pre-release, tested with elasticsearch Ruby client version 7.6.0.

    ๐Ÿš€ Full Changelog details will be published with the final release.

  • v7.0.0 Changes

    August 21, 2019
    • โšก๏ธ Update test tasks and travis (#840)
    • respond_to_missing? to silence Ruby 2.4 warnings (#838)
    • โšก๏ธ Update README.md to link to migration blog post (#857)
    • โž• Add license headers, LICENSE and NOTICE files (#861)
    • โšก๏ธ Only execute update if document attributes is not empty (#862)
    • โœ‚ Remove bundler version requirement in gemspec files
    • ๐Ÿ‘ 7.0 support (#875)

    ActiveModel

    • ๐Ÿ›  Fix import when preprocess returns empty collection (#720)
    • โž• Add test for not importing when ActiveRecord query is empty
    • with 0
    • โœ… Port basic response tests to rspec (#833)
    • โž• Add newlines at the end of files that are missing it
    • โœ… Port adapter tests to rspec (#834)
    • Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
    • โœ… Port remainder of Elasticsearch::Model unit tests to rspec (#836)
    • โœ… Port all integration tests to rspec (#837)
    • Avoid executing search twice; Reuse response in Response#raw_response (#850)
    • Update example to account for deprecation of _suggest endpoint in favor of _search
    • ๐Ÿ– Handle total hits as an object in search response
    • ๐ŸŒฒ Use logger to log index not found message (#868)
    • โœ… Test against Rails 6.0.rc1

    Persistence

    • Ensure that arguments are passed to super (#853)
    • Index name option is handled by super, no need to pass options expicitly
    • ๐Ÿ– Handle total hits as an object in search response

    ๐Ÿ’Ž Ruby on Rails

    • โœ… Convert tests to rspec (#842)
    • ๐Ÿ›  Fix seeds file to stop using outdated YAML method (#843)
    • ๐Ÿ›  Fixed 03-expert.rb set tracer only in dev env (#621)
  • v7.0.0.pre Changes

    April 30, 2019

    ๐Ÿ‘ This pre version supports Elasticsearch server version 7.0.0. It is not recommended for production use.
    โœ… Please try it in your testing environments and open any issues in the GitHub repository.

    7.0.0.pre

    • โšก๏ธ Update test tasks and travis (#840)
    • respond_to_missing? to silence Ruby 2.4 warnings (#838)
    • โšก๏ธ Update README.md to link to migration blog post (#857)
    • โž• Add license headers, LICENSE and NOTICE files (#861)
    • โšก๏ธ Only execute update if document attributes is not empty (#862)
    • โœ‚ Remove bundler version requirement in gemspec files
    • ๐Ÿš… 7.0 support (#875)
    • โšก๏ธ Update version to 7.0.0.pre

    ActiveModel

    • ๐Ÿ›  Fix import when preprocess returns empty collection (#720)
    • โž• Add test for not importing when ActiveRecord query is empty
    • with 0
    • โœ… Port basic response tests to rspec (#833)
    • โž• Add newlines at the end of files that are missing it
    • โœ… Port adapter tests to rspec (#834)
    • ๐Ÿš… Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
    • โœ… Port remainder of Elasticsearch::Model unit tests to rspec (#836)
    • โœ… Port all integration tests to rspec (#837)
    • ๐Ÿš… Avoid executing search twice; Reuse response in Response#raw_response (#850)
    • Update example to account for deprecation of _suggest endpoint in favor of _search
    • ๐Ÿ– Handle total hits as an object in search response
    • ๐Ÿš… Use logger to log index not found message (#868)
    • โœ… Test against Rails 6.0.rc1

    Persistence

    • ๐Ÿš… Ensure that arguments are passed to super (#853)
    • Index name option is handled by super, no need to pass options expicitly
    • ๐Ÿ– Handle total hits as an object in search response

    ๐Ÿ’Ž Ruby on Rails

    • โœ… Convert tests to rspec (#842)
    • ๐Ÿ›  Fix seeds file to stop using outdated YAML method (#843)
    • ๐Ÿ›  Fixed 03-expert.rb set tracer only in dev env (#621)
  • v6.1.1 Changes

    August 19, 2020
    • Fix: Ruby 2.7 deprecation warning on find_in_batches - backport fix from the 7.x release. Fixes #951
  • v6.1.0 Changes

    August 12, 2019

    ๐Ÿš€ This minor release primarily added a deprecation warning if Single Table Inheritance is used.
    It also contains the following changes:

    • โšก๏ธ Update test tasks and travis (#840)
    • respond_to_missing? to silence Ruby 2.4 warnings (#838)
    • โšก๏ธ Only execute update if document attributes is not empty (#862)
    • โšก๏ธ Update bundler dependencies in gemspec files (#899)
    • Ensure that 6.x is in the Compatibility table

    ActiveModel

    • ๐Ÿ›  Fix import when preprocess returns empty collection (#720)
    • โž• Add test for not importing when ActiveRecord query is empty
    • Validate that #first called on response records equals #[] with 0
    • โœ… Port basic response tests to rspec (#833)
    • โž• Add newlines at the end of files that are missing it
    • โœ… Port adapter tests to rspec (#834)
    • ๐Ÿš… Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
    • โœ… Port remainder of Elasticsearch::Model unit tests to rspec (#836)
    • โœ… Port all integration tests to rspec (#837)
    • ๐Ÿš… Avoid executing search twice; Reuse response in Response#raw_response (#850)
    • Update example to account for deprecation of _suggest endpoint in favor of _search
    • ๐Ÿš… Use logger to log index not found message (#868)
    • โž• Add warning and documentation about STI support being deprecated (#898)
    • ๐Ÿ—„ Tweak STI deprecation description

    Persistence

    • ๐Ÿš… Ensure that arguments are passed to super (#853)
    • Index name option is handled by super, no need to pass options expicitly

    ๐Ÿ’Ž Ruby on Rails

    • โœ… Convert tests to rspec (#842)
    • ๐Ÿ›  Fix seeds file to stop using outdated YAML method (#843)
    • ๐Ÿ›  Fixed 03-expert.rb set tracer only in dev env (#621)
  • v6.0.0 Changes

    September 14, 2018

    โ™ป๏ธ This version has many smaller changes and two major changes: the deprecation of the ActiveRecord Persistence pattern and a refactor of the Repository pattern.
    ๐Ÿš€ This version includes all the changes in 6.0.0.pre in addition to those listed below.

    ๐Ÿ’ฅ Breaking Changes

    • You must include the Elasticsearch::Persistence::Repository::DSL mixin if you'd like to define settings at the class-level for a Repository.
    • Settings on a Repository class and instances are immutable. For example, you cannot set a repository client with repository.client = ..... This is true for the following settings:
      • document_type
      • index_name
      • klass
      • client
    • The following methods can no longer be called on a Repository class. They must be called on instances.
      • create_index!
      • delete_index!
      • refresh_index!
      • index_exists?
    • ๐Ÿšš Clients must be defined explicitly for repositories. The client setting on Elasticsearch::Persistence is removed. This setting was previously mutable and led to unexpected behavior for repositories.

    Here is a full list of changes:

    • โšก๏ธ Update to test against Elasticsearch 6.4
    • ๐Ÿ›  Fix sort order on ActiveRecord >= 5. re issue #546 (#831)

    ActiveModel

    • โš  Inherit from HashWrapper for disabling warnings
    • ๐Ÿ›  Fix import method to pass index name on refresh (#692)
    • 0๏ธโƒฃ Use default scope on ActiveRecord model when importing (#827)
    • ๐Ÿ‘Œ Support scope, query and preprocess importing options in Mongoid Adapter in 6.x (#829)
    • โž• Address performance of HashWrapper in Response objects (#825)

    Persistence

    • โž• Address performance of HashWrapper in Response objects (#825)
    • โ™ป๏ธ Minor refactor in Repository::Search
    • โœ‚ Remove example music app that demonstrates the AR pattern
    • โšก๏ธ Update Sinatra app
    • โšก๏ธ Update README
    • ๐Ÿ”„ Change document type references to _doc
  • v6.0.0.pre Changes

    September 14, 2018

    ๐Ÿš€ This is a pre-release of version 6.0.0. Please try out the gem in your testing environment and report any issues in the GitHub project.

    • โž• Added the "Compatibility" chapter to the READMEs
    • โšก๏ธ Updated the Bundler instructions and Github URLs in the READMEs
    • โšก๏ธ Updated the version on the master branch to 6.0.0.alpha1
    • โšก๏ธ Update versions to 6.0.0.beta
    • minor: Fix spacing
    • โšก๏ธ Update various gemspecs to conditionally depend on gems incompatible with JRuby (#810)
    • โšก๏ธ Update versions
    • ๐Ÿ‘‰ Use local as source for gem dependencies when possible
    • ๐Ÿ’Ž Only require 'oj' gem if not using JRuby
    • โšก๏ธ Update versions to .pre

    ActiveModel

    • โž• Added an example with a custom "pattern" analyzer
    • โž• Added a "trigram" custom analyzer to the example
    • ๐Ÿ›  Fix README typo (s/situation/situations)
    • ๐Ÿ›  Fix reference to @ids in example and README
    • โž• Add Callbacks to the example datamapper adapter
    • ๐Ÿ›  Fix Asynchronous Callbacks example
    • ๐Ÿ›  Fixed a typo in the README
    • ๐Ÿ‘Œ Improved the custom analyzer example
    • โœ‚ Removed left-overs from previous implementation in the "completion suggester" example
    • Updated the changes method name in Indexing to changes_to_save for compatibility with Rails 5.1
    • ๐Ÿ›  Fixed the handling of changed attributes in Indexing to work with older Rails versions
    • โšก๏ธ Update child-parent integration test to use single index type for ES 6.3 (#805)
    • 0๏ธโƒฃ Use default doc type: _doc (#814)
    • โšก๏ธ Avoid making an update when no attributes are changed (#762)

    Persistence

    • โšก๏ธ Updated the failing integration tests for Elasticsearch 5.x
    • โšก๏ธ Updated the dependency for "elasticsearch" and "elasticsearch-model" to 5.x
    • ๐Ÿ“š Documentation for Model should include Model and not Repository
    • Depend on version >= 6 of elasticsearch gems
    • Undo last commit; depend on version 5 of elasticsearch gems
    • โฌ‡๏ธ Reduce repeated string instantiation (#813)
    • ๐Ÿ—„ Make default doc type '_doc' in preparation for deprecation of mapping types (#816)
    • โœ‚ Remove Elasticsearch::Persistence::Model (ActiveRecord persistence pattern) (#812)
    • ๐Ÿ—„ Deprecate _all field in ES 6.x (#820)
    • โœ‚ Remove development dependency on virtus, include explicitly in Gemfile for integration test
    • โ™ป๏ธ Refactor Repository as mixin (#824)
    • โž• Add missing Repository::Response::Results spec
    • โ™ป๏ธ Update README for Repository mixin refactor
    • Minor typo in README
    • โž• Add #inspect method for Repository
    • โšก๏ธ Update references to Elasticsearch::Client

    ๐Ÿ’Ž Ruby on Rails

    • ๐Ÿ›  Fixed typo in README
    • ๐Ÿ›  Fix typo in rake import task
    • โšก๏ธ Updated the templates for example Rails applications
    • โž• Add 'oj' back as a development dependency in gemspec