Skip to content

Releases: untergeek/es_client

8.7.0 (12 April 2023)

12 Apr 18:57
Compare
Choose a tag to compare

Announcement

Apologies for the delayed release. I have had some personal matters that had me
out of office for several weeks.

Changes

  • Bring up to date with Elasticsearch 8.7.0 Python client.
  • Add mock to the list of modules for testing

8.6.2.post1 (23 March 2023)

24 Mar 04:03
Compare
Choose a tag to compare

Announcement

Late 8.6.2 post-release.

Changes

  • Fix certificate detection. See #33.
  • Add one-line API Key support (the Base64 encoded one).
  • Update docs to reflect base64 token API Key functionality.

8.6.2 (19 February 2023)

19 Feb 23:14
Compare
Choose a tag to compare

Announcement

Version sync with released Elasticsearch Python module.

Changes

  • Fix cloud_id and hosts collision detection and add test to cover this case.
  • Code readability improvements (primarily for documentation).
  • Documentation readability improvements, and improved cross-linking.
  • Add example cli script to docs.

8.6.1.post1 (30 January 2023)

30 Jan 22:33
Compare
Choose a tag to compare

Announcement

Even though I had a test in place for catching and fixing the absence of a port with https,
it didn't work in the field. Fix included.

Changes

  • Fixed unverified URL schema issue.
  • Found and corrected another place where passwords were being logged inappropriately.

8.6.1 (30 January 2023)

30 Jan 20:04
Compare
Choose a tag to compare

Announcement

With all of these changes, I kept this in-house and did local builds and pip imports until
I worked it all out, rather than do a kajillion .post# releases in one day.

Changes

  • Circular imports between es_client.helpers.utils and es_client.helpers.schemacheck
    broke things. Since password_filter is not presently being used by anything else,
    I moved it to schemacheck.py.
  • Use hatch and hatchling for package building instead of flit.
  • Update elasticsearch8 dependency to 8.6.1
  • Removed the requirements.txt file as this is now handled by pyproject.toml and
    doing pip install . to grab dependencies and install them. YAY! Only one place to
    track dependencies now!!!
  • Removed the MANIFEST.in file as this is now handled by pyproject.toml as well.
  • Update the docs build settings to use Python 3.11 and elasticsearch8==8.6.1

8.6.0.post6 (26 January 2023)

26 Jan 20:34
Compare
Choose a tag to compare

Announcement

I'm just cranking these out today! The truth is, I'm catching more things with the increased
scrutiny of heavy Curator testing. This is good, right? But I forgot to release .post5 in
my haste, so I mention it here.

Changes

  • Discovered that passwords were being logged. Added a function to replace any value
    from a key (from KEYS_TO_REDACT in defaults.py) with REDACTED. Keys are
    ['password', 'basic_auth', 'bearer_auth', 'api_key', 'id', 'opaque_id']

8.6.0.post5 (26 January 2023)

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 (26 January 2023)

26 Jan 16:58
Compare
Choose a tag to compare

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 (19 January 2023)

20 Jan 03:47
Compare
Choose a tag to compare

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 (18 January 2023)

18 Jan 21:08
Compare
Choose a tag to compare

Changes

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

v8.6.0.post1 (17 January 2023)

17 Jan 21:34
Compare
Choose a tag to compare

Name change only for PyPI's sake.