Es-client

Latest version: v8.13.5

Safety actively analyzes 625891 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

8.6.0.post5

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

**Changes**

* Python 3.11 was unofficially supported in 8.6.0.post4. It is now officially listed
in ``pyproject.toml`` as a supported version.
* Discovered that Builder was not validating Elasticsearch host URLs, and not catching
those lead to an invisible failure in Curator.

8.6.0.post4

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

**Changes**

* Fix an example in ``README.rst`` that showed the old and no longer viable way to
get the client. New example reflects the current way.
* Purge older setuptools files ``setup.py`` and ``setup.cfg`` in favor of building
with ``flit``, using ``pyproject.toml``. Testing and dependencies here should install
properly with ``pip install -U '.[test]'``. After this, testing works with ``pytest``,
or ``pytest --cov=es_client --cov-report html:cov_html`` (``cov_html`` was added to
``.gitignore``). These changes appear to be necessary to build functional packages
for Python 3.11.
* Building now works with ``flit``. First ``pip install flit``, then ``flit build``.

8.6.0.post3

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

**Changes**

* Improve ``helpers.utils`` function ``verify_url_schema`` ability to catch malformed
URLs. Added tests to verify functionality.
* Improve Docker test scripts. Now there's only one set of scripts in
``docker_test/scripts``. ``create.sh`` requires a semver version of Elasticsearch
at the command-line, and it will build and launch a docker image based on that
version. For example, ``./create.sh 8.6.0`` will create a test image. Likewise,
``destroy.sh`` will clean it up afterwards, and also remove the ``Dockerfile``
which is created from the ``Dockerfile.tmpl`` template.

8.6.0.post2

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

**Changes**

* Move the ``get_version`` method to its own function so other programs can also use it.
* Pylint cleanup of most files

8.6.0.post1

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

**Changes**

* Python prefers its own version to SemVer, so there are no changes but one of nomenclature.

8.6.0+build.2 (17 January 2023)
-------------------------------

**Changes**

* Improve the client configuration parsing behavior. If absolutely no config is given, then set
``hosts`` to ``http://127.0.0.1:9200``, which mirrors the ``elasticsearch8`` client default
behavior.

8.6.0

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

**Changes**

* Version bump ``elasticsearch8==8.6.0``
* Add Docker test environment for Elasticsearch 8.6.0

**Fixes**

* Docker test environment for 8.5.3 was still running Elasticsearch version 8.4.3. This has been corrected.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.