Skip to content

Releases: docker/compose

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

v5.0.0-rc.1

12 Nov 16:34

Choose a tag to compare

v5.0.0-rc.1 Pre-release
Pre-release

What's Changed

This is the first (candidate) release for next major Docker Compose release.
To avoid confusion with the "v2" and "v3" legacy compose file formats, we decided to directly jump to version 5.x

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)

✨ Improvements

🐛 Fixes

  • fix(run): Ensure images exist only for the target service in run command by @idsulik in * fix typo in error message by @stasadev in #13328
    #13325

🔧 Internal

⚙️ Dependencies

  • bump compose-go to version v2.9.1 by @glours in #13332
  • 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/moby/buildkit from 0.25.1 to 0.25.2 by @dependabot[bot] in #13359
  • 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

New Contributors

Full Changelog: v2.40.2...v5.0.0-rc.1

v2.40.3

30 Oct 09:35

Choose a tag to compare

What's Changed

🐛 Fixes

🔧 Internal

⚙️ Dependencies

Full Changelog: v2.40.2...v2.40.3

v2.40.2

22 Oct 17:38

Choose a tag to compare

What's Changed

🐛 Fixes

  • Compose can't create a tar with adequate uid:gid ownership by @ndeloof in #13299
  • Test digest or canonical reference, not only tag, when checking if an image is already present by @glours in #13302

🔧 Internal

  • Fail build if minimal required version of buildx isn't installed by @ndeloof in #13295
  • remove unused code to only rely on api.Service by @ndeloof in #13300
  • Introduce WithPrompt to configure compose backend to use a plugable UI component for user interaction by @ndeloof in #13308

Full Changelog: v2.40.1...v2.40.2

v2.40.1

17 Oct 13:42

Choose a tag to compare

What's Changed

🐛 Fixes

🔧 Internal

  • pkg/compose: align classic builder implementation with docker/cli by @thaJeztah in #13278
  • pkg/compose: build with bake: drop support for buildx v0.16 and lower by @thaJeztah in #13280
  • Use fixed version of compose bridge transformer images by @glours in #13284

⚙️ Dependencies

  • Build(deps): bump github.com/docker/docker from 28.5.0+incompatible to 28.5.1+incompatible by @dependabot[bot] in #13274
  • Build(deps): bump github.com/docker/cli from 28.5.0+incompatible to 28.5.1+incompatible by @dependabot[bot] in #13273
  • Build(deps): bump golang.org/x/sys from 0.36.0 to 0.37.0 by @dependabot[bot] in #13272
  • Build(deps): bump docker/buildx v0.29.1, moby/buildkit v0.25.1 by @thaJeztah in #13279
  • Bump golang to version 1.24.9 by @glours in #13285

New Contributors

Full Changelog: v2.40.0...v2.40.1

v2.40.0

03 Oct 12:56

Choose a tag to compare

What's Changed

✨ Improvements

  • publish Compose application as compose.yaml + images by @ndeloof in #13257

🐛 Fixes

  • resolve secrets based on env var before executing bake by @ndeloof in #13237
  • pass bake secrets by env by @ndeloof in #13249
  • escape $ in bake.json as interpolation already has been managed by cpmpose by @ndeloof in #13259

🔧 Internal

⚙️ Dependencies

  • build(deps): bump github.com/docker/docker, docker/cli v28.5.0-rc.1 by @thaJeztah in #13241
  • build(deps): bump github.com/docker/docker from 28.5.0-rc.1+incompatible to 28.5.0+incompatible by @dependabot[bot] in #13260
  • build(deps): bump github.com/docker/cli from 28.5.0-rc.1+incompatible to 28.5.0+incompatible by @dependabot[bot] in #13261

Full Changelog: v2.39.4...v2.40.0

v2.39.4

19 Sep 08:49

Choose a tag to compare

What's Changed

✨ Improvements

  • Add support of develop.watch.initial_sync attribute by @glours in #13232

🐛 Fixes

  • Volume ls command can run without a project by @ndeloof in #13221
  • Fix support for build with bake when target docker endpoint requires TLS by @ndeloof in #13231
  • Disable Tty if run command started from a piped command by @glours in #13233

