Skip to content

Releases: elastic-rs/elastic-responses

0.10.0

30 Jul 06:59
Compare
Choose a tag to compare
  • Adds an IndexAlreadyExists variant to ApiError
  • Adds a __NonExhaustive variant to ApiError so variants can be added to the enum in the future without needing a breaking change.

0.9.0

30 Jul 06:58
Compare
Choose a tag to compare
  • Make all fields on response types private
  • Add iterators to response types. For BulkResponse and BulkErrorsResponse, call iter or into_iter. For SearchResponse call hits, into_hits, documents or into_documents.
  • Remove the SearchResponseOf and GetResponseOf types. Now SearchResponse and GetResponse require a generic type for the kind of document they contain. serde_json::Value is re-exported for convenience.

0.8.1

11 Jun 03:10
Compare
Choose a tag to compare
  • Add some more documentation to the IsOk trait

0.8.0

23 May 23:00
Compare
Choose a tag to compare
  • Removes HttpResponse
  • Adds parse method for converting http responses into a concrete response type

0.7.0

03 May 09:58
Compare
Choose a tag to compare
  • Upgrade to serde 1.0