Releases: untergeek/es_client
8.7.0 (12 April 2023)
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)
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)
Announcement
Version sync with released Elasticsearch Python module.
Changes
- Fix
cloud_id
andhosts
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)
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)
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
andes_client.helpers.schemacheck
broke things. Sincepassword_filter
is not presently being used by anything else,
I moved it toschemacheck.py
. - Use
hatch
andhatchling
for package building instead offlit
. - Update
elasticsearch8
dependency to8.6.1
- Removed the
requirements.txt
file as this is now handled bypyproject.toml
and
doingpip 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 bypyproject.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)
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 (fromKEYS_TO_REDACT
indefaults.py
) withREDACTED
. 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
inpyproject.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)
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
andsetup.cfg
in favor of building
withflit
, usingpyproject.toml
. Testing and dependencies here should install
properly withpip install -U '.[test]'
. After this, testing works withpytest
,
orpytest --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
. Firstpip install flit
, thenflit build
.
8.6.0.post3 (19 January 2023)
Changes
- Improve
helpers.utils
functionverify_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 theDockerfile
which is created from theDockerfile.tmpl
template.
8.6.0.post2 (18 January 2023)
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)
Name change only for PyPI's sake.