Skip to content

Releases: docker/compose

v2.24.1

18 Jan 10:02
83e0207
Compare
Choose a tag to compare

What's Changed

🐛 Fixes

  • Stop the resource timer after last expected event by @ndeloof in #11357
  • fix engine version require to use healthcheck.start_interval by @ndeloof in #11360
  • fix(tracing): batch span exports to prevent blocking by @milas in #11364

🔧 Internal

⚙️ Dependencies

  • build(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 by @dependabot in #11347
  • build(deps): bump github.com/docker/cli from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible by @dependabot in #11348
  • build(deps): bump github.com/docker/docker from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible by @dependabot in #11349
  • build(deps): bump github.com/docker/cli from 25.0.0-rc.2+incompatible to 25.0.0-rc.3+incompatible by @dependabot in #11365
  • build(deps): bump github.com/docker/docker from 25.0.0-rc.2+incompatible to 25.0.0-rc.3+incompatible by @dependabot in #11367
  • bump version of compose-go to v2.0.0-rc.1 by @glours in #11368

Full Changelog: v2.24.0...v2.24.1

v2.24.0

11 Jan 13:23
8b16ab1
Compare
Choose a tag to compare

What's Changed

Breaking change ⚠️

  • service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.

✨ Enhancements

  • Implement docker compose attach by @g0t4 in #11181
  • Introduce ps --orphans to include/exclude services not declared by project by @ndeloof in #11220
  • Introduce compose logs --index to select a replica container by @ndeloof in #11231
  • --with-dependencies let docker compose build build dependencies transitively by @ndeloof in #11290
  • Introduce stats command by @ndeloof in #11299
  • Add source policies for build by @cpuguy83 in #11325

🐛 Fixes

🔧 Internal

⚙️ Dependencies

New Contributors

Full Changelog: v2.23.3...v2.24.0

v2.24.0-birthday.10 🥳

11 Dec 14:29
Compare
Choose a tag to compare
Pre-release

This is a pre-release to celebrate 10 years of Docker Compose since 0eb7d30

✨ Features

  • Introduce ps --orphans to include/exclude services not declared by project by @ndeloof in #11220
  • Log we don't expose service ports when --verbose by @ndeloof in #11227
  • Introduce logs --index to select a replica container by @ndeloof in #11231
  • Add support for start_interval by @ndeloof in #10939

🐛 Fixes

🔧 Internal

⚙️ Dependencies

New Contributors

Full Changelog: v2.23.3...v2.24.0-birthday.10

v2.23.3

23 Nov 08:49
Compare
Choose a tag to compare

⚙️ Dependencies

  • bump buildx to v0.12.0 and adapt code to changes by @glours in #11217

Full Changelog: v2.23.2...v2.23.3

v2.23.2

22 Nov 16:31
a1aceba
Compare
Choose a tag to compare

✨ Features

  • push also consider build.tags by @ndeloof in #11201
  • Build services with the latest version of the source code when starting watch command by @glours in #11213

🐛 Fixes

  • Fix --remove-orphans not to consider disabled services as orphaned by @ndeloof in #11204
  • Identify services to build and don't display 'building' if none by @glours in #11209

🔧 Internal

  • Make it context aware and add test skipping options through environment variables by @ulyssessouza in #11192
  • Introduce RuntimeVersion for code to check container runtime support by @ndeloof in #11206
  • Avoid use of []types.ServiceConfig by @ndeloof in #11211
  • Assume /src/pkg/compose/testdata absolute workingdir to make tests reproducible by @ndeloof in #11212

⚙️ Dependencies

  • Build(deps): bump github.com/moby/buildkit from 0.12.2 to 0.12.3 by @dependabot in #11112
  • Build(deps): bump github.com/docker/docker from 24.0.6+incompatible to 24.0.7+incompatible by @dependabot in #11143
  • Build(deps): bump github.com/docker/cli from 24.0.6+incompatible to 24.0.7+incompatible by @dependabot in #11142
  • Build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in #11214
  • Build(deps): bump github.com/compose-spec/compose-go from 1.20.1 to 1.20.2 by @dependabot in #11215

Full Changelog: v2.23.1...v2.23.2

v2.23.1

16 Nov 07:50
Compare
Choose a tag to compare

✨ Features

  • align with OCI artifact best practices by @ndeloof in #11121
  • introduce --resolve-image-digests for publish to seal service images by @ndeloof in #11136
  • improve watch configuration logging by @glours in #11161
  • reject compose file using secrets|configs.driver or template_driver by @ndeloof in #11185

🐛 Fixes

🔧 Internal

New Contributors

Full Changelog: v2.23.0...v2.23.1

v2.23.0

18 Oct 15:52
Compare
Choose a tag to compare

✨ Features

  • Add dry-run support for publish command (#11067)
  • Add COMPOSE_ENV_FILES env variable to pass a list of env files (#11061)
  • Add sync+restart action to compose watch (#11095)

🐛 Fixes

  • Truncate compose ps output to align with Docker CLI by default and introduce --no-trunc to keep the previous behaviour (#11038)
  • Update the watch warning message when no services with a develop section (#11047)
  • Include image name in inspect error message (#11006)
  • Make hashes between up and configure consistent (#11010)
  • Warn user remote resource is disabled (#11051)
  • Enable profile when down is ran with explicit service names (#11108)
  • Check that the pull policy provided is a valid one (#11109)

🔧 Internal

  • Align OCI artifacts with upstream guidance (#11049)
  • remove cucumber tests as we haven't added new ones for a while (#11076)
  • remove refrecence docs generation (#11085)

What's Changed

  • build(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in #11036
  • truncate command by default, introduce --no-trunc flag to get the full command by @ndeloof in #11038
  • Make tests verbose by @rumpl in #11045
  • update the watch warning message when no services with a develop section by @glours in #11047
  • Align OCI artifacts with upstream guidance by @neersighted in #11049
  • Include image name in error message by @mattwalo32 in #11006
  • deps: remove deprecated github.com/pkg/errors by @mmorel-35 in #11042
  • Make hashes between up and configure consistent by @mattwalo32 in #11010
  • add dry-run support for publish command by @glours in #11067
  • add support of COMPOSE_ENV_FILES env variable to pass a list of env files by @glours in #11061
  • remove cucumber tests as we haven't added new ones for a while by @glours in #11076
  • remove refrecence docs generation by @glours in #11085
  • build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #11068
  • build(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 by @dependabot in #11105
  • build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #11083
  • build(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.7 by @dependabot in #11078
  • add sync+restart action to watch attribute by @glours in #11095
  • warn user remote resource is disabled by @ndeloof in #11051
  • enable profile when down is ran with explicit service names by @ndeloof in #11108
  • check that the pull policy provided is a valid one by @glours in #11109

New Contributors

Full Changelog: v2.22.0...v2.23.0

v2.22.0

21 Sep 15:55
bd32ed1
Compare
Choose a tag to compare

💁🏻 Upgrade Notes

  • watch command is now GA and can be directly used from the root command docker compose watch

✨ Features

  • Experimental support of publish command (#10949)
  • watch now build and launch the project at start (#10957)
  • Add policy option to the --pull flag (#10981)

🐛 Fixes

  • Fix various race/deadlock conditions for up command on exit (#10934)
  • Fix for multi-plaform issues on build (#10956)
  • Enable services explicitly requested even if their profiles aren't activated (#10952)
  • Fix config bug when declared env_file are missing (#11025)

🔧 Internal

What's Changed

New Contributors

Full Changelog: v2.21.0...v2.22.0

v2.21.0

30 Aug 22:27
d6f842b
Compare
Choose a tag to compare

💁🏻 Upgrade Notes

  • Format of docker compose ps and docker compose ps --format=json changed to better align with docker ps output (#10918)

✨ Features

🐛 Fixes

🔧 Internal

What's Changed

New Contributors

Full Changelog: v2.20.3...v2.21.0

v2.20.3

11 Aug 09:47
8d0df18
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

Fixes 🐛

  • Progress: minor correctness fixes by @milas in #10871
  • Up: do not warn on successful optional dependency complete by @milas in #10870
  • Build: fix missing proxy build args for classic builder by @milas in #10887

Internal 🔧

  • Trace: do not block connecting to OTLP endpoint by @milas in #10882
  • Test: fix e2e test for privileged builds by @milas in #10873
  • Test: temporarily disable an exit-code-from Cucumber test case by @milas in #10875
  • Watch: support multiple containers for tar implementation by @milas in #10860
  • Watch: batch & de-duplicate file events by @milas in #10865
  • Watch: enable tar-based syncer by default by @milas in #10877
  • Update Config comment in API Service interface by @prafgup in #10840
  • Update README and CI workflows to match main branch by @glours in #10889

Dependencies ⚙️

  • Build(deps): bump github.com/docker/cli from 24.0.4+incompatible to 24.0.5+incompatible by @dependabot in #10845
  • Build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 by @dependabot in #10847
  • Build(deps): bump github.com/containerd/containerd from 1.7.2 to 1.7.3 by @dependabot in #10850
  • Build(deps): bump github.com/docker/docker from 24.0.5-0.20230714235725-36e9e796c6fc+incompatible to 24.0.5+incompatible by @dependabot in #10844
  • Update to go1.20.7 by @thaJeztah in #10861
  • Upgrade Golang to 1.21 by @glours in #10890
  • Bump compose-go to version v1.18.0 by @glours in #10891
  • Bump compose-go to version v1.18.1 by @glours in #10893
  • Build(deps): bump github.com/moby/buildkit from 0.12.1-0.20230717122532-faa0cc7da353 to 0.12.1 by @dependabot in #10867

New Contributors

Full Changelog: v2.20.2...v2.20.3