Skip to content

Releases: docker/compose

v2.17.0

22 Mar 12:59
Compare
Choose a tag to compare

💁🏻 Upgrade Notes (2.17.x)

  • Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters, -, or _ and start with a letter/number)
  • Only YAML 1.2 boolean values (true / false) are now accepted (deprecated YAML 1.1 values no longer supported: y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF)
  • Duplicate mapping keys (<<) for merging YAML anchors are not allowed (see #10411)

What's Changed

✨ Enhancements

🐛 Fixes

  • exclude unstable labels from config hash by @ndeloof in #10275
  • also restart dependent services after a service has been restarted by @ndeloof in #10273
  • ignore services without a build section by @ndeloof in #10271
  • apply config options for pseudo-subcommands by @ndeloof in #10289
  • only consider containers with config_hash labels (i.e, created by compose) by @ndeloof in #10317
  • report error if project name is empty after normalization by @ndeloof in #10334
  • restart only needed services by checking depends_on relations by @glours in #10338
  • pad can be negative on small terminal by @ndeloof in #10336
  • collect built image IDs by @ndeloof in #10372
  • one off container name use configured Separator for naming by @ndeloof in #10357
  • fix concurrent map read/write when recreating containers by @lrascao in #10379

🔧 Internal

  • add dry-run support for stop and rm by @glours in #10257
  • add dry-run support for pull command by @glours in #10341
  • add dry-run support for push command by @glours in #10355
  • add dry-run support for exec command by @glours in #10252
  • add dry-run support for restart by @glours in #10339
  • ci: use CGO for tests to enable race detector by @milas in #10261
  • ci: don't use -race on Windows by @milas in #10262
  • ci: bump to Go 1.20.1 and latest deps by @milas in #10285
  • use go 1.20 -cover support by @ndeloof in #10361
  • build and push binaries images when a PR is merged or a tag pushed by @glours in #10371
  • use CGO to enable fsevent on OSX [ENV-37] by @ndeloof in #10249
  • watch: ignore ephemeral files & minor output tweaks by @milas in #10311
  • test: tweak pause test to try and prevent failures in Windows CI by @milas in #10320
  • preserve symbol table in binaries for static analysis (govulncheck) by @tianon in #10325
  • use build as common API for build scenarios by @ndeloof in #10374

Changelog

New Contributors

Full Changelog: v2.16.0...v2.17.0

v2.17.0-rc.1

27 Feb 20:11
d4f156c
Compare
Choose a tag to compare
v2.17.0-rc.1 Pre-release
Pre-release

ℹ️ This is a pre-release version of Docker Compose

What's Changed

Full Changelog: v2.16.0...v2.17.0-rc.1

v2.16.0

08 Feb 12:33
e6e2f78
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Fixes

🔧 Internal

Changelog

  • Bump docker engine and cli version to 23.0.0 with buildkit(v0.11.2) and buildx (v0.10.2) by @glours in #10247
  • build(deps): bump github.com/containerd/containerd from 1.6.14 to 1.6.15 by @dependabot in #10142
  • Build(deps): bump github.com/containerd/containerd from 1.6.15 to 1.6.16 by @dependabot in #10216
  • Bump compose-go to version v1.9.0 by @glours in #10186
  • Build(deps): bump go.opentelemetry.io/otel from 1.11.2 to 1.12.0 by @dependabot in #10215
  • Build(deps): bump go.opentelemetry.io/otel from 1.12.0 to 1.13.0 by @dependabot in #10251
  • Bump golang to 1.20 by @glours in #10239
  • Fix Goroutine leak in v2/command/formatter by @AhmedGrati in #10192
  • Revert "Fix Goroutine leak in v2/command/formatter" by @ndeloof in #10197

New Contributors

Full Changelog: v2.15.1...v2.16.0

v2.15.1

09 Jan 14:07
00c60da
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Fixes

🔧 Internal

  • use a simpler prompt implementation when we lack a terminal by @ndeloof in #10144

Changelog

New Contributors

Full Changelog: v2.15.0...v2.15.1

v2.15.0

05 Jan 09:22
f6f29a4
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • add support of privileged attribute in service.build section by @glours in #10112
  • introduce --ignore-buildable to ignore buildable images on pull by @ndeloof in #10134
  • introduce --no-attach to ignore some service output by @ndeloof in #10137

🐛 Fixes

  • don't fail logs when driver:none is set by @ndeloof in #10107
  • don't assume os.Stdout and rely on dockerCLI.streams by @ndeloof in #10082
  • service hash MUST exclude replicas by @ndeloof in #10109
  • check service names based on project, not running containers by @ndeloof in #10111
  • fix security opts support (seccomp and unconfined) by @ndeloof in #10110
  • Fix empty file when using compose config in case of smaller source files by @rimelek in #10129
  • Set pullChanged when setting --pull on compose up by @laurazard in #10128
  • Ignore not only auto-removed containers but also "removal in progress" for orphan containers by @gtardif in #10136
  • limit build concurrency according to --parallel by @ndeloof in #10133

🔧 Internal

  • add buildx plugin to e2e configuration directory by @glours in #10113
  • cleanup framework.go from unnecessary debug logs by @glours in #10116

Changelog

New Contributors

Full Changelog: v2.14.2...v2.15.0

v2.14.2

20 Dec 09:36
ab79187
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Use DOCKER_DEFAULT_PLATFORM to determine platform when creating container by @laurazard in #10099
  • detect dependency failed to start by @ndeloof in #10101

🐛 Fixes

🔧 Internal

  • update projectOptions to be public by renaming it to ProjectOptions by @tigerinus in #10103

Changelog

  • build(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.14 by @dependabot in #10105

New Contributors

Full Changelog: v2.14.1...v2.14.2

v2.14.1

15 Dec 15:59
0eaa249
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Fixes

  • fix deadlock waiting for attached-dependencies by @ndeloof in #10029
  • fix race condition collecting pulled images IDs by @ndeloof in #10051
  • Don't stop pull for images that can be built by @ndeloof in #10054
  • Fix corner case when there's no container to attach to by @ndeloof in #10058
  • ContainerStart must run sequentially for engine to assing distinct ports within configured range by @ndeloof in #10067
  • fix parsing of repository:tag by @ndeloof in #10072
  • load project from files when explicitly set by user by @ndeloof in #10062

🔧 Internal

Changelog

New Contributors

Full Changelog: v2.14.0...v2.14.1

v2.14.0

02 Dec 19:29
6ed9a79
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Add oom_score_adj field to service definition (#10019)
  • Add mode field for tmpfs mount permissions (#10031)

🐛 Fixes

  • Only stop services started by up when interrupted (#10028)
  • Load implicit profiles for targeted services (#10025)
  • Do not require service.build.platforms to be set if service.platform is set (#10017)
  • Use plain output during buildx image builds if --ansi=never is set (#10020)
  • COMPOSE_IGNORE_ORPHANS environment variable now behaves more consistently (#10035)
  • Fix image name separator in convert (#9904)
  • Fix run on services using network_mode: service:NAME (#10036)

🔧 Internal

  • Upgrade compose-go to v1.8.0 (#10031)
  • Build with Go 1.19.3 (#10037)
  • Change default branch for docs repository (#10016)
  • Additional E2E test coverage and reliability improvements (#10025, #10032)

Changelog

  • change the default branch of the doc repository by @glours in #10016
  • configure buildx for plain output if --ansi=never has been set by @ndeloof in #10020
  • useDockerDefaultOrServicePlatform fct should return service.platform if defined by @glours in #10017
  • implement support for oom_score_adj by @ndeloof in #10019
  • Fix grammatical issues by @umarfchy in #9997
  • only stop services started by up on interruption by @ndeloof in #10028
  • pass services list to projectOrName function to add profiles for targeted services by @glours in #10025
  • Broken Link fixed in compose docs by @NitishKumar06 in #10000
  • move image digests resolution to backend by @ndeloof in #10026
  • fix"convert --images" output to right format by @Windforce17 in #9904
  • use StringToBool to detect COMPOSE_IGNORE_ORPHANS by @ndeloof in #10035
  • Fix replacing "service:x" with "container:y" by @i-ky in #10036
  • test: speed up Cucumber stop test by @milas in #10032
  • schema: add support for tmpfs.mode in mount definition by @milas in #10031
  • ci: upgrade to Go 1.19.3 & bump deps by @milas in #10037

New Contributors

Full Changelog: v2.13.0...v2.14.0

v2.13.0

23 Nov 15:08
8c5d7ba
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Fixes

  • Map deploy.restart_policy.condition to engine values by @glours in #9944
  • Add support of deploy.reservation.memory by @glours in #9947
  • Use COMPOSE_PROFILES value only if no command line arg profiles used by @glours in #9906
  • Check if a missing image won't be build via a service declared in depends_on section by @glours in #9984
  • Ignore error parsing container number label, just warn by @ndeloof in #10005
  • Use platform defined by DOCKER_DEFAULT_PLATFORM when pulling and no service platform defined by @glours in #9999

🔧 Internal

  • Remove uses of deprecated gotest.tools v2 by @thaJeztah in #9935
  • Ci: update dependencies to latest by @milas in #9982
  • Exclude issues with the kind/feature label from stale bot process by @glours in #9992

Bumps

  • build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #9945
  • build(deps): bump github.com/containerd/containerd from 1.6.8 to 1.6.9 by @dependabot in #9949
  • build(deps): bump github.com/containerd/containerd from 1.6.9 to 1.6.10 by @dependabot in #9995
  • go.mod: update docker-credential-helpers v0.7.0 by @thaJeztah in #9936

Full Changelog: v2.12.2...v2.13.0

v2.12.2

21 Oct 20:37
f472ce3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.12.1...v2.12.2