Releases: untergeek/es-testbed
[0.11.3] - 2025-04-21
Tore off the bandaid: Turned on Black formatting and allowed it to switch all single quoted strings to double-quoted strings.
In every. Single. File. Including. Tests.
Additionally did version dependency bumps:
- es_wait>=0.15.2
- es_client>=8.18.2
- tiered_debug>=1.3.0
And updated __init__.py to use the new format.
And for docs, in advance of actually creating and publishing documentation, I've standardized on the furo module.
[0.11.2] - 2025-04-17
Missed putting the .2 in __init__.py, so this is the same release but with one number different
[0.11.1] 2025-04-17
Tiny bump of dependency versions
es_client==8.18.1es-wait==0.15.0tiered-debug==1.2.1
0.11.0 (16 April 2025)
Very few code changes that weren't related to tiered-debug module improvements.
The core nuggets are:
- Updated
tiered_debugmodule to use a class with a context manager, as well as a decorator. - This module is used by
es_clientandes_wait, so we needed to get with the program here, too
Fixed one detail about creating indices from the preset not including the settings and mappings. Found that one by accident.
All tests passing with Python versions 3.8 - 3.12, against Elasticsearch 8.18.0
See #11
0.10.0 (31 March 2025)
Announcement
All debug logging is now handled by the tiered-debug module and its functions.
What this means is that debug logging can become more like trace logging, you just have to dial up the value (see the tiered-debug module for more information).
All logger.debug calls were updated to use the new module, and a lot more debug logging was added (at higher levels) should the need ever arise for it.
All tests pass.
0.9.0 (18 March 2025)
Huge refactor to use new, improved version of the es-wait module.
Along with this, a ton of unit tests were added to help verify all code.
This was extensively tested with the es-pii-tool module before this release.
0.8.5 (31 August 2024)
Patch Release
Version Dependency Changes
es_client>=8.15.1es_wait>=0.8.0
This is primarily so that other projects that also depend on both es-wait and es-testbed will not experience version conflicts.
0.8.4 (31 August 2024)
This is another early, pre-1.0 release.
Most of the changes are in the form of using es-docker-test-scripts version 1.2.0
The 1.2.0 version of the docker_test scripts proved necessary to run two docker containers as part of a single cluster, with one of them being a data_frozen node.
This is accomplished by running:
docker_test/create.sh 8.15.0 frozen_node
where frozen_node is the scenario defined in the docker_test scripts for deploying a 2 node cluster with one data_frozen node.
With that out of the way, the other changes were to the searchable_test preset scenario.
The import of this scenario seemed to require class attributes for the desired settings to be properly exposed, so scenarios.py was changed to include a class Scenarios, with every possible scenario as a class @property/attribute.
Testing showed that these values properly propagated.
Now, with both changes in place, the prior failure to get cold and frozen ILM tests to work is a thing of the past.
0.8.3 (24 August 2024)
Changes
- docker_test/VERSION: Update to version 1.1.0
- pyproject.toml: Switch
tool.hatch.envs.all.matrixtotool.hatch.envs.test.matrix
so thathatch run test:testwill test against all supplied python versions - pytest.ini: Disable CLI logging. We only need this for heavy debugging
- init.py: Bump version to 0.8.3
- es_testbed/defaults.py: Python versions < 3.10 cannnot use the newer, more explicit
TypeAliasclass, so we switched to the older type alias assignment style. This is
heavily documented inline. - es_testbed/helpers/utils.py:
- Function prettystr:
pprint.pformatdoes not have kwargunderscore_numbersin
Python versions < 3.10, so a code workaround was added. - Function python_version: Return the Python version as a tuple. Could be redundant
assys.version_infodoes as well, but this allows for re-use outside without
having toimport sysagain.
- Function prettystr:
- es_testbed/presets/searchable_test/definitions.py: Assignss
plan.uniqto be
f'scenario-{scenario}'
0.8.2 (23 August 2024)
Update docker_test scripts to use https://github.com/untergeek/es-docker-test-scripts