Skip to content

Commit 93515dc

Browse files
szabostevesethmlarson
authored andcommitted
[7.13] Add Release Notes section to the Python book
1 parent fc9844a commit 93515dc

File tree

2 files changed

+264
-1
lines changed

2 files changed

+264
-1
lines changed

docs/guide/index.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ include::integrations.asciidoc[]
1616

1717
include::examples.asciidoc[]
1818

19-
include::helpers.asciidoc[]
19+
include::helpers.asciidoc[]
20+
21+
include::release-notes.asciidoc[]

docs/guide/release-notes.asciidoc

Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
[[release-notes]]
2+
== Release notes
3+
4+
* <<rn-7-12-0>>
5+
* <<rn-7-11-0>>
6+
* <<rn-7-10-1>>
7+
* <<rn-7-10-0>>
8+
* <<rn-7-9-1>>
9+
* <<rn-7-9-0>>
10+
* <<rn-7-8-1>>
11+
* <<rn-7-8-0>>
12+
* <<rn-7-7-1>>
13+
* <<rn-7-7-0>>
14+
* <<rn-7-6-0>>
15+
* <<rn-7-5-1>>
16+
* <<rn-7-1-0>>
17+
* <<rn-7-0-5>>
18+
* <<rn-7-0-4>>
19+
* <<rn-7-0-3>>
20+
* <<rn-7-0-2>>
21+
* <<rn-7-0-1>>
22+
* <<rn-7-0-0>>
23+
24+
25+
[discrete]
26+
[[rn-7-12-0]]
27+
=== 7.12.0 (2021-03-23)
28+
29+
* Added support for 7.12 APIs
30+
31+
32+
[discrete]
33+
[[rn-7-11-0]]
34+
=== 7.11.0 (2021-02-10)
35+
36+
* Added support for 7.11 APIs.
37+
* Added the `X-Elastic-Client-Meta` HTTP header and the `meta_header` parameter
38+
for controlling the header
39+
(https://github.com/elastic/elasticsearch-py/pull/1473[#1473]).
40+
* Added `ElasticsearchWarning` which is raised when the `Warning` HTTP header
41+
is returned from {es}. `ElasticsearchDeprecationWarning` is now an alias for
42+
this warning type
43+
(https://github.com/elastic/elasticsearch-py/pull/1495[#1495]).
44+
45+
46+
[discrete]
47+
[[rn-7-10-1]]
48+
=== 7.10.1 (2020-12-09)
49+
50+
* Fixed issue where the Scan helper would fail if a `scroll` response returned
51+
without a value for `_shards.skipped`
52+
(https://github.com/elastic/elasticsearch-py/pull/1451[#1451]).
53+
* Fixed handling of IPv6 hosts with a port in the computed `Connection.host`
54+
property (https://github.com/elastic/elasticsearch-py/pull/1460[#1460]).
55+
* Fixed documented task management API stability, should have been as
56+
"experimental" (https://github.com/elastic/elasticsearch-py/pull/1471[#1471]).
57+
* Changed deprecated `collections.Mapping` in favor of
58+
`collections.abc.Mapping` for Python 3.9
59+
(https://github.com/elastic/elasticsearch-py/pull/1443[#1443]).
60+
61+
62+
[discrete]
63+
[[rn-7-10-0]]
64+
=== 7.10.0 (2020-11-11)
65+
66+
67+
* Added support for {es} 7.10 APIs.
68+
* Added basic type stubs for static type checking and IDE auto-complete of API
69+
parameters (https://github.com/elastic/elasticsearch-py/pull/1297[#1297],
70+
https://github.com/elastic/elasticsearch-py/pull/1406[#1406]).
71+
* Added support for
72+
https://www.elastic.co/guide/en/elasticsearch/reference/current/optimistic-concurrency-control.html[`Optimistic Concurrency Control options`]
73+
(`_if_seq_no`/`_if_primary_term`) to bulk helpers
74+
(https://github.com/elastic/elasticsearch-py/pull/1387[#1387]).
75+
* Added support for passing `_source` with `"_op_type": "update"`
76+
bulk helpers (https://github.com/elastic/elasticsearch-py/pull/1387[#1387]).
77+
* Fixed bug where `Connection.log_request_failure()` call would receive the
78+
compressed HTTP body rather than uncompressed when an error is raised for
79+
`RequestsHttpConnection`
80+
(https://github.com/elastic/elasticsearch-py/pull/1394[#1394]).
81+
* Fix a typo in AsyncTransport where `sniff_timeout` was used instead of
82+
`sniffer_timeout`
83+
(https://github.com/elastic/elasticsearch-py/pull/1431[#1431]).
84+
* Removed explicit `yarl` dependency from `[async]` extra to avoid issue where
85+
pip would override `aiohttp`'s pin of `yarl`. This is not a problem if you
86+
install with `--use-feature=2020-resolver`. Users should see no changes
87+
(https://github.com/elastic/elasticsearch-py/pull/1401[#1401]).
88+
89+
90+
91+
[discrete]
92+
[[rn-7-9-1]]
93+
=== 7.9.1 (2020-08-19)
94+
95+
96+
* Fixed the import of async helpers which were not available in 7.9.0
97+
(https://github.com/elastic/elasticsearch-py/pull/1353[#1353]).
98+
* Added support for `url_prefix` when using `AIOHttpConnection`
99+
(https://github.com/elastic/elasticsearch-py/pull/1357[#1357]).
100+
101+
102+
[discrete]
103+
[[rn-7-9-0]]
104+
=== 7.9.0 (2020-08-18)
105+
106+
* Added support for ES 7.9 APIs.
107+
* Fixed retries to not raise an error when `sniff_on_connection_error=True`
108+
and a `TransportError` is raised during the sniff step. Instead the
109+
retry will continue or the error that triggered the retry will be raised
110+
(https://github.com/elastic/elasticsearch-py/pull/1279[#1279],
111+
https://github.com/elastic/elasticsearch-py/pull/1326[#1326]).
112+
113+
114+
[discrete]
115+
[[rn-7-8-1]]
116+
=== 7.8.1 (2020-07-30)
117+
118+
* Added the `accept_enterprise` parameter to `xpack.info` API
119+
(https://github.com/elastic/elasticsearch-py/pull/1337[#1337]).
120+
121+
122+
[discrete]
123+
[[rn-7-8-0]]
124+
=== 7.8.0 (2020-06-18)
125+
126+
* Added support for ES 7.8 APIs.
127+
* Added support for async/await with asyncio via `AsyncElasticsearch`. See
128+
https://elasticsearch-py.readthedocs.io/en/master/async.html[documentation] on
129+
`using Asyncio with {es}
130+
(https://github.com/elastic/elasticsearch-py/pull/1232[#1232],
131+
https://github.com/elastic/elasticsearch-py/pull/1235[#1235],
132+
https://github.com/elastic/elasticsearch-py/pull/1236[#1236]).
133+
* Added async helpers `async_bulk`, `async_streaming_bulk`, `async_scan`, and
134+
`async_reindex`
135+
(https://github.com/elastic/elasticsearch-py/pull/1260[#1260]).
136+
* Updated `exists_source` API to use non-deprecated {es} API routes when
137+
`doc_type` is not specified to suppress deprecation warnings
138+
(https://github.com/elastic/elasticsearch-py/pull/1272[#1272]).
139+
140+
141+
[discrete]
142+
[[rn-7-7-1]]
143+
=== 7.7.1 (2020-05-26)
144+
145+
* Updated `create`, `update`, `explain`, `get_source`, and `termvectors` APIs to
146+
use non-deprecated {es} API routes when `doc_type` is not specified to
147+
suppress deprecation warnings
148+
(https://github.com/elastic/elasticsearch-py/pull/1253[#1253]).
149+
150+
151+
[discrete]
152+
[[rn-7-7-0]]
153+
=== 7.7.0 (2020-05-13)
154+
155+
* Added support for ES 7.7 APIs
156+
(https://github.com/elastic/elasticsearch-py/pull/1182[#1182]).
157+
* Added `ElasticsearchDeprecationWarning` which is raised when a `Warning` HTTP
158+
header is sent by {es}
159+
(https://github.com/elastic/elasticsearch-py/pull/1179[#1179]).
160+
* Added support for serializing `numpy` and `pandas` data types to
161+
`JSONSerializer`
162+
(https://github.com/elastic/elasticsearch-py/pull/1180[#1180]).
163+
* Added `certifi` as a dependency so HTTPS connections work automatically.
164+
* Fixed duplicated parameters in some API docstrings
165+
(https://github.com/elastic/elasticsearch-py/pull/1169[#1169], thanks to
166+
https://github.com/mortenhauberg[Morten Hauberg]).
167+
168+
169+
[discrete]
170+
[[rn-7-6-0]]
171+
=== 7.6.0 (2020-03-19)
172+
173+
174+
* Added support for ES 7.6 APIs.
175+
* Added support for
176+
https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#_identifying_running_tasks[`X-Opaque-Id`]
177+
to identify long-running tasks.
178+
* Added support for HTTP compression to `RequestsHttpConnection`.
179+
* Updated default setting of `http_compress` when using `cloud_id` to `True`.
180+
* Updated default setting of `sniffing` when using `cloud_id` to `False`.
181+
* Updated default port to `443` if `cloud_id` and no other port is defined on
182+
the client or within `cloud_id`.
183+
* Updated `GET` HTTP requests that contain a body to `POST` where the API allows
184+
this to fix proxies rejecting these requests.
185+
* Fix regression of `client.cluster.state()` where the default `metric` should
186+
be set to `"_all"` if an index is given
187+
(https://github.com/elastic/elasticsearch-py/pull/1143[#1143]).
188+
* Fix regression of `client.tasks.get()` without a `task_id` having similar
189+
functionality to `client.tasks.list()` This will be removed in `v8.0` of
190+
`elasticsearch-py`
191+
(https://github.com/elastic/elasticsearch-py/pull/1157[#1157]).
192+
193+
194+
[discrete]
195+
[[rn-7-5-1]]
196+
=== 7.5.1 (2020-01-19)
197+
198+
* All API is now auto generated.
199+
* Deprecated the `.xpack` namespace.
200+
* Update client to support ES 7.5 APIs.
201+
202+
203+
[discrete]
204+
[[rn-7-1-0]]
205+
=== 7.1.0 (2019-11-14)
206+
207+
* Fix sniffing with `http.publish_host`.
208+
* Fix `request_timeout` for `indices` APIs.
209+
* Allow access to `x-pack` features without `xpack` namespace.
210+
* Fix mark dead.
211+
212+
213+
[discrete]
214+
[[rn-7-0-5]]
215+
=== 7.0.5 (2019-10-01)
216+
217+
* Fix `verify_certs=False`.
218+
219+
220+
[discrete]
221+
[[rn-7-0-4]]
222+
=== 7.0.4 (2019-08-22)
223+
224+
* Fix wheel distribution.
225+
226+
227+
[discrete]
228+
[[rn-7-0-3]]
229+
=== 7.0.3 (2019-08-21)
230+
231+
* Remove sleep in retries.
232+
* Pass `scroll_id` through body in `scroll`.
233+
* Add `user-agent`.
234+
235+
236+
[discrete]
237+
[[rn-7-0-2]]
238+
=== 7.0.2 (2019-05-29)
239+
240+
* Add connection parameter for Elastic Cloud cloud_id.
241+
* ML client uses client object for _bulk_body requests.
242+
243+
244+
[discrete]
245+
[[rn-7-0-1]]
246+
=== 7.0.1 (2019-05-19)
247+
248+
* Use black to format the code.
249+
* Update the test matrix to only use current pythons and 7.x ES.
250+
* Blocking pool must fit thread_count.
251+
* Update client to support missing ES 7 API's and query params.
252+
253+
254+
[discrete]
255+
[[rn-7-0-0]]
256+
=== 7.0.0 (2019-04-11)
257+
258+
* Removed deprecated option `update_all_types`.
259+
* Using insecure SSL configuration (`verify_cert=False`) raises a warning,
260+
this can be not showed with `ssl_show_warn=False`.
261+
* Add support for 7.x APIs in {es} both xpack and oss flavors.

0 commit comments

Comments
 (0)