Skip to content

Latest commit

 

History

History
282 lines (168 loc) · 7.89 KB

CHANGELOG.rst

File metadata and controls

282 lines (168 loc) · 7.89 KB

Next Release

Breaking changes:

Improvements and new features:

Documentation:

Internal changes:

0.4.2 (10 April 2024)

Breaking changes:

Improvements and new features:

  • Add compatibility with podman 5

Documentation:

Internal changes:

0.4.1 (2 April 2024)

Breaking changes:

Improvements and new features:

Documentation:

Internal changes:

  • fix imports for older pytest releases

0.4.0 (27 March 2024)

Breaking changes:

Improvements and new features:

Documentation:

Internal changes:

0.3.0 (26 September 2023)

Breaking changes:

  • Removed the function OciRuntimeABC.get_image_id_from_stdout as docker buildx does not print the image digest to stdout when invoking :command:`docker build`.

Improvements and new features:

Documentation:

Internal changes:

  • use --cidfile and --iidfile flags to get the container and image hashes from files instead of stdout.

0.2.0 - DevConf.cz edition (14 June 2023)

Breaking changes:

Improvements and new features:

  • Log the the output of :command:`$runtime logs $container` using Python's logging framework for easier debugging
  • Automatically set the image format to docker when using :command:`buildah` if the base image is using HEALTHCHECK (with :command:`buildah` version 1.25 and later).
  • Add support for Python 3.11
  • Log the container's logs even if launching the container fails, e.g. due to a failing HEALTHCHECK.

Documentation:

Internal changes:

0.1.1 (21 March 2023)

This release only fixes the README.rst formatting. There are no functional changes compared to 0.1.0.

0.1.0 (20 March 2023)

Breaking changes:

Improvements and new features:

Documentation:

  • Add a tutorial how to start using pytest_container
  • Document most public and private functions, classes and modules

Internal changes:

  • Switch from tox to nox and nox-poetry.
  • Add typeguard to the test runs to check type hints.
  • Use context managers in the fixtures to make the code more readable and robust.

0.0.2 (01 February 2022)

Breaking changes:

Improvements and new features:

  • Support healthcheck in Container images
  • Add support for internal logging and make the level user configurable
  • Allow for singleton container images
  • Add support for passing run & build arguments via the pytest CLI to podman/docker
  • Add support for adding environment variables into containers

Documentation:

  • treat unresolved references as errors
  • enable intersphinx

Internal changes:

  • Provide a better error message in auto_container_parametrize
  • Add support for using pytest.param instead of Container classes