Changelog

Versions follow Semantic Versioning (<major>.<minor>.<patch>).

Backward incompatible (breaking) changes will only be introduced in major versions with advance notice in the Deprecations section of releases.

Previous Changelog Entries

Before the 1.0.0 release, due to the fast evolving pace and breakage introduced while developing the library, no changelog was kept. Please refer to the git history for details.

[UNRELEASED DRAFT] (2022-02-05)

No significant changes.

0.912.1 (2022-02-05)

Improvements

  • Set lower required python version to 3.5.2 (#97)

0.912.0 (2022-01-25)

Breaking Changes

  • Name things once. (#50)

  • get_unused_localhost_port no longer cached returned port by default (#51)

  • Rename the SaltMaster.get_salt_cli to SaltMaster.salt_cli, forgotten on PR #50 (#70)

Features

  • Temporary state tree management

    • Add temp_file and temp_directory support as pytest helpers

    • Add SaltStateTree and SaltPillarTree for easier temp files support (#38)

  • Added skip markers for AArch64 platform, skip_on_aarch64 and skip_unless_on_aarch64 (#40)

  • Added a VirtualEnv helper class to create and interact with a virtual environment (#43)

  • Add skip_on_spawning_platform and skip_unless_on_spawning_platform markers (#81)

Improvements

  • Switch project to an src/ based layout (#41)

  • Start using towncrier to maintain the changelog (#42)

  • Forwarding logs, file and pillar roots fixes

    • Salt allows minions and proxy minions to also have file and pillar roots configured

    • All factories will now send logs of level debug or higher to the log server (#49)

  • Log the test outcome (#52)

  • Take into account that SystemExit.code might not be an integer on the generated CLI scripts (#62)

  • Catch unhandled exceptions and write their traceback to sys.stderr in the generated CLI scripts (#63)

  • Several fixes/improvements to the ZMQHandler log forwarding handler (#64)

  • ZMQ needs to reconnect on forked processes or else Salt’s own multiprocessing log forwarding log records won’t be logged by the ZMQHandler (#69)

  • Some more additional changes to the ZMQHandler to make sure it’s resources are cleaned when terminating (#74)

  • The sshd server no longer generates dsa keys if the system has FIPS enabled (#80)

  • Add to_salt_config method to SaltEnv and SaltEnvs. This will simplify augmenting the salt configuration dictionary. (#82)

  • Rename SaltEnv.to_salt_config() to SaltEnv.as_dict() (#83)

  • Switch to pytest-skip-markers. (#84)

Bug Fixes

  • Adjust to the upcoming salt loader changes (#77)

Trivial/Internal Changes

  • CI pileline adjustements

    • Bump salt testing requirement to 3002.6

    • Drop testing of FreeBSD since it’s too unreliable on Github Actions

    • Full clone when testing so that codecov does not complain (#39)

  • Upgrade to black 21.4b2 (#56)

  • Drop Pytest requirement to 6.0.0 (#57)

  • Increase and match CI system tests timeout-minutes to Linux tests timeout-minutes (#64)

  • Switch to the new codecov uploader (#72)

  • Fix codecov flags, report name, and coverage (#73)

  • Update to latest versions on some pre-commit hooks

    • pyupgrade: 2.23.3

    • reorder_python_imports: 2.6.0

    • black: 21.b7

    • blacken-docs: 1.10.0 (#79)

  • Remove transport keyword argument from the call to salt.utils.event.get_event (#87)

  • Add build and release nox targets (#89)