Releases: kreuzwerker/terraform-provider-docker
Release list
v4.5.0
What's Changed
- refactor: pass API client at DockerCli instantiation by @kevineor in #941
- feat: Add no_compose build tag for non-CGO cross-compile by @pose in #937
- fix: Do not set attributes which are not present in config by @Junkern in #947
- feat: Implement init for docker_service by @Junkern in #949
- fix(deps): update module golang.org/x/sync to v0.21.0 by @renovate[bot] in #950
- chore: Prepare release v4.5.0 by @Junkern in #954
New Contributors
Full Changelog: v4.4.0...v4.5.0
v4.4.0
What's Changed
- fix: Align different docker urls to fix authentication issues by @Junkern in #927
- feat(actions): add
docker_system_prunePlugin Framework action by @Copilot in #928 - fix: canonicalize registry addresses to prevent auth errors by @Junkern in #929
- feat: Add actions for Docker image save/load and container export by @Copilot in #931
- fix: Honor
host_pathindocker_container.volumeswhen both source fields are set by @Copilot in #930 - fix: Use configured host instead of daemon host for dockercli client by @Junkern in #939
- chore: Prepare release 4.4.0 by @Junkern in #940
Full Changelog: v4.3.0...v4.4.0
v4.3.0
What's Changed
- fix(deps): update module github.com/docker/go-connections to v0.7.0 by @renovate[bot] in #908
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.25.0 by @renovate[bot] in #911
- fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 by @renovate[bot] in #912
- feat(build): expose provenance and sbom schema fields for buildx builds by @busla in #840
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.1 by @renovate[bot] in #914
- fix(deps): update module github.com/masterminds/semver/v3 to v3.5.0 by @renovate[bot] in #916
- feat: Add docker_compose resource by @Junkern in #918
- chore(deps): update dependency golangci/golangci-lint to v2.12.2 by @renovate[bot] in #919
- feat: Add plaintext
data_rawinput for human-readabledocker_configdiffs by @Copilot in #913 - chore: Update README and improve renovate by @Junkern in #923
- chore(deps): pin dependencies by @renovate[bot] in #924
- chore(config): migrate Renovate config by @renovate[bot] in #925
- chore: Prepare release v4.3.0 by @Junkern in #926
New Contributors
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
- Expose attached container network addresses in
docker_networkdata source by @Copilot in #897 - docs: add missing docker_exec/buildx examples and align action name to docker_exec by @Copilot in #898
- feat: Add docker import action by @Junkern in #900
- Fix
docker_container.container_logsto return demultiplexed log content by @Copilot in #899 - Normalize
docker_servicemax_failure_ratiodiffs to prevent0vs0.0drift by @Copilot in #901 - Fix flaky
docker_containerdestroy by disabling link removal during delete by @Copilot in #902 - feat: Implement docker registry image tags resource by @Junkern in #903
- chore: Replace git-chglog with git-cliff by @Junkern in #904
- fix(deps): update module github.com/hashicorp/terraform-plugin-mux to v0.23.1 by @renovate[bot] in #905
- fix(deps): update module github.com/masterminds/semver/v3 to v3.4.0 by @renovate[bot] in #906
- chore: Prepare release 4.2.0 by @Junkern in #907
Full Changelog: v4.1.0...v4.2.0
v4.1.0
What's Changed
- feat: Implement docker_exec action by @Junkern in #885
- Allow
docker_registry_image.auth_configto mirror providerregistry_authoptional credentials by @Copilot in #887 - Add
platformsupport todocker_containerfor cross-architecture emulation by @Copilot in #886 - Avoid
docker_containerreplacement when only daemon defaultlog_optsare present by @Copilot in #888 - fix(deps): update module github.com/containerd/platforms to v1.0.0-rc.4 by @renovate[bot] in #889
- fix: Make container deletion idempotent for missing containers by @robertbreker in #891
- Fix
docker_serviceplatform flattening hash to prevent platform list drift on updates by @Copilot in #892 - Add Plugin Framework
docker_containersdata source for Docker container enumeration by @Copilot in #893 - Prevent
docker_containerread panic with CDIdevice_requestsby hardening device flattening by @Copilot in #895 - chore: Prepare release 4.1.0 by @Junkern in #896
New Contributors
- @robertbreker made their first contribution in #891
Full Changelog: v4.0.0...v4.1.0
v4.0.0
v4.0.0
Please read https://github.com/kreuzwerker/terraform-provider-docker/blob/master/docs/v3_v4_migration.md
This is a major release with potential breaking changes. For most users, however, no changes to terraform code are needed.
What's Changed
New Features
- feat: Add muxing to introduce new plugin framework by @Junkern in #838
- Feature: Multiple enhancements by @Junkern in #854
- Feat: Make buildx builder default by @Junkern in #855
- Feature: Add new docker container attributes by @Junkern in #857
- feat: add selinux_relabel attribute to docker_container volumes by @Junkern in #883
- feat: Add CDI device support by @jdon in #762
- feat: Implement proper parsing of GPU device requests when using gpus… by @Junkern in #881
Fixes
- fix(deps): update module golang.org/x/sync to v0.19.0 by @renovate[bot] in #828
- fix(deps): update module github.com/hashicorp/terraform-plugin-log to v0.10.0 by @renovate[bot] in #823
- fix(deps): update module github.com/morikuni/aec to v1.1.0 by @renovate[bot] in #829
- fix(deps): update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in #830
- fix(deps): update module github.com/sirupsen/logrus to v1.9.4 by @renovate[bot] in #836
- chore: Add deprecation for docker_service.networks_advanced.name by @Junkern in #837
- fix: Refactor docker container state handling to properly restart whe… by @Junkern in #841
- fix: docker container stopped ports by @Junkern in #842
- fix: correctly set docker_container devices by @Junkern in #843
- fix(deps): update module github.com/katbyte/terrafmt to v0.5.6 by @renovate[bot] in #844
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.2 by @renovate[bot] in #847
- fix: Use DOCKER_CONFIG env same way as with docker cli by @Junkern in #849
- Fix: calculation of Dockerfile path in docker_image build by @Junkern in #853
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #825
- chore(deps): update hashicorp/setup-terraform action to v4 by @renovate[bot] in #860
- fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.30.0 by @renovate[bot] in #861
- fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.18.0 by @renovate[bot] in #862
- fix(deps): update module github.com/hashicorp/terraform-plugin-mux to v0.22.0 by @renovate[bot] in #863
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.39.0 by @renovate[bot] in #864
- chore(deps): update docker/setup-docker-action action to v5 by @renovate[bot] in #866
- chore(deps): update dependency golangci/golangci-lint to v2.10.1 by @renovate[bot] in #869
- fix(deps): update module golang.org/x/sync to v0.20.0 by @renovate[bot] in #872
- Prevent
docker_registry_imagepanic on registries returning nil body without digest header by @Copilot in #880 - fix: Handle size_bytes in tmpfs_options in docker_service by @Junkern in #882
- chore(deps): update dependency golangci/golangci-lint to v2.11.4 by @renovate[bot] in #871
- fix: tests for healthcheck is not required for docker container resource by @vnghia in #834
- chore: Prepare 4.0.0 release by @Junkern in #884
New Contributors
Full Changelog: v3.9.0...v4.0.0
v4.0.0-beta2
Beta New Major Release
Please take a look at https://github.com/kreuzwerker/terraform-provider-docker/blob/master/docs/v3_v4_migration.md for breaking changes.
v4.0.0-beta1
Beta New Major Release
Please take a look at https://github.com/kreuzwerker/terraform-provider-docker/blob/master/docs/v3_v4_migration.md for breaking changes.
v3.9.0
Please note
Due to the only maintainer @Junkern not being org admin of the kreuzwerker org, he cannot update the GPG key in the terraform registry. All versions starting with v3.7.0 are signed with a new GPG key (because the old one expired) - installing this through the usual terraform registry does not work. Please set the source value to registry.opentofu.org/kreuzwerker/docker.
What's Changed
- feat: Implement caching of docker provider by @Junkern in #808
- fix: docker_service label can be updated without recreate by @Junkern in #814
- fix: test attribute of docker_service healthcheck is not required by @Junkern in #815
Chores
- chore: Prepare release v3.8.0 by @Junkern in #806
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.24.0 by @renovate[bot] in #807
- fix(deps): update module github.com/docker/cli to v28.5.2+incompatible by @renovate[bot] in #816
- fix(deps): update module github.com/docker/docker to v28.5.2+incompatible by @renovate[bot] in #817
- fix(deps): update module golang.org/x/sync to v0.18.0 by @renovate[bot] in #820
- chore(deps): update golangci/golangci-lint-action action to v9 by @renovate[bot] in #819
- chore: Prepare release v3.9.0 by @Junkern in #821
Full Changelog: v3.8.0...v3.9.0
v3.8.0
Please note
Due to the only maintainer @Junkern not being org admin of the kreuzwerker org, he cannot update the GPG key in the terraform registry. All versions starting with v3.7.0 are signed with a new GPG key (because the old one expired). Installing this version with terraform might lead to problems. Setting the source value to registry.opentofu.org/kreuzwerker/docker works.
What's Changed
Features
- feat: Implement docker cluster volume by @Junkern in #793
- feat: implement mac_address for networks_advanced by @Junkern in #794
- feat: Add build attribute for docker_registry_image by @Junkern in #805
- feat: Add build option for additional contexts by @Junkern in #798
Fixes
- fix(container): omit sending systempaths=unconfined to daemon by @Junkern in #796
- fix(buildx): Recreate builder if deleted out-of-band by @Junkern in #797
Chores
- fix(deps): update module google.golang.org/protobuf to v1.36.8 by @renovate[bot] in #775
- fix(deps): update module google.golang.org/protobuf to v1.36.9 by @renovate[bot] in #787
- fix(deps): update module golang.org/x/sync to v0.17.0 by @renovate[bot] in #785
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.23.0 by @renovate[bot] in #788
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.1 by @renovate[bot] in #789
- fix(deps): update module github.com/docker/cli to v28.4.0+incompatible by @renovate[bot] in #781
- fix(deps): update module google.golang.org/protobuf to v1.36.10 by @renovate[bot] in #799
- fix(deps): update module github.com/docker/cli to v28.5.0+incompatible by @renovate[bot] in #800
- fix(deps): update module github.com/docker/docker to v28.5.0+incompatible by @renovate[bot] in #782
- fix(deps): update module github.com/docker/docker to v28.5.1+incompatible by @renovate[bot] in #804
- fix(deps): update module github.com/docker/cli to v28.5.1+incompatible by @renovate[bot] in #803
Full Changelog: v3.7.0...v3.8.0