From a9106cc5c881f186d3197c82d549e62f0dfee234 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 10:02:30 +0000 Subject: [PATCH] Release v0.1.4 --- CHANGELOG.md | 17 +++++++++++++++++ changelog/+container-temp-volumes.fixed.md | 1 - changelog/+network-ipv6-address-key.fixed.md | 1 - changelog/18.fixed.md | 1 - changelog/19.fixed.md | 1 - changelog/22.fixed.md | 1 - changelog/25.fixed.md | 6 ------ 7 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 changelog/+container-temp-volumes.fixed.md delete mode 100644 changelog/+network-ipv6-address-key.fixed.md delete mode 100644 changelog/18.fixed.md delete mode 100644 changelog/19.fixed.md delete mode 100644 changelog/22.fixed.md delete mode 100644 changelog/25.fixed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d0cb1c..1c1d7b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ This project uses [Semantic Versioning](https://semver.org/) - MAJOR.MINOR.PATCH # Changelog +## 0.1.4 (2026-10-29) + + +### Fixed + +- Do not delete already existing composefile when editing it fails. [#18](https://github.com/salt-extensions/saltext-dockermod/issues/18) +- Use extension's own copy of dockermod utils (``saltext.dockermod.utils.dockermod``) instead of Salt's ``salt.utils.dockermod``. [#19](https://github.com/salt-extensions/saltext-dockermod/issues/19) +- Fixed ``docker_network.present`` reporting spurious changes and recreating a network on every run when a ``subnet`` was specified without a ``gateway``. Docker auto-assigns the subnet's first host address as the gateway and reports it on inspect, while Salt's desired config omits the key entirely; ``docker.compare_networks`` now ignores a one-sided gateway only when it matches that auto-assigned default, so an explicitly added, removed, or changed gateway is still detected as a real change. [#22](https://github.com/salt-extensions/saltext-dockermod/issues/22) +- Fix `docker_container.running` destroying the original container on the + `force=True` / `skip_comparison` path by passing the temp container's dict + instead of its name to `_replace`. `docker.rename` then failed after + `docker.rm` had already removed the original, leaving the minion with the + temp container stranded under its generated name. `_replace` now receives + `temp_container_name` on both call sites, matching the non-force path. [#25](https://github.com/salt-extensions/saltext-dockermod/issues/25) +- Fix ``docker_network.present`` not restoring a container's IPv6 address when reconnecting it to a recreated network, due to a typo in the ``IPv6Address`` key. +- Fixed ``docker_container.running`` leaking the anonymous volumes of the temporary container it creates to compare against an existing container, one per run for images that declare a ``VOLUME``. + ## 0.1.3 (2026-09-21) No significant changes. diff --git a/changelog/+container-temp-volumes.fixed.md b/changelog/+container-temp-volumes.fixed.md deleted file mode 100644 index 0be4b0b..0000000 --- a/changelog/+container-temp-volumes.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed ``docker_container.running`` leaking the anonymous volumes of the temporary container it creates to compare against an existing container, one per run for images that declare a ``VOLUME``. diff --git a/changelog/+network-ipv6-address-key.fixed.md b/changelog/+network-ipv6-address-key.fixed.md deleted file mode 100644 index 2b0337b..0000000 --- a/changelog/+network-ipv6-address-key.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix ``docker_network.present`` not restoring a container's IPv6 address when reconnecting it to a recreated network, due to a typo in the ``IPv6Address`` key. diff --git a/changelog/18.fixed.md b/changelog/18.fixed.md deleted file mode 100644 index 2a48a42..0000000 --- a/changelog/18.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Do not delete already existing composefile when editing it fails. diff --git a/changelog/19.fixed.md b/changelog/19.fixed.md deleted file mode 100644 index 35b347e..0000000 --- a/changelog/19.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Use extension's own copy of dockermod utils (``saltext.dockermod.utils.dockermod``) instead of Salt's ``salt.utils.dockermod``. diff --git a/changelog/22.fixed.md b/changelog/22.fixed.md deleted file mode 100644 index 413cd61..0000000 --- a/changelog/22.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed ``docker_network.present`` reporting spurious changes and recreating a network on every run when a ``subnet`` was specified without a ``gateway``. Docker auto-assigns the subnet's first host address as the gateway and reports it on inspect, while Salt's desired config omits the key entirely; ``docker.compare_networks`` now ignores a one-sided gateway only when it matches that auto-assigned default, so an explicitly added, removed, or changed gateway is still detected as a real change. diff --git a/changelog/25.fixed.md b/changelog/25.fixed.md deleted file mode 100644 index d9284ee..0000000 --- a/changelog/25.fixed.md +++ /dev/null @@ -1,6 +0,0 @@ -Fix `docker_container.running` destroying the original container on the -`force=True` / `skip_comparison` path by passing the temp container's dict -instead of its name to `_replace`. `docker.rename` then failed after -`docker.rm` had already removed the original, leaving the minion with the -temp container stranded under its generated name. `_replace` now receives -`temp_container_name` on both call sites, matching the non-force path.