Skip to content

Releases: docker/compose

v5.2.0

23 Jun 14:56
v5.2.0

Choose a tag to compare

What's Changed

ℹ️ This version introduces a new reconciliation algorithm between the observed state and the expected state.

If you experience any issues with a Compose workload that was previously working, please open an issue.

✨ Improvements

🐛 Fixes

  • Fix(build): skip remote URL contexts from bake fs.read allowlist by @ndeloof in #13816
  • Skip validation when extracting config variables by @scarab-systems in #13831
  • Fix(progress): probe stderr (not stdout) for TTY auto-detection by @glours in #13837
  • Fix(publish): honor env_file required: false for missing files by @Ijtihed in #13848

🔧 Internal

  • Docs: compose logs: add links for since/until flag descriptions by @thaJeztah in #13806
  • Ci: add Dependabot cooldown (20260603-170456) by @securityeng-bot[bot] in #13820
  • Docs(CLAUDE.md): note that commits must be signed off (DCO) by @ndeloof in #13817
  • Refactor: replace Split in loops with more efficient SplitSeq and replace HasPrefix+TrimPrefix with CutPrefix by @caltechustc in #13810
  • Chore: fix some comments to improve readability by @solunolab in #13823
  • GHA: update docs-upstream to pin workflows by sha by @thaJeztah in #13834
  • Docs: compose logs: add more links for flag descriptions by @thaJeztah in #13833
  • Fix/progress tty line overflow 13595 by @glours in #13840
  • Fix(publish): bypass Docker Desktop proxy for loopback registries by @ptrdom in #13825
  • Watch: do not rebuild depends_on services on file change by @ndeloof in #13856
  • pkg/e2e: fix malformed JWT in fixtures by @thaJeztah in #13857
  • pkg/e2e: drop unused run param from getEnv by @glours in #13867
  • Docs: ps --format json outputs JSON Lines, not a JSON array by @glours in #13868

⚙️ Dependencies

  • Build(deps): bump github.com/docker/cli from 29.5.1+incompatible to 29.5.2+incompatible by @dependabot[bot] in #13802
  • Update to go 1.26.4 by @thaJeztah in #13828
  • Chore(deps): github.com/containerd/typeurl/v2 v2.3.0 by @thaJeztah in #13829
  • Build(deps): bump golang.org/x/sync from 0.20.0 to 0.21.0 by @dependabot[bot] in #13838
  • Chore(deps): github.com/docker/cli v29.5.3, github.com/docker/buildx v0.34.1, buildkit v0.30.0 by @thaJeztah in #13841
  • Build(deps): bump golang.org/x/sys from 0.45.0 to 0.46.0 by @dependabot[bot] in #13832
  • Chore(deps): golang.org/x/crypto v0.53.0 by @thaJeztah in #13844
  • Build(deps): bump github.com/containerd/containerd/v2 from 2.2.3 to 2.2.4 in the go_modules group across 1 directory by @dependabot[bot] in #13804
  • Chore(deps): bump github.com/containerd/containerd/v2 to v2.2.5 by @thaJeztah in #13855
  • Chore(deps): bump github.com/golang-jwt/jwt/v5 to v5.3.1 by @thaJeztah in #13847
  • Chore(deps): github.com/docker/cli v29.6.0, github.com/docker/buildx v0.35.0, buildkit v0.31.0 by @thaJeztah in #13842
  • Bump compose-go to version v2.12.1 by @glours in #13865

New Contributors

Full Changelog: v5.1.4...v5.2.0

v5.1.4

20 May 15:22
v5.1.4

Choose a tag to compare

What's Changed

✨ Improvements

  • feat: add stop lifecycle hook for external providers by @glours in #13779

🐛 Fixes

  • fix: route OCI artifact pulls through Docker Desktop HTTP proxy by @glours in #13770
  • fix: restore stoppingEvent/stoppedEvent helpers for plugin stop hook by @glours in #13794
  • fix(publish): flag literal inline environment values by @glours in #13760

🔧 Internal

