Elasticsearch Rails v6.1.0 Release Notes
Release Date: 2019-08-12 // over 4 years ago-
๐ 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