🔧 Internal

⚙️ Dependencies

New Contributors

Full Changelog: v2.39.3...v2.39.4

v2.39.3

09 Sep 08:27

Choose a tag to compare

What's Changed

✨ Improvements

🐛 Fixes

  • Add --provenance and --sbom flag to generated bake command line, by @glours in #13147
  • Fix runtime operations failing when env file is missing by @maxproske in #13156
  • Check the assume yes publish flag command before the presence of bind mounts by @glours in #13151
  • Fix: incorrect time when last tag time is not set by @kianelbo in #13171
  • Fix sigint/sigterm support in logs --follow by @ndeloof in #13193
  • Prefer application container vs one-off running exec without index by @ndeloof in #13178
  • Only force plain mode build if progress is set to auto by @ndeloof in #13181
  • Only propagate os.Env to bake, not the whole project.Environment by @ndeloof in #13180
  • Detect container is restarted by @ndeloof in #13210
  • Fix run --build support for service:* reference in additional_context by @ndeloof in #13183
  • Detect compose run wit --host and set DOCKER_HOST accordingly running bake by @ndeloof in #13182

🔧 Internal

⚙️ Dependencies

  • go.mod: github.com/docker/buildx v0.27.0 by @thaJeztah in #13170
  • Build(deps): bump go.uber.org/mock from 0.5.2 to 0.6.0 by @dependabot[bot] in #13162
  • go.mod: bump buildkit v0.24.0-rc1, buildx v0.28.0-rc1 by @thaJeztah in #13185
  • Build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in #13184
  • go.mod: bump buildx v0.28.0-rc2, buildkit v0.24.0-rc2 by @thaJeztah in #13197
  • Build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.9 by @dependabot[bot] in #13195
  • Build(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 by @dependabot[bot] in #13198
  • go.mod: bump github.com/docker/docker, docker/cli v28.4.0 by @thaJeztah in #13168
  • Build(deps): bump github.com/docker/buildx from 0.28.0-rc2 to 0.28.0 by @dependabot[bot] in #13207
  • Build(deps): bump github.com/spf13/pflag from 1.0.9 to 1.0.10 by @dependabot[bot] in #13200
  • Bump golang to version 1.24.7 by @glours in #13219
  • Build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 by @dependabot[bot] in #13218
  • Build(deps): bump golang.org/x/sys from 0.35.0 to 0.36.0 by @dependabot[bot] in #13217
  • Bump compose-go to version v2.8.2 by @glours in #13220

New Contributors

Full Changelog: v2.39.2...v2.39.3

v2.39.2

08 Aug 16:06

Choose a tag to compare

What's Changed

🐛 Fixes

  • Fix (regression): compose build render build output with tty support by @ndeloof in #13107
  • Add missing _MODEL suffix to model variable pass to dependent services of a model by @glours in #13109
  • Apply BUILDKIT_PROGRESS value when building with bake by @glours in #13110
  • Define pull and no_cache from either service or flags values when building with bake by @glours in #13133
  • Only monitor attached services on up command by @glours in #13114

🔧 Internal

⚙️ Dependencies

  • Build(deps): bump github.com/docker/cli from 28.3.2+incompatible to 28.3.3+incompatible by @dependabot[bot] in #13116
  • Build(deps): bump github.com/docker/docker from 28.3.2+incompatible to 28.3.3+incompatible by @dependabot[bot] in #13115
  • Build(deps): bump github.com/containerd/containerd/v2 from 2.1.3 to 2.1.4 by @dependabot[bot] in #13119
  • Build(deps): bump github.com/docker/go-connections from 0.5.0 to 0.6.0 by @dependabot[bot] in #13137
  • Build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 by @dependabot[bot] in #13138
  • Bump golang to 1.23.12 by @austinvazquez in #13142

New Contributors

Full Changelog: v2.39.1...v2.39.2

v2.39.1

24 Jul 17:02

Choose a tag to compare

What's Changed

🔧 Internal

  • Add info about models usage to OpenTelemetry spans by @glours in #13094

⚙️ Dependencies

Full Changelog: v2.39.0...v2.39.1