Skip to content

Releases: docker/compose

v2.12.1

21 Oct 14:59
e8ea3ad
Compare
Choose a tag to compare

What's Changed

🐛 Security Fixes

  • update docker engine API to apply fix of CVE-2022-39253 by @glours in #9934

🔧 Internal

Full Changelog: v2.12.0...v2.12.1

v2.12.0

18 Oct 17:39
32ae036
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

🐛 Fixes

  • don't fail when trying to remove an orphan container during down command by @glours in #9896

🔧 Internal

Bumps

New Contributors

Full Changelog: v2.11.2...v2.12.0

v2.11.2

27 Sep 17:36
616777e
Compare
Choose a tag to compare

ℹ️ Upgrade Notes

  • Updates on environment file syntax & interpolation: see #9879 🔖
  • Setting DOCKER_HOST via .env files is not supported in Compose v2

🐛 Fixes

  • Prevent "invalid template" errors on valid environment variable values (#9806, #9746, #9704, #9294)
  • Ensure new images from docker compose build are used (#9856)
  • Fix cross-architecture builds when DOCKER_DEFAULT_PLATFORM not set (#9866)
  • Fix intermittent conflict errors when using depends_on (#9014)
  • Clear service CMD when entrypoint is overridden (#9622)

🔧 Internal

  • Reduced permissions for GitHub Actions CI jobs
  • CI now runs on Windows & macOS including E2E tests via Docker Desktop
  • Upgrade to compose-go v1.6.0
  • Internal support for shell completion (not ready yet!)

What's Changed

  • Add merge GitHub Actions workflow to run tests on Windows and macOS runners by @laurazard in #9863
  • configure default builder export when no build.platforms defined by @glours in #9862
  • keep the platform defined, in priority, via DOCKER_DEFAULT_PLATFORM o… by @glours in #9866
  • Remove support for DOCKER_HOST in .env files by @milas in #9871
  • clean service command if entrypoint is overrided in run command by @glours in #9836
  • Add completion command and fix convert by @ulyssessouza in #9269
  • ci: upgrade to compose-go v1.6.0 by @milas in #9876
  • add more information when service.platform isn't part of service.build.platforms by @bkielbasa in #9868
  • GitHub Workflows security hardening by @sashashura in #9874
  • deps: fix race condition during graph traversal by @milas in #9878

New Contributors

Full Changelog: v2.11.1...v2.11.2

v2.11.1

20 Sep 09:38
db88241
Compare
Choose a tag to compare

What's Changed

Fixes 🐛

  • Keep depends_on condition when service has volumes_from by @laurazard in #9849
  • keep the platform defined at service level during build if no build patforms provided by @glours in #9847
  • keep the platform defined via DOCKER_DEFAULT_PLATFORM during build if no build platforms provided by @glours in #9854

Full Changelog: v2.11.0...v2.11.1

v2.11.0

14 Sep 11:38
c4d79e6
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

Fixes 🐛

  • Correctly capture exit code when service has dependencies by @laurazard in #9794
  • Fix down with --rmi by @ulyssessouza in #9715
  • Fix docker-compose convert that turns $ into $$ when using the --no-interpolate option by @BergLucas in #9703
  • patch: build.go access custom labels directly cause panic by @RiskyFeryansyahP in #9810
  • Apply newly loaded envvars to "DockerCli" and "APIClient" by @ulyssessouza in #9817
  • Only attempt to start specified services on compose start [services] by @laurazard in #9797
  • build: label built images for reliable cleanup on down by @milas in #9819

Internal 🔧

Bumps

  • build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0 by @dependabot in #9802
  • build(deps): bump github.com/cnabio/cnab-to-oci from 0.3.6 to 0.3.7 by @dependabot in #9809
  • build(deps): bump go.opentelemetry.io/otel from 1.9.0 to 1.10.0 by @dependabot in #9835
  • build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6 by @dependabot in #9830
  • build(deps): bump go.opentelemetry.io/otel from 1.4.1 to 1.9.0 by @dependabot in #9821
  • update compose-go version to v1.5.1 by @glours in #9840

New Contributors

Full Changelog: v2.10.2...v2.11.0

v2.10.2

26 Aug 20:22
6965113
Compare
Choose a tag to compare

Fixes 🐛

  • Properly respect DOCKER_TLS_VERIFY and DOCKER_CERT_PATH (#9792)

Internal 🔧

What's Changed

  • Revert "Apply newly loaded envvars to DockerCli and APIClient" by @milas in #9792
  • Makefile: mutualize local and Dockerfile build opts by @crazy-max in #9776

Full Changelog: v2.10.1...v2.10.2

v2.10.1

24 Aug 14:57
8840649
Compare
Choose a tag to compare

Fixes 🐛

  • Fix image pulls being skipped when pull_policy not set (#9773)
  • Restore .sha256 checksum files in release artifacts (#9772)

What's Changed

Full Changelog: v2.10.0...v2.10.1

v2.10.0

19 Aug 15:12
f880b41
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

Fixes 🐛

  • Give environment variables precedence back to OS over .env by @ulyssessouza in #9761
  • Update usage strings for consistency by @thaJeztah in #9706
  • Resolve environment variables case-insensitively on Windows by @ikedam in #9438
  • Do not stop dependency containers by @milas in #9701
  • If command is ran with a compose file, apply the compose model by @ndeloof in #9375
  • Remove extra whitespaces in help text of some subcommands by @tkhoa2711 in #9710
  • Don't apply default pull policy from command line if one is defined in service configuration by @glours in #9720
  • Filter out commandConn.Close* warning message by @crazy-max in #9748
  • Don't wait for disabled dependency by @nicksieger in #9759
  • Apply compose model on compose kill, add --remove-orphans by @laurazard in #9764
  • Avoid pulling same images multiple times ⚡️ by @KoditkarVedant in #9173

Internal 🔧

Bumps

  • Bump to Go 1.18.5 by @milas in #9708
  • Upgrade BuildKit & docker/distribution by @milas in #9709
  • Bump github.com/cnabio/cnab-to-oci from 0.3.5 to 0.3.6 by @dependabot in #9714
  • Fix version of golangci-lint to v1.47.3, issue with v1.48.0 for now by @glours in #9722
  • Bump github.com/containerd/containerd from 1.6.6 to 1.6.7 by @dependabot in #9723
  • Update Docker CLI version use in CI to v20.10.17 by @glours in #9721
  • Bump github.com/containerd/containerd from 1.6.7 to 1.6.8 by @dependabot in #9736
  • Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 by @dependabot in #9754

New Contributors

Full Changelog: v2.9.0...v2.10.0

v2.9.0

01 Aug 16:20
7289e87
Compare
Choose a tag to compare

⚠️ Warning notice ⚠️

Note
Compose v2.9.0 contains changes to environment variable precedence that have since been reverted. We recommend using v2.10+ to avoid compatibility issues.

Note
This version revert the breaking changes introduce in Compose v2.8.0 by compose-go v1.3.0

What's Changed

Fixes 🐛

Internal 🔧

  • Link to BUILDING.md for testing instructions by @ikedam in #9639
  • update to compose-go v1.4.0 as previous version introduced breaking changes by @glours in #9700

New Contributors

Full Changelog: v2.8.0...v2.9.0

v2.8.0

29 Jul 19:34
9a131a0
Compare
Choose a tag to compare

⚠️ Warning notice ⚠️

This release introduced a breaking change via compose-go v1.3.0 and this PR.
Docker Compose will recreate new resources (networks, volumes, secrets, configs...) with new names, using a - instead a _ and try to connect/use to this new created resources instead of your existing ones!
Please use Compose v2.9.0 instead

What's Changed

Enhancements ✨

Fixes 🐛

Internal 🔧

  • CI(docs): use push-to-fork when creating pr by @crazy-max in #9670
  • Increase code quality by adding gocritic to the linters
  • Use env variable for golang version and updates gh actions from v2 to v3 by @glours in #9675
  • Use Google addlicense instead of kunalkushwaha/ltag by @glours in #9677

Changelog

New Contributors

Full Changelog: v2.7.0...v2.8.0