Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update elasticsearch to 7.13.0 #51

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates elasticsearch from 6.0.0 to 7.13.0.

Changelog

7.12.0

-------------------

* Added support for 7.12 APIs

7.11.0

-------------------

* 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

-------------------

* 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

-------------------

* 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

------------------

* 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

------------------

* 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

------------------

* Added the ``accept_enterprise`` parameter to ``xpack.info`` API (See `1337`_)

.. _1337: https://github.com/elastic/elasticsearch-py/pull/1337

7.8.0

------------------

* Added support for ES 7.8 APIs
* Added support for async/await with asyncio via
``AsyncElasticsearch``. See documentation on
`using Asyncio with Elasticsearch <https://elasticsearch-py.readthedocs.io/en/master/async.html>`_
for more information (See `1232`_, `1235`_, `1236`_)
* Added async helpers ``async_bulk``, ``async_streaming_bulk``,
``async_scan``, and ``async_reindex`` (See `1260`_)
* Updated ``exists_source`` API to use non-deprecated Elasticsearch
API routes when ``doc_type`` is not specified to suppress
deprecation warnings (See `1272`_)

.. _1232: https://github.com/elastic/elasticsearch-py/pull/1232
.. _1235: https://github.com/elastic/elasticsearch-py/pull/1235
.. _1236: https://github.com/elastic/elasticsearch-py/pull/1236
.. _1260: https://github.com/elastic/elasticsearch-py/pull/1260
.. _1272: https://github.com/elastic/elasticsearch-py/pull/1272

7.7.1

------------------

* Updated ``create``, ``update``, ``explain``, ``get_source``,
and ``termvectors`` APIs to use non-deprecated Elasticsearch
API routes when ``doc_type`` is not specified to suppress
deprecation warnings (See `1253`_)

.. _1253: https://github.com/elastic/elasticsearch-py/pull/1253

7.7.0

------------------

* Added support for ES 7.7 APIs (See `1182`_)
* Added ``ElasticsearchDeprecationWarning`` which is raised when a ``Warning``
HTTP header is sent by Elasticsearch. (See `1179`_)
* Added support for serializing ``numpy`` and ``pandas``.
data types to ``JSONSerializer``. (See `1180`_)
* Added ``certifi`` as a dependency so HTTPS connections work automatically.
* Fixed duplicated parameters in some API docstrings (See `1169`_, thanks to `Morten Hauberg <https://github.com/mortenhauberg>`_!)

.. _1169: https://github.com/elastic/elasticsearch-py/pull/1169
.. _1179: https://github.com/elastic/elasticsearch-py/pull/1179
.. _1182: https://github.com/elastic/elasticsearch-py/pull/1182

7.6.0

------------------

* Added support for ES 7.6 APIs
* Added support for `X-Opaque-Id`_ to identify long-running tasks
* Added support for HTTP compression to ``RequestsHttpConnection``
* Updated default setting of ``http_compress`` when using ``cloud_id`` to ``True``
* Updated default setting of ``sniffing`` when using ``cloud_id`` to ``False``
* Updated default port to ``443`` if ``cloud_id`` and no other port is defined
on the client or within ``cloud_id``
* Updated ``GET`` HTTP requests that contain a body to ``POST`` where
the API allows this to fix proxies rejecting these requests.
* Fix regression of ``client.cluster.state()`` where the default ``metric``
should be set to ``"_all"`` if an index is given (See `1143`_)
* Fix regression of ``client.tasks.get()`` without a ``task_id``
having similar functionality to ``client.tasks.list()`` This will
be removed in ``v8.0`` of ``elasticsearch-py`` (See `1157`_)

.. _X-Opaque-Id: https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#_identifying_running_tasks
.. _1143: https://github.com/elastic/elasticsearch-py/pull/1143
.. _1157: https://github.com/elastic/elasticsearch-py/pull/1157

7.5.1

------------------

7.5.0

-----

* All API is now auto generated
* deprecated the ``.xpack`` namespace
* Update client to support ES 7.5 APIs

7.1.0

------------------

* Fix sniffing with ``http.publish_host``
* Fix ``request_timeout`` for ``indices`` APIs
* Allow access to ``x-pack`` features without ``xpack`` namespace
* Fix mark dead

7.0.5

------------------

* Fix ``verify_certs=False``

7.0.4

------------------

* Fix wheel distribution

7.0.3

------------------

* remove sleep in retries
* pass ``scroll_id`` through body in ``scroll``
* add ``user-agent``

7.0.2

------------------

* Add connection parameter for Elastic Cloud cloud_id.
* ML client uses client object for _bulk_body requests

7.0.1

------------------

* Use black to format the code.
* Update the test matrix to only use current pythons and 7.x ES
* Blocking pool must fit thread_count
* Update client to support missing ES 7 API's and query params.

7.0.0

------------------

* Removed deprecated option ``update_all_types``.
* Using insecure SSL configuration (``verify_cert=False``) raises a warning, this can
be not showed with ``ssl_show_warn=False``
* Add support for 7.x api's in Elasticsearch both xpack and oss flavors

6.8.1

------------------

* Added support for serializing ``numpy`` and ``pandas``
data types to ``JSONSerializer``. (See `1180`_)
* Fixed a namespace conflict in ``elasticsearch6`` wheel
distribution for ``v6.8.0`` (See `1186`_)

.. _1180: https://github.com/elastic/elasticsearch-py/issues/1180
.. _1186: https://github.com/elastic/elasticsearch-py/issues/1186

6.8.0

------------------

* Added support for HTTP compression to ``RequestsHttpConnection``
* Updated cloud_id default port
* Enable HTTP compression and disable sniffing by default
when using Cloud ID to connect to ES.
* Updated versioning scheme to match ES major.minor

6.3.0

------------------

* Add an exponential wait on delays
* Fix issues with dependencies
* Adding X-pack Docs
* Adding forecast to x-pack ML client

6.2.0

------------------

* cleanup for SSL Context
* Add X-Pack clients to -py
* Adding Gzip support for capacity constrained networks
* ``_routing`` in bulk action has been deprecated in ES. Introduces a breaking change
if you use ``routing`` as a field in your documents.

6.1.1

------------------

* Updates to SSLContext logic to make it easier to use and have saner defaults.
* Doc updates

6.1.0

------------------

* bad release
Links

@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Jun 3, 2021

Closing this in favor of #52

@pyup-bot pyup-bot closed this Jun 3, 2021
@chrisspen chrisspen deleted the pyup-update-elasticsearch-6.0.0-to-7.13.0 branch June 3, 2021 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant