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

    • โœ… 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)