Elasticsearch Rails v7.0.0 Release Notes
Release Date: 2019-08-21 // over 4 years ago-
- ⚡️ 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)