All Versions
15
Latest Version
Avg Release Cycle
146 days
Latest Release
120 days ago

Changelog History
Page 1

  • v7.1.0

    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

    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

    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

    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.0

    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

    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

    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
  • v6.0.0.alpha1

    • ⚡️ Updated the Rake dependency to 11.1
    • ⬇️ Reduced verbosity of rake test:unit and rake test:integration
    • ✂ Removed the "CI Reporter" integration from test Rake tasks
    • ➕ Added the "Compatibility" chapter to the READMEs
    • ⚡️ Updated the Bundler instructions and Github URLs in the READMEs

    ActiveModel

    • 🛠 Fixed a problem where Hashie::Mash#min and #max returned unexpected values
    • ➕ Added information about elasticsearch-dsl to the README
    • ➕ Added support for inherited index names and doc types
    • ➕ Added a Elasticsearch::Model.settings method
    • 🔄 Changed the naming inheritance logic to use Elasticsearch::Model.settings
    • ➕ Added information about the settings method and the inheritance_enabled setting into the README
    • ✅ Disable "verbose" and "warnings" in integration tests
    • ➕ Added code for establishing ActiveRecord connections to test classes
    • ✅ Reorganized the class definitions in the integration tests
    • 🚚 Moved require within unit test to the top of the file
    • ➕ Added ActiveRecord 5 support to integration test configuration
    • 🛠 Fixed records sorting with ActiveRecord 5.x
    • ➕ Added, that add_index for ActiveRecord models is only called when it doesn't exist already
    • Use records.__send__ :load instead of records.load in the ActiveRecord adapter
    • Call Kaminari::Hooks.init only when available
    • Fixed the deprecation messages for raise_in_transactional_callbacks
    • 🛠 Fixed the deprecation messages for timestamps in migrations in integration tests
    • 🛠 Fixed the naming for the indexing integration tests
    • 🛠 Fixed the failing integration tests for ActiveRecord associations
    • 🛠 Fixed integration tests for ActiveRecord pagination
    • ➕ Added the rake bundle:install Rake task to install dependencies for all gemfiles
    • ✅ Run unit tests against all Gemfiles
    • ⚡️ Updated dependencies in gemspec
    • 😌 Relaxed the dependency on the "elasticsearch" gem
    • 🛠 Fixed the completion example for ActiveRecord for Elasticsearch 5
    • ➕ Added an example with Edge NGram mapping for auto-completion
    • Expanded the example for indexing and searching ActiveRecord associations
    • ➕ Added an example for source filtering to the ActiveRecord associations example
    • 🛠 Fixed a typo in the README
    • 🔄 Changed the default mapping type to text
    • ➕ Added a HashWrapper class to wrap Hash structures instead of raw Hashie::Mash
    • ⚠ Call Hashie.disable_warnings method in Response wrappers
    • ➕ Added, that HashWrapper, a sub-class of Hashie::Mash is used
    • ⚡️ Updated the configuration for required routing in the integration test
    • 🛠 Fixed incorrect name for the parent/child integration test
    • 🛠 Fixed incorrect mapping configuration in the integration tests
    • 👍 Allow passing the index settings and mappings as arguments to create_index!
    • ➕ Added instructions about creating the index into the README
    • ⚡️ Updated the "completion suggester" example

    Persistence

    • ⚡️ Updated dependencies in gemspec
    • ⚡️ Updated dependencies in gemspec
    • 😌 Relaxed the dependency on the "elasticsearch" gem
    • 👉 Use text instead of string for the data types
    • 🔄 Changed the default mapping type to text
    • Removed the search_type=scan in the find_in_batches method
    • ⚡️ Updated the count method in the "repository" module
    • ⚡️ Updated the "update by script" integration test for Elasticsearch 5
    • ➕ Added, that HashWrapper, a sub-class of Hashie::Mash is used
    • ⚡️ Updated the "Notes" example application for Elasticsearch 5.x
    • ⚡️ Updated the "Music" example application for Elasticsearch 5.x
    • ⚡️ Updated the URLs in the "Music" application template
    • ⚡️ Updated the Git URLs in the "Notes" example application

    💎 Ruby on Rails

    • ⚡️ Updated the application templates to support Rails 5 & Elasticsearch 5
    • ⚡️ Updated the 03-expert application template to work with Rails 5
    • ⚡️ Updated the application templates to work with README.md instead of README.rdoc
    • ⚡️ Updated the installation process in the "01-basic" application template
    • 🛠 Fixed typo in README
    • 🛠 Fix typo in rake import task
  • v5.1.0

    July 04, 2018
  • v5.0.2

    December 04, 2017