⚙️ Dependencies

  • build(deps): bump github.com/mattn/go-shellwords from 1.0.12 to 1.0.13 by @dependabot[bot] in #13731
  • build(deps): bump github.com/docker/cli from 29.4.0+incompatible to 29.4.2+incompatible by @dependabot[bot] in #13768
  • build(deps): bump github.com/moby/moby/client from 0.4.0 to 0.4.1 by @dependabot[bot] in #13752
  • build(deps): bump github.com/docker/cli from 29.4.2+incompatible to 29.4.3+incompatible by @dependabot[bot] in #13776
  • build(deps): bump google.golang.org/grpc from 1.80.0 to 1.81.0 by @dependabot[bot] in #13775
  • build(deps): update to go 1.26.3 by @thaJeztah in #13783
  • build(deps): bump google.golang.org/grpc from 1.81.0 to 1.81.1 by @dependabot[bot] in #13791
  • build(deps): bump github.com/compose-spec/compose-go/v2 from 2.10.2 to 2.11.0 by @dependabot[bot] in #13798
  • build(deps): bump github.com/docker/cli from 29.4.3+incompatible to 29.5.1+incompatible by @dependabot[bot] in #13796
  • build(deps): bump golang.org/x/sys from 0.42.0 to 0.44.0 by @dependabot[bot] in #13788

New Contributors

Full Changelog: v5.1.3...v5.1.4

v5.1.3

15 Apr 14:31
v5.1.3

Choose a tag to compare

What's Changed

🐛 Fixes

  • fix: provider output handling and watch rebuild re-invocation by @glours in #13732

🔧 Internal

  • Add Docker Desktop Logs view hints and navigation shortcut by @glours in #13721
  • Build and push Docker Desktop module image on release by @glours in #13726
  • Fix typo in SECURITY.md by @glours in #13730
  • Make hook hint deep links clickable using OSC 8 terminal hyperlinks by @glours in #13734
  • Remove 'provenance' attribute' by @glours in #13738

⚙️ Dependencies

  • build(deps): bump github.com/containerd/containerd/v2 from 2.2.2 to 2.2.3 by @dependabot[bot] in #13737

Full Changelog: v5.1.2...v5.1.3

v5.1.2

09 Apr 09:21
v5.1.2

Choose a tag to compare

What's Changed

🐛 Fixes

🔧 Internal

  • Refactor: thread context through publish sensitive data check by @ishwar170695 in #13653
  • Add AI-powered PR review workflow via docker/cagent-action by @glours in #13659
  • Update cagent-action to latest (with better permissions) by @derekmisler in #13665
  • Pin GitHub Actions to commit SHA, remove pr-review workflow by @glours in #13662
  • Exclude hook_test.go from Windows builds and propagate ExecStart error in runWaitExec by @pawannn in #13683
  • Skip PR review workflow for Dependabot PRs by @glours in #13679
  • Use negotiated API version for network setup by @glours in #13690
  • Fix mixed assertion libraries in tests by @thaJeztah in #13689
  • Test: use random host port for dind TLS build test by @ricardobranco777 in #13630
  • Remove direct dependency on docker/docker by @glours in #13706

⚙️ Dependencies

  • Bump github.com/containerd/platforms from 1.0.0-rc.2 to 1.0.0-rc.3 by @dependabot[bot] in #13657
  • Bump golangci-lint to v2.11.3 and configure CLAUDE to use it on change by @ndeloof in #13656
  • Bump google.golang.org/grpc from 1.78.0 to 1.79.3 by @dependabot[bot] in #13642
  • Bump github.com/moby/patternmatcher from 0.6.0 to 0.6.1 by @dependabot[bot] in #13667
  • Bump go.opentelemetry.io/otel/sdk from 1.39.0 to 1.42.0 by @glours in #13663
  • Bump github.com/docker/cli from 29.2.1+incompatible to 29.3.1+incompatible by @dependabot[bot] in #13670
  • Bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 by @dependabot[bot] in #13692
  • Bump github.com/docker/buildx v0.33.0, buildkit v0.29.0 by @thaJeztah in #13693
  • Bump google.golang.org/grpc from 1.79.3 to 1.80.0 by @dependabot[bot] in #13697
  • Bump github.com/containerd/platforms from 1.0.0-rc.3 to 1.0.0-rc.4 by @dependabot[bot] in #13696
  • Bump github.com/moby/moby/client v0.4.0, moby/api v1.54.1 by @thaJeztah in #13708
  • Bump github.com/docker/cli v29.4.0 by @thaJeztah in #13707
  • Bump compose-go to version v2.10.2 by @glours in #13705
  • Bump to Go 1.25.9 by @thaJeztah in #13720

