Skip to content

Commit

Permalink
updated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Aug 9, 2024
1 parent f28bcd5 commit 1ed0b48
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions docs/release-notes/release-highlights.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,45 @@ For a list of detailed changes, including bug fixes, please see the https://gith
==== Version 8.16
* `ElasticsearchClient` is now `Closeable`. Closing a client object also closes the underlying transport - https://github.com/elastic/elasticsearch-java/pull/851[#851]

[discrete]
==== Version 8.15

* New https://www.elastic.co/guide/en/elasticsearch/reference/current/connector-apis.html[Connector API] available
* Fixed bug in BulkIngester - https://github.com/elastic/elasticsearch-java/pull/830[#830]
* Various bug fixes, among which are https://github.com/elastic/elasticsearch-java/pull/844[#844], https://github.com/elastic/elasticsearch-java/pull/847[#847]
* Changed builders for queries that use generic types, for example:

** Old RangeQuery:
+
[source,java,indent=2]
----
RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (date, term, number)
.field("day")
.gte(JsonData.of("2024-06-20")) // must use custom json for fields because there's no defined type
.lte(JsonData.of("2024-07-05"))
.boost(1.0F)
.format("yyyy-MM-dd")
.relation(RangeRelation.Contains));
----
+
** New RangeQuery:
+
[source,java]
----
RangeQuery ra = RangeQuery.of(r -> r
.date(d -> d // choose query type before
.field("day")
.gte("20-06-24") // field now only accepts valid type for the specified query
.lte("20-07-24")
.boost(1.0F)
.format("yyyy-MM-dd")
.relation(RangeRelation.Contains)));
----

[discrete]
==== Version 8.14
* No new feature.

[discrete]
==== Version 8.13

Expand Down

0 comments on commit 1ed0b48

Please sign in to comment.