Releases ยท docker/compose

v5.1.0

What's Changed

๐Ÿ› Fixes

๐Ÿ”ง Internal

โš™๏ธ Dependencies

New Contributors

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

v5.0.2

What's Changed

๐Ÿ› Fixes

๐Ÿ”ง Internal

โš™๏ธ Dependencies

New Contributors

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

v5.0.1

What's Changed

๐Ÿ› Fixes

โš™๏ธ Dependencies

New Contributors

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

v5.0.0 "Mont Blanc"

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

v5.0.0-rc.1

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

v2.40.2

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

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

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