elasticsearch-ruby v7.2.0 Release Notes

Release Date: 2019-06-26 // almost 5 years ago
  • ๐Ÿ‘ This client version supports Elasticsearch server version 7.2.0

    ๐Ÿ‘ Notable changes include the addition of the User-Agent header and support for compression with the compression: true option on a client.

    Client

    • ๐Ÿ‘Œ Support User-Agent header client team specification
    • ๐Ÿ‘Œ Improve code handling headers
    • ๐Ÿ’Ž Handle headers when using JRuby and Manticore
    • ๐Ÿ“‡ Rename method for clarity
    • โœ… Test selecting connections using multiple threads
    • ๐Ÿ”€ Synchronize access to the connections collection and mutation of @current instance variable
    • ๐Ÿ›  Fix specs for selecting a connection
    • โœ… Further fixes to specs for testing selecting connections in parallel
    • ๐Ÿ‘Œ Support providing a cloud id
    • ๐Ÿ‘ Allow a port to be set with a Cloud id and use default if no port is provided
    • โœ‚ Remove unnecessary check for cloud_id when setting default port
    • โž• Add documentation for creating client with cloud_id
    • ๐Ÿ‘ Allow compression with Faraday and supported http adapters
    • Put development gem dependencies in gemspec
    • No reason to use ! for decompress method name
    • Check for the existence of headers before checking headers
    • Apply compression headers manually based on general :compression option
    • ๐Ÿ‘‰ Use GZIP constant
    • โœ… Group tests into their transport adapters
    • ๐Ÿ‘Œ Support compression when using Curb adapter
    • ๐Ÿ‘Œ Support compression when using Manticore adapter with JRuby
    • ๐Ÿ›  Fix Curb unit test, expecting headers to be merged and not set
    • โšก๏ธ Update test descriptions for compression settings
    • โž• Add documentation of 'compression' option on client
    • ๐Ÿ‘Œ Improve client documentation for compression option
    • Centralize header handling into one method
    • Only add Accept-Encoding header if compression option is true

    API

    • โœ… Use rewritten test harness from XPACK for rest API tests
    • โšก๏ธ Include skipped tests and further updates
    • โœ‚ Delete all repositories and snapshots in a method
    • โšก๏ธ Further updates to the rest API test runner
    • โž• Add erroneously removed constants and gems
    • โšก๏ธ Updates to rest api yaml rspec tasks
    • The get_source endpoint should raise an error if the resource is not found
    • โœ… Rename method to clear data in tests and consolidate tasks into one method
    • โšก๏ธ Update api for 7.2