Volumes and networks now reconciled via plan; zero-replica services preserved
v5.4.0
2 features9 fixesThis release2 featuresNew capabilities9 fixesBug fixesAI-tallied from the release notes
From the original release noteView original ↗
What's Changed
ℹ️ This release introduces a new way to reconcile resources such as volumes and networks
✨ Improvements
- Feat(reconcile): model volume recreation in the plan by @ndeloof in https://github.com/docker/compose/pull/13962
- Feat(reconcile): model network lifecycle in the plan by @ndeloof in https://github.com/docker/compose/pull/13966
🐛 Fixes
- Fix(reconcile): preserve zero-replica services during hashing by @junhaoliao in https://github.com/docker/compose/pull/13931
- Fix(config): warn when service selection is silently ignored by @glours in https://github.com/docker/compose/pull/13950
- Fix(build): use platform image-manifest digest, not attested index by @glours in https://github.com/docker/compose/pull/13949
- Fix(oci): honor --insecure-registry when
upre-loads the model by @ptrdom in https://github.com/docker/compose/pull/13894 - Fix(config): pin type:image volume sources and pre_start hook images by @glours in https://github.com/docker/compose/pull/13956
- Tolerate missing env file on more runtime commands by @maxproske in https://github.com/docker/compose/pull/13603
- Resolve
pre_starthook images alongside service images by @ndeloof in https://github.com/docker/compose/pull/13937 - Fix(cp): return non-nil Content from dry-run CopyFromContainer by @glours in https://github.com/docker/compose/pull/13982
- Fix(config): apply config flags to
--services/--volumes/--networks/--models/--hashby @glours in https://github.com/docker/compose/pull/13979 - Fix: tolerate missing env file on scale, watch and shell completion by @glours in https://github.com/docker/compose/pull/13973
🔧 Internal
- README: remove Go Report Card badge by @thaJeztah in https://github.com/docker/compose/pull/13926
- Docs: adopt
AGENTS.mdstandard, symlinkCLAUDE.mdto it by @glours in https://github.com/docker/compose/pull/13871 - Dockerfile: update golang image to alpine
3.23by @thaJeztah in https://github.com/docker/compose/pull/13921 - Docs: require dated
AI_AGENT_DISCLOSURE.md, drop committed copy by @glours in https://github.com/docker/compose/pull/13976 - CI: publish images to Docker Hub using OIDC by @glours in https://github.com/docker/compose/pull/13994
⚙️ Dependencies
- Build(deps): bump github/codeql-action/upload-sarif from
4.36.2to4.37.0by @dependabot[bot] in https://github.com/docker/compose/pull/13942 - Build(deps): bump the docker-actions group across 1 directory with 4 updates by @dependabot[bot] in https://github.com/docker/compose/pull/13941
- Build(deps): bump actions/stale from
10.3.0to10.4.0by @dependabot[bot] in https://github.com/docker/compose/pull/13943 - Build(deps): bump github.com/mattn/go-shellwords from
1.0.13to1.0.14by @dependabot[bot] in https://github.com/docker/compose/pull/13948 - Build(deps): bump golang.org/x/sync from
0.21.0to0.22.0by @dependabot[bot] in https://github.com/docker/compose/pull/13927 - Build(deps): bump golang.org/x/sys from
0.46.0to0.47.0by @dependabot[bot] in https://github.com/docker/compose/pull/13928 - Build(deps): bump docker/github-builder/.github/workflows/bake.yml from
1.13.0to1.14.0in the docker-actions group by @dependabot[bot] in https://github.com/docker/compose/pull/13953 - Build(deps): bump google.golang.org/grpc from
1.81.1to1.82.0by @dependabot[bot] in https://github.com/docker/compose/pull/13922 - Build(deps): bump softprops/action-gh-release from
3.0.1to3.0.2by @dependabot[bot] in https://github.com/docker/compose/pull/13955 - Build(deps): bump actions/setup-go from
6.5.0to7.0.0by @dependabot[bot] in https://github.com/docker/compose/pull/13960 - Build(deps): bump google.golang.org/grpc from
1.82.0to1.82.1in the go_modules group across 1 directory by @dependabot[bot] in https://github.com/docker/compose/pull/13961 - Build(deps): bump github.com/docker/cli from
29.6.1+incompatibleto29.6.2+incompatibleby @dependabot[bot] in https://github.com/docker/compose/pull/13968 - Build(deps): bump github/codeql-action/upload-sarif from
4.37.0to4.37.3by @dependabot[bot] in https://github.com/docker/compose/pull/13981 - Build(deps): bump actions/checkout from
7.0.0to7.0.1by @dependabot[bot] in https://github.com/docker/compose/pull/13970 - Build(deps): bump github.com/moby/buildkit from
0.31.1to0.31.2by @dependabot[bot] in https://github.com/docker/compose/pull/13969 - Bump compose-go to version
v2.14.0by @glours in https://github.com/docker/compose/pull/13983 - Bump go-archive to version
v0.3.0by @glours in https://github.com/docker/compose/pull/13986 - Build(deps): bump docker/github-builder/.github/workflows/bake.yml from
1.14.0to1.15.0in the docker-actions group by @dependabot[bot] in https://github.com/docker/compose/pull/13989 - Chore(deps): bump github.com/moby/go-archive
v0.3.2by @thaJeztah in https://github.com/docker/compose/pull/13991 - Update to
go1.26.5by @thaJeztah in https://github.com/docker/compose/pull/13920 - Build(deps): bump actions/stale from
10.4.0to11.0.0by @dependabot[bot] in https://github.com/docker/compose/pull/13996 - Build(deps): bump docker/docker-agent-action/.github/workflows/review-pr.yml from
2.0.2to2.0.3in the docker-actions group by @dependabot[bot] in https://github.com/docker/compose/pull/13995 - Build(deps): bump ossf/scorecard-action from
2.4.3to2.4.4by @dependabot[bot] in https://github.com/docker/compose/pull/13984 - Chore(deps): github.com/docker/buildx
v0.36.0, buildkitv0.32.0by @glours in https://github.com/docker/compose/pull/13975 - Bump buildkit
v0.32.1by @glours in https://github.com/docker/compose/pull/13997
New Contributors
- @junhaoliao made their first contribution in https://github.com/docker/compose/pull/13931
Full Changelog: https://github.com/docker/compose/compare/v5.3.1...v5.4.0
Fetched August 4, 2026
