Skip to content

Latest commit

 

History

History
98 lines (58 loc) · 2.55 KB

CHANGELOG.md

File metadata and controls

98 lines (58 loc) · 2.55 KB

Changelog

0.10.0

  • Enabled gzip compression in default HTTP adapter using Accept-Heading header, which speeds up large response objects

0.9.0

  • Added Snap.Document for interacting with individual documents
  • Added count/3 to Snap.Search for performing counts with or without a query
  • Added support for index namespacing to isolate different Snap application, environments and even process from seeing each other's indexes - see Snap.Cluster.Namespace and Snap.Test for details

0.8.1

  • Upgrade finch, which allows use of castore 1.0
  • Set minimum Elixir version to 1.12

0.8.0

0.7.0

  • Changed inner_hits to be Snap.Hits struct to make it consistent with the hits at the top level
  • Added support for suggest (thanks @maennchen)
  • Relaxed telemetry dependency to allow the use of 0.4 as well as 1.0 (thanks @dershodan)

0.6.0

  • Added support for modular HTTP client adapters, allowing mock HTTP clients in a test environment (thanks @jotaviobiondo)
  • Added extra fields to Snap.Aggregation (thanks @megalithic)

0.5.2

  • Return Snap.HTTPError when ElasticSearch returns an error HTTP status without any accompanying JSON
  • Expose inner_hits field on Snap.Hit struct

0.5.1

  • Accept conn_opts config options to configure the underlying HTTP transport (thanks @danielxvu)

0.5.0

  • Update telemetry dependency to 1.0

0.4.5

  • Allow extra options on Snap.Bulk.perform/4 which are passed into the underlying request
  • Added matched_queries and highlight fields on the Snap.Hit struct.

0.4.1

  • Added the host and port to the Telemetry metadata.

0.4.0

  • Drop the underscore from the response struct keys, as it's just annoying to work with.

0.3.0

  • Added Snap.Search to wrap making searches and parsing the response into structs.

0.2.4

  • Fixed behaviour of max_errors when it's set to 0.

0.2.3

  • Added support for an optional max_errors parameter in Snap.Bulk.perform, which aborts the operation if the number of errors accumulated exceedes this count.

0.2.2

  • Pass extra opts, such as pipeline: "foo" in Snap.Bulk.perform to the Bulk API endpoint.

0.2.1

  • Added support in Snap.Auth.Plain for defining the username and password in the configured URL.

0.2.0

  • Introduce Snap.BulkError to wrap a list of errors produced from Snap.Bulk.

0.1.1

  • Documentation formatting fix.

0.1.0

  • First release.