elasticsearch-ruby icon indicating copy to clipboard operation
elasticsearch-ruby copied to clipboard

v8.0.0 Roadmap

Open picandocodigo opened this issue 4 years ago • 0 comments

We've started working on the next major version of the client, so we want to share this issue with information on what's coming up. This issue outlines ideas, concepts and features that we hope to include in the v8.0.0 client release. Some items may change, be removed or new ones added as we investigate and work on them, but we'll update this issue as we do.

General

  • [ ] Write a Rubocop settings file for generated code (linting).

Transport

  • [x] Extract transport - Extract Elasticsearch specific code in elasticsearch-transport to elasticsearch gem. Rename to elastic-transport.
    • See #1344.
    • Pull Request: https://github.com/elastic/elasticsearch-ruby/pull/1528
  • [x] Re-architect transport's perform_request and sniffer functionality to avoid infinite loops - https://github.com/elastic/elasticsearch-ruby/issues/695
  • [x] ~Simplify ways that hosts are specified when a client is instantiated. - https://github.com/elastic/elasticsearch-ruby/issues/671~ (this would be a breaking change)

API

  • [x] Merge elasticsearch-xpack gem into elasticsearch-api gem. See #1274
  • [x] Remove parameter-checking in API endpoints for more forwards and backwards compatibility in the client.
    • Issue: https://github.com/elastic/elasticsearch-ruby/issues/581
    • Pull Request: https://github.com/elastic/elasticsearch-ruby/pull/1529
  • [ ] Rethink example support in method documentation. Manual docs were dropped with the generator, so we need to add documentation examples and build them into the generator so API can have examples in rubydoc.
  • [x] Change API response from body to Response object from transport with the .body, .status and .headers method like we have on the Enterprise Search Client.
    • https://github.com/elastic/elasticsearch-ruby/pull/1558

Testing

Quality of life improvements in testing: This is an ongoing task together with migrating tests from mini-test, but there are a few improvements that have been made and will continue to be made to the way we run tests to improve the developer experience. We plan to migrate to RSpec and also work on automatically generating unit tests for generated code.

picandocodigo avatar Aug 26 '21 10:08 picandocodigo