Skip to content

Commit 88b787b

Browse files
authored
Changelog for 7.11 (#1401)
1 parent f4f7c73 commit 88b787b

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

docs/changelog.asciidoc

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
11
[[changelog-client]]
22
== Changelog
33

4+
[discrete]
5+
=== 7.11.0
6+
7+
[discrete]
8+
==== Features
9+
10+
[discrete]
11+
===== Support for Elasticsearch `v7.11`.
12+
13+
You can find all the API changes https://www.elastic.co/guide/en/elasticsearch/reference/7.11/release-notes-7.11.0.html[here].
14+
15+
[discrete]
16+
===== Added new observability events https://github.com/elastic/elasticsearch-js/pull/1365[#1365]
17+
18+
Two new observability events has been introduced: `serialization` and `deserialization`.
19+
The event order is described in the following graph, in some edge cases, the order is not guaranteed.
20+
You can find in https://github.com/elastic/elasticsearch-js/blob/master/test/acceptance/events-order.test.js[`test/acceptance/events-order.test.js`]
21+
how the order changes based on the situation.
22+
23+
----
24+
serialization
25+
26+
│ (serialization and compression happens between those two events)
27+
28+
└─▶ request
29+
30+
│ (actual time spent over the wire)
31+
32+
└─▶ deserialization
33+
34+
│ (deserialization and decompression happens between those two events)
35+
36+
└─▶ response
37+
----
38+
39+
[discrete]
40+
===== Added x-elastic-client-meta header https://github.com/elastic/elasticsearch-js/pull/1373[#1373]
41+
42+
Adds the `x-elastic-client-meta` HTTP header which is used by Elastic Cloud
43+
and can be disabled with the `enableMetaHeader` parameter set to `false`.
44+
45+
[discrete]
46+
==== Fixes
47+
48+
[discrete]
49+
===== Fixes req.abort() with a body that is a stream calls callback(err) twice https://github.com/elastic/elasticsearch-js/pull/1376[#1376]
50+
51+
When using a body that is a stream to client.search(), and calling req.abort(), the callback is called twice.
52+
Once for the RequestAbortedError, as expected, and once for a "premature close" error from end-of-stream, used by pump, used by the client.
53+
This issue has now been fixed.
54+
455
[discrete]
556
=== 7.10.0
657

0 commit comments

Comments
 (0)