New Contributors

Full Changelog: v5.1.1...v5.1.2

v5.1.1

20 Mar 05:34

Choose a tag to compare

What's Changed

🐛 Fixes

⚙️ Dependencies

New Contributors

Full Changelog: v5.1.0...v5.1.1

v5.1.0

24 Feb 16:42

Choose a tag to compare

What's Changed

🐛 Fixes

🔧 Internal

⚙️ Dependencies

New Contributors

Full Changelog: v5.0.2...v5.1.0

v5.0.2

21 Jan 07:42

Choose a tag to compare

What's Changed

🐛 Fixes

🔧 Internal

⚙️ Dependencies

New Contributors

Full Changelog: v5.0.1...v5.0.2

v5.0.1

18 Dec 14:22

Choose a tag to compare

What's Changed

🐛 Fixes

⚙️ Dependencies

New Contributors

Full Changelog: v5.0.0...v5.0.1

v5.0.0 "Mont Blanc"

02 Dec 10:33

Choose a tag to compare

mont blanc

Major changes in this release:

  • Compose can now officially be used as a SDK to be integrated into third-party softwares
  • Internal builder has been removed, build is delegated to Docker Bake (same as docker build command)

Why "v5" ?

We decided to skip 3.0.0 for next major release after docker Compose v2 to prevent (more) confusion with the obsolete docker-compose file versions 2.x and 3.x inherited from Docker Compose v1. We also skipped 4.0.0 to have a clear separation with this legacy.

What's Changed

✨ Improvements

🐛 Fixes

🔧 Internal

⚙️ Dependencies

  • Bump compose go to v2.10.0 by @ndeloof in #13410
  • build(deps): bump github.com/containerd/platforms from 1.0.0-rc.1 to 1.0.0-rc.2 by @dependabot[bot] in #13353
  • build(deps): bump github.com/docker/docker from 28.5.1+incompatible to 28.5.2+incompatible by @dependabot[bot] in #13361
  • build(deps): bump github.com/containerd/containerd/v2 from 2.1.4 to 2.2.0 by @dependabot[bot] in #13358
  • build(deps): bump github.com/docker/cli from 28.5.1+incompatible to 28.5.2+incompatible by @dependabot[bot] in #13360
  • build(deps): bump golang.org/x/sys from 0.37.0 to 0.38.0 by @dependabot[bot] in #13367
  • build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 by @dependabot[bot] in #13368
  • Dockerfile: update golangci-lint to v2.6.2 by @thaJeztah in #13370
  • build(deps): bump buildx v0.30.0, buildkit v0.26.0, otel v1.38.0, otel/contrib v0.63.0 by @thaJeztah in #13379
  • bump dependencies by @ndeloof in #13392
  • build(deps): bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 by @dependabot[bot] in #13403
  • build(deps): bump golang.org/x/crypto v0.45.0 by @thaJeztah in #13405

New Contributors

Full Changelog: v2.40.2...v5.0.0

v5.0.0-rc.2

13 Nov 08:52

Choose a tag to compare

v5.0.0-rc.2 Pre-release
Pre-release

What's Changed

  • Next release will be major version v5.x by @ndeloof in #13375
  • images command should display image Created time or N/A if not available by @ndeloof in #13376

Full Changelog: v5.0.0-rc.1...v5.0.0-rc.2