From 36cd483bc494c3bb0cf467da20cbb3bbae75cd9a Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Wed, 10 Feb 2021 15:07:41 -0600 Subject: [PATCH] [7.x] Add 7.11.0 release to changelog --- Changelog.rst | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Changelog.rst b/Changelog.rst index 8dd26e7b..c2d2b21f 100644 --- a/Changelog.rst +++ b/Changelog.rst @@ -3,6 +3,86 @@ Changelog ========= +7.11.0 (2021-02-10) +------------------- + +* Added support for 7.11 APIs +* Added the ``X-Elastic-Client-Meta`` HTTP header and the ``meta_header`` parameter + for controlling the header (`#1473`_) +* Added ``ElasticsearchWarning`` which is raised when the ``Warning`` HTTP header + is returned from Elasticsearch. ``ElasticsearchDeprecationWarning`` is now + an alias for this warning type (`#1495`_) + + .. _#1473: https://github.com/elastic/elasticsearch-py/pull/1473 + .. _#1495: https://github.com/elastic/elasticsearch-py/pull/1495 + +7.10.1 (2020-12-09) +------------------- + +* Fixed issue where the Scan helper would fail if a ``scroll`` response returned + without a value for ``_shards.skipped`` (`#1451`_) +* Fixed handling of IPv6 hosts with a port in the computed ``Connection.host`` property (`#1460`_) +* Fixed documented task management API stability, should have been as "experimental" (`#1471`_) +* Changed deprecated ``collections.Mapping`` in favor of + ``collections.abc.Mapping`` for Python 3.9 (`#1443`_) + + .. _#1443: https://github.com/elastic/elasticsearch-py/pull/1443 + .. _#1451: https://github.com/elastic/elasticsearch-py/pull/1451 + .. _#1460: https://github.com/elastic/elasticsearch-py/pull/1460 + .. _#1471: https://github.com/elastic/elasticsearch-py/pull/1471 + +7.10.0 (2020-11-11) +------------------- + +* Added support for Elasticsearch 7.10 APIs +* Added basic type stubs for static type checking and IDE auto-complete of API parameters (`#1297`_, `#1406`_) +* Added support for `Optimistic Concurrency Control options`_ + (``_if_seq_no``/``_if_primary_term``) to bulk helpers (`#1387`_) +* Added support for passing ``_source`` with ``"_op_type": "update"`` + bulk helpers (`#1387`_) +* Fixed bug where ``Connection.log_request_failure()`` call would receive the compressed + HTTP body rather than uncompressed when an error is raised for ``RequestsHttpConnection`` (`#1394`_) +* Fix a typo in AsyncTransport where ``sniff_timeout`` was used instead of ``sniffer_timeout`` (`#1431`_) +* Removed explicit ``yarl`` dependency from ``[async]`` extra to avoid issue where pip + would override ``aiohttp``'s pin of ``yarl``. This is not a problem if you + install with ``--use-feature=2020-resolver``. Users should see no changes. (`#1401`_) + + .. _Optimistic Concurrency Control options: https://www.elastic.co/guide/en/elasticsearch/reference/current/optimistic-concurrency-control.html + .. _#1431: https://github.com/elastic/elasticsearch-py/pull/1431 + .. _#1406: https://github.com/elastic/elasticsearch-py/pull/1406 + .. _#1401: https://github.com/elastic/elasticsearch-py/pull/1401 + .. _#1394: https://github.com/elastic/elasticsearch-py/pull/1394 + .. _#1387: https://github.com/elastic/elasticsearch-py/pull/1387 + .. _#1297: https://github.com/elastic/elasticsearch-py/pull/1297 + +7.9.1 (2020-08-19) +------------------ + +* Fixed the import of async helpers which were not available in 7.9.0 (`#1353`_) +* Added support for ``url_prefix`` when using ``AIOHttpConnection`` (`#1357`_) + + .. _#1353: https://github.com/elastic/elasticsearch-py/pull/1353 + .. _#1357: https://github.com/elastic/elasticsearch-py/pull/1357 + +7.9.0 (2020-08-18) +------------------ + +* Added support for ES 7.9 APIs +* Fixed retries to not raise an error when ``sniff_on_connection_error=True`` + and a ``TransportError`` is raised during the sniff step. Instead the + retry will continue or the error that triggered the retry will be raised + (See `#1279`_ and `#1326`_) + + .. _#1326: https://github.com/elastic/elasticsearch-py/pull/1326 + .. _#1279: https://github.com/elastic/elasticsearch-py/pull/1279 + +7.8.1 (2020-07-30) +------------------ + +* Added the ``accept_enterprise`` parameter to ``xpack.info`` API (See `#1337`_) + + .. _#1337: https://github.com/elastic/elasticsearch-py/pull/1337 + 7.8.0 (2020-06-18) ------------------