Skip to content

Releases: untergeek/es-testbed

[0.11.3] - 2025-04-21

22 Apr 03:17

Choose a tag to compare

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

18 Apr 04:36

Choose a tag to compare

Missed putting the .2 in __init__.py, so this is the same release but with one number different

[0.11.1] 2025-04-17

18 Apr 04:33
e7adf74

Choose a tag to compare

Tiny bump of dependency versions

  • es_client==8.18.1
  • es-wait==0.15.0
  • tiered-debug==1.2.1

0.11.0 (16 April 2025)

16 Apr 18:58
67f6a33

Choose a tag to compare

Very few code changes that weren't related to tiered-debug module improvements.

The core nuggets are:

  • Updated tiered_debug module to use a class with a context manager, as well as a decorator.
  • This module is used by es_client and es_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)

31 Mar 21:07
bac2f28

Choose a tag to compare

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)

18 Mar 19:40
964e2dd

Choose a tag to compare

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)

31 Aug 15:42
f0da094

Choose a tag to compare

Patch Release

Version Dependency Changes

  • es_client>=8.15.1
  • es_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)

31 Aug 14:33
a922139

Choose a tag to compare

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)

24 Aug 20:50
a111dc9

Choose a tag to compare

Changes

  • docker_test/VERSION: Update to version 1.1.0
  • pyproject.toml: Switch tool.hatch.envs.all.matrix to tool.hatch.envs.test.matrix
    so that hatch run test:test will 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
    TypeAlias class, so we switched to the older type alias assignment style. This is
    heavily documented inline.
  • es_testbed/helpers/utils.py:
    • Function prettystr: pprint.pformat does not have kwarg underscore_numbers in
      Python versions < 3.10, so a code workaround was added.
    • Function python_version: Return the Python version as a tuple. Could be redundant
      as sys.version_info does as well, but this allows for re-use outside without
      having to import sys again.
  • es_testbed/presets/searchable_test/definitions.py: Assignss plan.uniq to be
    f'scenario-{scenario}'

0.8.2 (23 August 2024)

23 Aug 22:50
fcdbf91

Choose a tag to compare