🚀 docker/compose - Release Notes

v2.34.0 (2025-03-14)

## What's Changed
### ✨ Improvements
* Support refresh pull policy by @ndeloof in https://github.com/docker/compose/pull/12568
* Introduced `include` to filter files considered by `watch` by @ndeloof in https://github.com/docker/compose/pull/12584
* Introduced `--env-from-file` in `docker compose run` command by @ndeloof in https://github.com/docker/compose/pull/12626
* Make `publish` a regular command of Compose by @glours in https://github.com/docker/compose/pull/12629

### 🐛 Fixes
* Build: only print COMPOSE_BAKE recommendation when disabled by @emersion in https://github.com/docker/compose/pull/12572
* Improve message suggesting using bake by @glours in https://github.com/docker/compose/pull/12612
* Fixed service: reference in additional_contexts for builds without bake by @ndeloof in https://github.com/docker/compose/pull/12582
* Block the publication of an OCI artifact if one or more services contain only a build section by @glours in https://github.com/docker/compose/pull/12597
* Display the location of OCI or GIT Compose stack download by @glours in https://github.com/docker/compose/pull/12595
* Refuse to publish compose file with local include by @ndeloof in https://github.com/docker/compose/pull/12600
* `publish`reject compose file with bind mounts by @ndeloof in https://github.com/docker/compose/pull/12601
* Display interpolation variables and their values when running a remote stack by @glours in https://github.com/docker/compose/pull/12604
* Publish compose file with required siblings used by `extends` by @ndeloof in https://github.com/docker/compose/pull/12606
* Add warning message when a remote configuration include an another remote config by @glours in https://github.com/docker/compose/pull/12610
* Only load env_file after services have been selected by @ndeloof in https://github.com/docker/compose/pull/12611
* Deprecate --y, prefer --yes by @ndeloof in https://github.com/docker/compose/pull/12623
* Use Defang secret-detector to identify potential secret leaks before publishing OCI artifacts by @glours in https://github.com/docker/compose/pull/12620

### 🔧  Internal
* Link to configuration file docs by @andrew-kramer in https://github.com/docker/compose/pull/12559
* Otel attribute to track builder implementation selected by @ndeloof in https://github.com/docker/compose/pull/12586
* Test version command by @maxproske in https://github.com/docker/compose/pull/12576
* Implement extends.file replace without yqlib by @ndeloof in https://github.com/docker/compose/pull/12615
* Add `cli.isatty` attribute to spans generated by compose by @landism in https://github.com/docker/compose/pull/12630
* Condense output of `compose top` by @dmke in https://github.com/docker/compose/pull/12628

### ⚙️ Dependencies
* Require go `1.23`|`1.24` (stable) by @ndeloof in https://github.com/docker/compose/pull/12571
* Build(deps): bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1 by @dependabot in https://github.com/docker/compose/pull/12583
* Build(deps): bump github.com/google/go-cmp from `0.6.0` to `0.7.0` by @dependabot in https://github.com/docker/compose/pull/12578
* Build(deps): bump github.com/docker/cli from `28.0.0+incompatible` to `28.0.1+incompatible` by @dependabot in https://github.com/docker/compose/pull/12590
* Build(deps): bump github.com/docker/docker from `28.0.0+incompatible` to `28.0.1+incompatible` by @dependabot in https://github.com/docker/compose/pull/12591
* Build(deps): bump github.com/docker/buildx from `0.21.1` to `0.21.2` by @dependabot in https://github.com/docker/compose/pull/12598
* Build(deps): bump github.com/opencontainers/image-spec from `1.1.0` to `1.1.1` by @dependabot in https://github.com/docker/compose/pull/12599
* Build(deps): bump golang.org/x/sync from `0.11.0` to `0.12.0` by @dependabot in https://github.com/docker/compose/pull/12607
* Build(deps): bump google.golang.org/grpc from `1.70.0` to `1.71.0` by @dependabot in https://github.com/docker/compose/pull/12603
* Build(deps): bump golang.org/x/sys from `0.30.0` to `0.31.0` by @dependabot in https://github.com/docker/compose/pull/12608
* Build(deps): bump github.com/moby/buildkit from `0.20.0` to `0.20.1` by @dependabot in https://github.com/docker/compose/pull/12609
* Build(deps): bump tags.cncf.io/container-device-interface from `0.8.1` to `1.0.0` by @dependabot in https://github.com/docker/compose/pull/12617
* Bump compose-go to version `v2.4.9` by @glours in https://github.com/docker/compose/pull/12633

## New Contributors
* @emersion made their first contribution in https://github.com/docker/compose/pull/12572
* @andrew-kramer made their first contribution in https://github.com/docker/compose/pull/12559
* @landism made their first contribution in https://github.com/docker/compose/pull/12630
* @dmke made their first contribution in https://github.com/docker/compose/pull/12628

**Full Changelog**: https://github.com/docker/compose/compare/v2.33.1...v2.34.0

v2.33.1 (2025-02-21)

## What's Changed
### ✨ Improvements
* Add support for gw_priority, enable_ipv4 (requires docker v28.0) by @thaJeztah in https://github.com/docker/compose/pull/12570

### 🐛 Fixes
* Run watch standalone if menu fails to start by @ndeloof in https://github.com/docker/compose/pull/12536
* Report error using non-file secret|config with read-only service by @ndeloof in https://github.com/docker/compose/pull/12531
* Don't display bake suggestion when using --progress with quiet or json option by @glours in https://github.com/docker/compose/pull/12561
* Fix pull --parallel and --no-parallel deprecation warnings missing by @maxproske in https://github.com/docker/compose/pull/12555
* Fix error message when detach is implied by wait by @ndeloof in https://github.com/docker/compose/pull/12566

### ⚙️ Dependencies
* build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in https://github.com/docker/compose/pull/12556
* build(deps): bump google.golang.org/grpc from 1.68.1 to 1.70.0 by @dependabot in https://github.com/docker/compose/pull/12494
* go.mod: update to docker v28.0.0 by @thaJeztah in https://github.com/docker/compose/pull/12545

**Full Changelog**: https://github.com/docker/compose/compare/v2.33.0...v2.33.1

v2.33.0 (2025-02-12)

## What's Changed

> [!IMPORTANT]
> This release introduce support for [Bake](https://docs.docker.com/build/bake/) to manage builds as an alternative to the internal buildkit client. This new feature can be enabled by setting `COMPOSE_BAKE=1` variable. Bake will become the default builder in a future release.

### ✨ Improvements
* let user know bake is now supported by @ndeloof in https://github.com/docker/compose/pull/12524
* support additional_context reference to another service by @ndeloof in https://github.com/docker/compose/pull/12485
* add support for BUILDKIT_PROGRESS by @ndeloof in https://github.com/docker/compose/pull/12458
* add --with-env flag to publish command by @glours in https://github.com/docker/compose/pull/12482
* Update ls --quiet help description by @maxproske in https://github.com/docker/compose/pull/12541
* Publish warn display env vars by @glours in https://github.com/docker/compose/pull/12486

### 🐛 Fixes
* Fix bake support by @ndeloof in https://github.com/docker/compose/pull/12507
* Update link in stats --help output by @maxproske in https://github.com/docker/compose/pull/12523
* Properly handle "builtin" seccomp profile by @r-bk in https://github.com/docker/compose/pull/12478
* manage `watch` applied to mulitple services by @ndeloof in https://github.com/docker/compose/pull/12469


### 🔧  Internal
* use main branch for docs upstream validation workflow by @crazy-max in https://github.com/docker/compose/pull/12487
* fix provenance for binaries and generate sbom by @crazy-max in https://github.com/docker/compose/pull/12479
* add codeowners file by @glours in https://github.com/docker/compose/pull/12480
* remove exit code per error type used by legacy metrics system by @ndeloof in https://github.com/docker/compose/pull/12502
* Dockerfile: update golangci-lint to v1.63.4 by @thaJeztah in https://github.com/docker/compose/pull/12546
* Full test coverage for compatibility cmd by @maxproske in https://github.com/docker/compose/pull/12528
* don't send raw os.Args to opentelemetry but a pseudo command line by @ndeloof in https://github.com/docker/compose/pull/12530
* add docker engine v28.x to the test-matrix by @thaJeztah in https://github.com/docker/compose/pull/12539
* enable copyloopvar linter by @thaJeztah in https://github.com/docker/compose/pull/12542
* go.mod: remove toolchain directive by @thaJeztah in https://github.com/docker/compose/pull/12551


### ⚙️ Dependencies
* bump buildx v0.20.1 by @ndeloof in https://github.com/docker/compose/pull/12488
* bump docker to v27.5.1 by @ndeloof in https://github.com/docker/compose/pull/12491
* bump compose-go v2.4.8 by @ndeloof in https://github.com/docker/compose/pull/12543
* bump golang.org/x/sys from 0.28.0 to 0.30.0 by @dependabot in https://github.com/docker/compose/pull/12529
* bump github.com/moby/term v0.5.2 by @thaJeztah in https://github.com/docker/compose/pull/12540
* bump github.com/otiai10/copy from 1.14.0 to 1.14.1 by @dependabot in https://github.com/docker/compose/pull/12493
* bump github.com/jonboulle/clockwork from 0.4.0 to 0.5.0 by @dependabot in https://github.com/docker/compose/pull/12430
* bump github.com/spf13/pflag from 1.0.5 to 1.0.6 by @dependabot in https://github.com/docker/compose/pull/12548
* bump golang.org/x/sync from 0.10.0 to 0.11.0 by @dependabot in https://github.com/docker/compose/pull/12547
* bump gotest.tools/v3 from 3.5.1 to 3.5.2 by @dependabot in https://github.com/docker/compose/pull/12549

## New Contributors
* @r-bk made their first contribution in https://github.com/docker/compose/pull/12478
* @maxproske made their first contribution in https://github.com/docker/compose/pull/12523

**Full Changelog**: https://github.com/docker/compose/compare/v2.32.4...v2.33.0

v2.32.4 (2025-01-15)

## What's Changed
This release fixes the version issue of `v2.32.3` 

### 🔧  Internal
* ci: use local source for binary builds by @crazy-max in https://github.com/docker/compose/pull/12470
* ci: re-use local source to build binary images by @glours in https://github.com/docker/compose/pull/12471
* add missing tag for build during merge workflow by @glours in https://github.com/docker/compose/pull/12473


**Full Changelog**: https://github.com/docker/compose/compare/v2.32.3...v2.32.4

v2.32.3 (2025-01-13)

## What's Changed

⚠️ This release don't display properly its version! Instead of displaying the tag the `docker compose version` display its commit hash.

### 🐛 Fixes
* Only override service mac if set on the main network. by @apollo13 [(12439)](https://github.com/docker/compose/pull/12439)
* Exclude one-off container running convergence by @ndeloof [(12441)](https://github.com/docker/compose/pull/12441)
* Can't render progress concurrently with buildkit by @ndeloof [(12442)](https://github.com/docker/compose/pull/12442)
* Image can be set to a local ID, that isn't a valid docker ref by @ndeloof [(12446)](https://github.com/docker/compose/pull/12446)

### 🔧  Internal
* CI: update bake-action to v6 by @crazy-max [(12452)](https://github.com/docker/compose/pull/12452)
* Simplification by @ndeloof [(12451)](https://github.com/docker/compose/pull/12451)







**Full Changelog**: https://github.com/docker/compose/compare/v2.32.2...v2.32.3

v2.32.2 (2025-01-07)

## What's Changed
### ✨ Improvements
* Add `--pull` to run command by @glours  [(12397)](https://github.com/docker/compose/pull/12397)

### 🐛 Fixes
* Only check bind mount conflict if sync action is involved by @ndeloof [(12409)](https://github.com/docker/compose/pull/12409)
* When retrying to resolveOrCreateNetwork, retry with a valid network name by @gtardif  [(12422)](https://github.com/docker/compose/pull/12422)
* checkExpectedVolumes must ignore anonymous volumes by @ndeloof in https://github.com/docker/compose/pull/12410

### 🔧  Internal
* Gofumpt all the things by @ndeloof [(12392)](https://github.com/docker/compose/pull/12392)
* Use the 3 latest major versions of the engine to run e2e step by @glours [(12401)](https://github.com/docker/compose/pull/12401)
* Replace tibdex/github-app-token by official GitHub create-github-app-token by @glours [(12411)](https://github.com/docker/compose/pull/12411)

### ⚙️ Dependencies
* Bump Golang version to `v1.22.10` and update CI actions by @glours [(12399)](https://github.com/docker/compose/pull/12399)
* Bump golang.org/x/net to `v0.33.0` to fix potential security issue by @glours  [(12405)](https://github.com/docker/compose/pull/12405)
* Bump `compose-go` to `v2.4.7` by @glours [(12438)](https://github.com/docker/compose/pull/12438)


**Full Changelog**: https://github.com/docker/compose/compare/v2.32.1...v2.32.2

v2.32.1 (2024-12-16)

## What's Changed

### 🐛 Fixes
* only check volume mounts for updated config by @ndeloof in https://github.com/docker/compose/pull/12386
* e2e test to prevent future regression by @ndeloof in https://github.com/docker/compose/pull/12389


**Full Changelog**: https://github.com/docker/compose/compare/v2.32.0...v2.32.1

v2.32.0 (2024-12-13)

## What's Changed
### ✨ Improvements
* build with bake by @ndeloof in https://github.com/docker/compose/pull/12344
* introduce watch restart action by @ndeloof in https://github.com/docker/compose/pull/12375
* introduce sync+exec watch action by @ndeloof in https://github.com/docker/compose/pull/12330
* Recreate container on volume configuration change by @ndeloof in https://github.com/docker/compose/pull/12363

### 🐛 Fixes
* fix support for service.mac_address by @ndeloof in https://github.com/docker/compose/pull/12371
* pull --quiet should not drop status message, only progress by @ndeloof in https://github.com/docker/compose/pull/12358
* do not require a build section but for `rebuild` action by @ndeloof in https://github.com/docker/compose/pull/12343
* log configuration error as a watch log event by @ndeloof in https://github.com/docker/compose/pull/12359

### 🔧  Internal
* disable failing TestBuildSSH test by @ndeloof in https://github.com/docker/compose/pull/12349
* Make e2e tests pass locally by @glours in https://github.com/docker/compose/pull/12348

### ⚙️ Dependencies
* bump docker + buildx to latest release by @ndeloof in https://github.com/docker/compose/pull/12372
* bump otel dependencies to v1.28.0 and v0.53.0 to align with buildx, buildkit and engine versions by @glours in https://github.com/docker/compose/pull/12338
* build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0 by @dependabot in https://github.com/docker/compose/pull/12378
* build(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 by @dependabot in https://github.com/docker/compose/pull/12377
* build(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1 by @dependabot in https://github.com/docker/compose/pull/12353
* build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 by @dependabot in https://github.com/docker/compose/pull/12352
* update xx to v1.6.1 for compatibility with alpine 3.21 and file 5.46+ by @thaJeztah in https://github.com/docker/compose/pull/12366


**Full Changelog**: https://github.com/docker/compose/compare/v2.31.0...v2.32.0

v2.31.0 (2024-11-28)

## What's Changed
### ✨ Improvements
* Delegate build to buildx bake by @ndeloof [(12300)](https://github.com/docker/compose/pull/12300)
* Add commit command by @jarqvi [(12268)](https://github.com/docker/compose/pull/12268)

### 🐛 Fixes
* Fix(config): Print service names with --no-interpolate by @idsulik [(12282)](https://github.com/docker/compose/pull/12282)
* Remove obsolete containers first on scale down by @ndeloof [(12272)](https://github.com/docker/compose/pull/12272)
* Fix compose images that return a different image with the same ID by @koooge [(12278)](https://github.com/docker/compose/pull/12278)
* Emit events for building images by @felixfontein [(11498)](https://github.com/docker/compose/pull/11498)
* Fix support for --remove-orphans on `docker compose run` by @ndeloof [(12288)](https://github.com/docker/compose/pull/12288)
* Push empty descriptor layer when using OCI version 1.1 for Compose artifact by @glours [(12289)](https://github.com/docker/compose/pull/12289)
* Detect network config changes and recreate if needed by @ndeloof [(12267)](https://github.com/docker/compose/pull/12267)
* Update wait-timeout flag usage to include the unit by @terev [(12316)](https://github.com/docker/compose/pull/12316)
* Use service.stop to stop dependent containers by @ndeloof [(12322)](https://github.com/docker/compose/pull/12322)
* Only check attached networks on running containers by @ndeloof [(12327)](https://github.com/docker/compose/pull/12327)
* Only stop dependent containers ... if there's some by @ndeloof [(12328)](https://github.com/docker/compose/pull/12328)

### 🔧  Internal
* Pass stale bot inactivity limit from 6 to 3 months by @glours [(12284)](https://github.com/docker/compose/pull/12284)
* Ci: enable testifylint linter by @mmorel-35 [(11761)](https://github.com/docker/compose/pull/11761)
* Remove ddev e2e tests by @glours [(12291)](https://github.com/docker/compose/pull/12291)
* Gha: test against docker engine v27.4.0 by @thaJeztah [(12299)](https://github.com/docker/compose/pull/12299)
* Run build tests against bake by @ndeloof [(12325)](https://github.com/docker/compose/pull/12325)

### ⚙️ Dependencies
* Build(deps): bump golang.org/x/sync from `0.8.0` to `0.9.0` by @dependabot [(12277)](https://github.com/docker/compose/pull/12277)
* Build(deps): bump golang.org/x/sys from `0.26.0` to `0.27.0` by @dependabot [(12276)](https://github.com/docker/compose/pull/12276)
* Build(deps): bump github.com/moby/buildkit `v0.17.1`, github.com/docker/buildx `v0.18.0` by @thaJeztah [(12298)](https://github.com/docker/compose/pull/12298)
* Build(deps): bump docker/docker `v27.4.0-rc.2`, docker/cli `v27.4.0-rc.2` by @thaJeztah [(12306)](https://github.com/docker/compose/pull/12306)
* Build(deps): bump github.com/stretchr/testify from `1.9.0` to `1.10.0` by @dependabot [(12319)](https://github.com/docker/compose/pull/12319)
* Build(deps): bump github.com/compose-spec/compose-go/v2 from `2.4.5-0.20241111154218-9d02caaf8465` to `2.4.5` by @dependabot [(12324)](https://github.com/docker/compose/pull/12324)
* Build(deps): bump github.com/moby/buildkit from `0.17.1` to `0.17.2` by @dependabot [(12320)](https://github.com/docker/compose/pull/12320)
* Bump google.golang.org/grpc to v1.68.0 and containerd to `v1.7.24` by @glours [(12329)](https://github.com/docker/compose/pull/12329)

## New Contributors
* @terev made their first contribution in https://github.com/docker/compose/pull/12316

**Full Changelog**: https://github.com/docker/compose/compare/v2.30.3...v2.31.0

v2.30.3 (2024-11-07)

## What's Changed

### 🐛 Fixes
* Avoid starting all services on rebuild by @jhrotko [(12258)](https://github.com/docker/compose/pull/12258)

### ⚙️ Dependencies
* Bump compose-go v2.4.4 by @glours [(12274)](https://github.com/docker/compose/pull/12274)


**Full Changelog**: https://github.com/docker/compose/compare/v2.30.2...v2.30.3

v2.30.2 (2024-11-05)

## What's Changed

### 🐛 Fixes
* Service being declared in a profile must not trigger re-creation by @ndeloof in [(12265)](https://github.com/docker/compose/pull/12265)
* Remove ArtifactType from Config in OCI v1.1 definition of the artifact by @glours [(12266)](https://github.com/docker/compose/pull/12266)

### 🔧  Internal
* Add Joana Hrotko to Maintainers by @laurazard [(12253)](https://github.com/docker/compose/pull/12253)
* Add profile e2e test case to document in compose by @jhrotko [(12252)](https://github.com/docker/compose/pull/12252)

### ⚙️ Dependencies
* Bump `compose-go` to version `v2.4.3` by @glours in https://github.com/docker/compose/pull/12261

**Full Changelog**: https://github.com/docker/compose/compare/v2.30.1...v2.30.2

v2.30.1 (2024-10-30)

## What's Changed

### 🐛 Fixes
Fix regression when using stdin as input of `-f` flag  [(12248)](https://github.com/docker/compose/issues/12248)
Fix regression when using multiple time the same YAML anchor in a Compose file  [(12247)](https://github.com/docker/compose/issues/12247)

### ⚙️ Dependencies
* bump compose-go to version v2.4.2 by @glours in https://github.com/docker/compose/pull/12249


**Full Changelog**: https://github.com/docker/compose/compare/v2.30.0...v2.30.1

v2.30.0 (2024-10-29)

## What's Changed
### ✨ Improvements
* Introduce service hooks by @ndeloof  [(12166)](https://github.com/docker/compose/pull/12166)
* Introduce generate command as alpha command by @glours [(12209)](https://github.com/docker/compose/pull/12209)
* Add export command by @jarqvi  [(12120)](https://github.com/docker/compose/pull/12120)
* Add support for CDI device request using `devices` by @ndeloof [(12184)](https://github.com/docker/compose/pull/12184)
* Add support for bind recursive by @ndeloof  [(12210)](https://github.com/docker/compose/pull/12210)
* Allow usage of `-f` flag with OCI Compose artifacts by @glours  [(12220)](https://github.com/docker/compose/pull/12220)

### 🐛 Fixes
* Append unix-style relative path when computing container target path by @ndeloof  [(12145)](https://github.com/docker/compose/pull/12145)
* Wait for dependent service up to delay set by --wait-timeout by @ndeloof  [(12156)](https://github.com/docker/compose/pull/12156)
* Check secret source exists, as bind mount would create target by @ndeloof  [(12151)](https://github.com/docker/compose/pull/12151)
* After container restart register printer consumer by @jhrotko  [(12158)](https://github.com/docker/compose/pull/12158)
* Fix(down): Fix down command if specified services are not running by @idsulik  [(12164)](https://github.com/docker/compose/pull/12164)
* Show watch error message and open DD only when w is pressed by @jhrotko  [(12165)](https://github.com/docker/compose/pull/12165)
* Fix(push): Fix unexpected EOF on alpha publish by @idsulik  [(12169)](https://github.com/docker/compose/pull/12169)
* Fix(convergence): Serialize access to observed state by @anantadwi13  [(12150)](https://github.com/docker/compose/pull/12150)
* Remove feature flag integration with Docker Desktop for ComposeUI and ComposeNav by @jhrotko  [(12192)](https://github.com/docker/compose/pull/12192)
* Support Dockerfile-specific ignore-file with watch by @ndeloof [(12193)](https://github.com/docker/compose/pull/12193)
* Add support for raw env_file format by @ndeloof  [(12179)](https://github.com/docker/compose/pull/12179)
* Convert GPUs to DeviceRequests with implicit "gpu" capability by @ndeloof  [(12197)](https://github.com/docker/compose/pull/12197)
* Improve error message to include expected network label by @divinity76  [(12213)](https://github.com/docker/compose/pull/12213)
* Don't use progress to render restart, which hides logs by @ndeloof  [(12226)](https://github.com/docker/compose/pull/12226)
* One-off containers are not indexed, and must be ignored by `exec --index` command by @ndeloof  [(12224)](https://github.com/docker/compose/pull/12224)
* Don't warn about uid/gid not being supported while ... they are by @ndeloof  [(12232)](https://github.com/docker/compose/pull/12232)
* Connect to external networks by name by @ndeloof  [(12234)](https://github.com/docker/compose/pull/12234)
* Fix push error message typo by @chris-crone  [(12237)](https://github.com/docker/compose/pull/12237)
* Fix(dockerignore): Add wildcard support to dockerignore.go by @idsulik  [(12239)](https://github.com/docker/compose/pull/12239)

### 🔧  Internal
* Remove bind options when creating a volume type by @jhrotko [(12177)](https://github.com/docker/compose/pull/12177)
* pass device.options to engine by @ndeloof  [(12183)](https://github.com/docker/compose/pull/12183)
* Add security policy by @thaJeztah  [(12194)](https://github.com/docker/compose/pull/12194)
* Gha: set default permissions to "contents: read" by @thaJeztah  [(12195)](https://github.com/docker/compose/pull/12195)
* Desktop: allow this client to be identified via user-agent by @djs55  [(12212)](https://github.com/docker/compose/pull/12212)
* Compose-go clean volume target to avoid ambiguous comparisons by @ndeloof  [(12208)](https://github.com/docker/compose/pull/12208)

### ⚙️ Dependencies
* Bump docker `v27.3.1` by @ndeloof  [(12178)](https://github.com/docker/compose/pull/12178)
* Build(deps): bump `golang.org/x/sys` from `0.25.0` to `0.26.0` by @dependabot [(12189)](https://github.com/docker/compose/pull/12189)
* Bump `compose-go` to `v2.3.0` by @glours  [(12198)](https://github.com/docker/compose/pull/12198)
* Bump `compose-go` to `v2.4.0` by @glours  [(12231)](https://github.com/docker/compose/pull/12231)
* Bump `compose-go` to `v2.4.1` by @glours  [(12243)](https://github.com/docker/compose/pull/12242)
* Build(deps): bump github.com/containerd/containerd from 1.7.22 to 1.7.23 by @dependabot  [(12211)](https://github.com/docker/compose/pull/12211)
* Bump golang minimal version to `1.22` in go.mod by @glours  [(12246)](https://github.com/docker/compose/pull/12246)
* Bump `go.uber.org/mock` to `v0.5.0` and `google.golang.org/grpc` to `v1.67.1` by @glours  [(12245)](https://github.com/docker/compose/pull/12245)

## New Contributors
* @anantadwi13 made their first contribution in https://github.com/docker/compose/pull/12150
* @jarqvi made their first contribution in https://github.com/docker/compose/pull/12120
* @djs55 made their first contribution in https://github.com/docker/compose/pull/12212
* @divinity76 made their first contribution in https://github.com/docker/compose/pull/12213

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.7...v2.30.0

v2.29.7 (2024-09-20)

## What's Changed

### 🐛 Fixes
* fix regressions using mount API for bind mounts by @glours in https://github.com/docker/compose/pull/12141

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.6...v2.29.7

v2.29.6 (2024-09-19)

## What's Changed
### 🐛 Fixes
* Don't set propagation if target engine isn't linux by @ndeloof [(12138)](https://github.com/docker/compose/pull/12138)

### ⚙️ Dependencies
* build(deps): bump docker, docker/cli to v27.3.0-rc.2 by @thaJeztah [(12136)](https://github.com/docker/compose/pull/12136)



**Full Changelog**: https://github.com/docker/compose/compare/v2.29.5...v2.29.6

v2.29.5 (2024-09-17)

## What's Changed
This release fix an issue with bind mounts on WSL2 when using Docker Desktop

### 🐛 Fixes
* Set propagation default by @ndeloof [(12133)](https://github.com/docker/compose/pull/12133)

### 🔧  Internal
* Remove custom codeql workflow in favor of default setup by @temenuzhka-thede [(12131)](https://github.com/docker/compose/pull/12131)



**Full Changelog**: https://github.com/docker/compose/compare/v2.29.4...v2.29.5

v2.29.4 (2024-09-16)

## What's Changed
### 🐛 Fixes
* Fixed possible `nil` pointer dereference by @disc [(12127)](https://github.com/docker/compose/pull/12127)
* Stop dependent containers before recreating diverged service by @ndeloof [(12122)](https://github.com/docker/compose/pull/12122)

### 🔧  Internal
* GHA: test against docker engine v27.3.0 by @thaJeztah [(12126)](https://github.com/docker/compose/pull/12126)
* Chore(watch): Add debug log when skipping service without build context by @idsulik [(12067)](https://github.com/docker/compose/pull/12067)

### ⚙️ Dependencies
* Build(deps): bump docker, docker/cli to v27.3.0-rc.1, buildx v0.17.1 by @thaJeztah [(12125)](https://github.com/docker/compose/pull/12125)


## New Contributors
* @disc made their first contribution in https://github.com/docker/compose/pull/12127

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.3...v2.29.4

v2.29.3 (2024-09-12)

## What's Changed
### ✨ Improvements
* Allow combination of bind mounts and 'rebuild' watches by @remcokranenburg [(12089)](https://github.com/docker/compose/pull/12089)

### 🐛 Fixes
* Fix(wait): Wait only until first container exit by @idsulik  [(12064)](https://github.com/docker/compose/pull/12064)
* Prefer mount API over bind by @ndeloof [(12078)](https://github.com/docker/compose/pull/12078)
* Service hash must exclude depends_on by @ndeloof [(12072)](https://github.com/docker/compose/pull/12072)
* Attach: close streams when done by @laurazard [(12112)](https://github.com/docker/compose/pull/12112)
* Restore compose v1 behavior to recreate containers when ran with `-V` by @ndeloof [(12116)](https://github.com/docker/compose/pull/12116)


### 🔧  Internal
* Allow to add empty line in the logs when nav menu activated by @glours  [(12062)](https://github.com/docker/compose/pull/12062)
* Docs: duplicate documentation for root cmd by @dvdksn [(12076)](https://github.com/docker/compose/pull/12076)
* Fix typo in pull.go by @jonathan-dev [(12108)](https://github.com/docker/compose/pull/12108)
* Use logrus instead of direct output to stderr by @felixfontein [(11996)](https://github.com/docker/compose/pull/11996)
* Fix minor typos by @NathanBaulch [(12104)](https://github.com/docker/compose/pull/12104)
* Chore(watch): Add changed file paths/count to log by @idsulik [(12118)](https://github.com/docker/compose/pull/12118)

### ⚙️ Dependencies
* Build(deps): bump golang.org/x/sys from 0.22.0 to 0.25.0 by @dependabot [(12101)](https://github.com/docker/compose/pull/12101)
* Bump engine cli v27.2.1 by @glours [(12115)](https://github.com/docker/compose/pull/12115)
* Bump compose-go to version `v2.2.0` by @glours [(12117)](https://github.com/docker/compose/pull/12117)
* Build(deps): bump golang.org/x/sync from `0.7.0` to `0.8.0` by @dependabot [(12043)](https://github.com/docker/compose/pull/12043)


## New Contributors
* @remcokranenburg made their first contribution in [(12089)](https://github.com/docker/compose/pull/12089)
* @jonathan-dev made their first contribution in [(12108)](https://github.com/docker/compose/pull/12108)
* @NathanBaulch made their first contribution in [(12104)](https://github.com/docker/compose/pull/12104)

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.2...v2.29.3

v2.29.2 (2024-08-16)

## What's Changed
### ✨ Improvements
* docs: Update docker compose kill usage [(12041)](https://github.com/docker/compose/pull/12041)
* add `x-initSync` to watch to always provide initial [(12047)](https://github.com/docker/compose/pull/12047)

### 🐛 Fixes
* Removes redundant condition from toAPIBuildOptions in build.go [(12009)](https://github.com/docker/compose/pull/12009)
* Fix stoping compose process for single container for file change on sync-restart action [(12014)](https://github.com/docker/compose/pull/12014)

### 🔧  Internal
* bump golang `1.21.12` [(12017)](https://github.com/docker/compose/pull/12017)
* bump engine and cli to `v27.1.1`, buildx to `v0.16.1` [(12020)](https://github.com/docker/compose/pull/12020)
* bump engine and cli to `v27.1.2`, buildx to `v0.16.2`  [(12057)](https://github.com/docker/compose/pull/12057)
* remove all dependabot update PRs for OTel dependencies [(12006)](https://github.com/docker/compose/pull/12006)
* bump golang.org/x/sys `v0.22.0` and gofrs/flock `v0.12.1` [(12018)](https://github.com/docker/compose/pull/12018)

## New Contributors
* @janbrasna made their first contribution in [(12041)](https://github.com/docker/compose/pull/12041)
* @kapurm17 made their first contribution in [(12009)](https://github.com/docker/compose/pull/12009)

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.1...v2.29.2

v2.29.1 (2024-07-23)

## What's Changed
### ✨ Improvements
* Enhance JSON progress events with more fields [(12000)](https://github.com/docker/compose/pull/12000)

### 🐛 Fixes
* Fix sorting logic by adding secondary sorting for one-off containers [(11995)]( https://github.com/docker/compose/pull/11995)

### 🔧  Internal
* Test with docker engine 27.1.0 [(11998)](https://github.com/docker/compose/pull/11998)
* bump docker, docker/cli v27.1.0 [(12003)](https://github.com/docker/compose/pull/12003)
* bump compose-go v2.1.5 [(12007)](https://github.com/docker/compose/pull/12007)

## New Contributors
* @cmrigney made their first contribution

**Full Changelog**: https://github.com/docker/compose/compare/v2.29.0...v2.29.1

v2.29.0 (2024-07-17)

## What's Changed
### ✨ Improvements
* Add JSON stream progress writer [(11478)](https://github.com/docker/compose/pull/11478)
* Add `--prune` option to docker-compose `watch` command [(11932)](https://github.com/docker/compose/pull/11932)

### 🐛 Fixes
* Exclude unnecessary resources after services have been selected [(11978)](https://github.com/docker/compose/pull/11978)
* Empty env variable with no value must be unset in container[(11965)]( https://github.com/docker/compose/pull/11965)
* Restore setEnvWithDotEnv [(11974)](https://github.com/docker/compose/pull/11974)

### 🔧  Internal
* Test with docker engine v27.0.3 [(11927)](https://github.com/docker/compose/pull/11927)
* Remove COMPOSE_MENU env from e2e tests [(11654)](https://github.com/docker/compose/pull/11654)
* Add stale workflow [(11968)](https://github.com/docker/compose/pull/11968)
* Change time before closing stale [(11979)](https://github.com/docker/compose/pull/11979)
* Fix: typos [(11632)](https://github.com/docker/compose/pull/11632)

### ⚙️ Dependencies

* Build(deps):  bump docker/cli, docker/docker v27.0.2 [(11938)](https://github.com/docker/compose/pull/11938)
* Build(deps): docker/cli, docker/docker v27.0.3[(11951)](https://github.com/docker/compose/pull/11951)
* Build(deps): bump compose-go to v2.1.4, buildx to v0.16.0, containerd to v1.7.19 and buildx to v0.15.0[(11987)](https://github.com/docker/compose/pull/11987)


## New Contributors
* @idsulik made their first contribution in https://github.com/docker/compose/pull/11932
* @testwill made their first contribution in https://github.com/docker/compose/pull/11632

**Full Changelog**: https://github.com/docker/compose/compare/v2.28.1...v2.29.0

v2.28.1 (2024-06-24)

## What's Changed
🐛 Fixes
* Remove `console.Terminal` check and use `IsTerminal` from `streams.Out` by @vvoland in https://github.com/docker/compose/pull/11934

## New Contributors
* @vvoland made their first contribution in https://github.com/docker/compose/pull/11934

**Full Changelog**: https://github.com/docker/compose/compare/v2.28.0...v2.28.1

v2.28.0 (2024-06-21)

## What's Changed
⚙️ Dependencies
* bump docker/docker and docker/cli `v27.0.1-rc.1`, compose-go `v2.1.3` [(11926)](https://github.com/docker/compose/pull/11926)


**Full Changelog**: https://github.com/docker/compose/compare/v2.27.3...v2.28.0

v2.27.3 (2024-06-21)

## What's Changed
⚙️ Dependencies
* build(deps): bump github.com/docker/buildx from `0.15.0` to `0.15.1` [(11921)](https://github.com/docker/compose/pull/11921)
* build(deps): bump github.com/spf13/cobra from `1.8.0` to `1.8.1` [(11915)](https://github.com/docker/compose/pull/11915)


**Full Changelog**: https://github.com/docker/compose/compare/v2.27.2...v2.27.3

v2.27.2 (2024-06-20)

## What's Changed
### ✨ Improvements
*  Add `--environment` flag to `config` command [(11891)](https://github.com/docker/compose/pull/11891)

### 🐛 Fixes
* Prevent concurrent map write relying on project immutability [(11860)](https://github.com/docker/compose/pull/11860)
* Fix `COMPOSE_PROFILES` can be set by .env file [(11861)](https://github.com/docker/compose/pull/11861)
* Fix: change append to use slice index in `ps` [(11862)](https://github.com/docker/compose/pull/11862)
* Return an error when `--detach` and `--watch` are used together in `up` command [(11890)](https://github.com/docker/compose/pull/11890)
* Fix dot env file to define `COMPOSE_*` variables[(11889)](https://github.com/docker/compose/pull/11889)
* Enforce keyboard.Close is always executed to restore terminal [(11896)](https://github.com/docker/compose/pull/11896)
* Stop `watch` process when associated `up` process is stopped [(11911)](https://github.com/docker/compose/pull/11911)
* Using as flag of the `up` command, `watch` was blocking process shutdown [(11919)](https://github.com/docker/compose/pull/11919)

### 🔧  Internal
* Correct typo in comment [(11877)](https://github.com/docker/compose/pull/11877)
* Chore(publish): remove unreachable code[(11888)](https://github.com/docker/compose/pull/11888)
* Update GH actions versions, update engine matrix, bump Golang to 1.21.11 [(11885)](https://github.com/docker/compose/pull/11885)
* Build: replace uses of archive.CanonicalTarNameForPath [(11910)](https://github.com/docker/compose/pull/11910)
* Add open watch docs in up menu [(11917)](https://github.com/docker/compose/pull/11917)

### ⚙️ Dependencies
* Build(deps): bump github.com/hashicorp/go-version from `1.6.0` to `1.7.0`[(11854)](https://github.com/docker/compose/pull/11854)
* Build(deps): bump golang.org/x/sys from `0.20.0` to `0.21.0` [(11883)](https://github.com/docker/compose/pull/11883)
* Build(deps): bump github.com/containerd/containerd from `1.7.17` to `1.7.18` [(11897)](https://github.com/docker/compose/pull/11897)
* Build(deps): bump github.com/docker/docker from `26.1.3+incompatible` to `26.1.4+incompatible` [(11898)](https://github.com/docker/compose/pull/11898)
* Bump buildkit to `0.14.0` and buildx to `0.15.0` [(11913)](https://github.com/docker/compose/pull/11913)

## New Contributors
* @IDOMATH made their first contribution in https://github.com/docker/compose/pull/11862
* @korverdev made their first contribution in https://github.com/docker/compose/pull/11877
* @Lunal98 made their first contribution in https://github.com/docker/compose/pull/11888

**Full Changelog**: https://github.com/docker/compose/compare/v2.27.1...v2.27.2

v2.27.1 (2024-05-24)

## What's Changed
### ✨ Improvements
* Add new navigation menu to open Compose app configuration in Docker Desktop [(11834)](https://github.com/docker/compose/pull/11834)

### 🐛 Fixes
* Allow a local .env file to override compose.yaml sibling .env [(11824)](https://github.com/docker/compose/pull/11824)
* Fix `--resolve-image-digests` [(11825)](https://github.com/docker/compose/pull/11825)
* Fix opentelemetry [(11845)](https://github.com/docker/compose/pull/11845)

### 🔧  Internal
* Add documentation for `--menu` up option and `COMPOSE_MENU` environment var [(11800)](https://github.com/docker/compose/pull/11800)
* Backport OpenBSD patches [(11832)](https://github.com/docker/compose/pull/11832)
* Per endpoint driver opts [(11815)](https://github.com/docker/compose/pull/11815)
* Add `gui/composeview` as part of available commands [(11851)](https://github.com/docker/compose/pull/11851)
* Drop `COMPOSE_EXPERIMENTAL_OTEL` as docker/cli has opentelemetry in [(11850)](https://github.com/docker/compose/pull/11850

### ⚙️ Dependencies
* Bump compose-go to `v2.1.1` [(11815)](https://github.com/docker/compose/pull/11815)
* Bump docker to `v26.1.1` [(11794)](https://github.com/docker/compose/pull/11794)
* Bump docker to `v26.1.2` [(11811)](https://github.com/docker/compose/pull/11811)
* Bump Docker engine and cli to `v26.1.3` [(11826)](https://github.com/docker/compose/pull/11826)
* Build(deps): bump golang.org/x/sys from `0.19.0` to `0.20.0` [(11798)](https://github.com/docker/compose/pull/11798)
* Build(deps): bump github.com/fsnotify/fsevents from `0.1.1` to `0.2.0` [(11814)](https://github.com/docker/compose/pull/11814)
* Build(deps): bump github.com/docker/buildx from `0.14.0` to `0.14.1` [(11847)](https://github.com/docker/compose/pull/11847)
* Build(deps): bump github.com/containerd/containerd from `1.7.16` to `1.7.17` [(11833)](https://github.com/docker/compose/pull/11833)

## New Contributors
* @catap made their first contribution in https://github.com/docker/compose/pull/11832
* @robmry made their first contribution in https://github.com/docker/compose/pull/11815

**Full Changelog**: https://github.com/docker/compose/compare/v2.27.0...v2.27.1

v2.27.0 (2024-04-24)

## What's Changed
### ✨ Improvements
* Introduce `--abort-on-container-failure` [(11680)](https://github.com/docker/compose/pull/11680)
* Introduce `--all-resources` to _not_ exclude resources not used by services [(11702)](https://github.com/docker/compose/pull/11702)
* Introduce support for `build.entitlements` [(11708)](https://github.com/docker/compose/pull/11708)

### 🐛 Fixes
* Don't use ansi espace sequence when disabled [(11682)](https://github.com/docker/compose/pull/11682)
* Ignore missing containers when compose `down/stop -p` [(11692)](https://github.com/docker/compose/pull/11692)
* Read `COMPOSE_REMOVE_ORPHANS` from `.env` file [(11714)](https://github.com/docker/compose/pull/11714)
* Always kills the containers on second Ctrl-C on `docker compose up` [(11718)](https://github.com/docker/compose/pull/11718)
* Fix progress timer and spinner [(11725)](https://github.com/docker/compose/pull/11725)
* Capture exit code for container being stopped, and return according to `--exit-code-from` [(11715)](https://github.com/docker/compose/pull/11715)
* Don't clear line when navigation is disabled [(11733)](https://github.com/docker/compose/pull/11733)
* Check `container_name` is not in use by another service we will create [(11713)](https://github.com/docker/compose/pull/11713)
* Do not try to create file shares for non-directories [(11738)](https://github.com/docker/compose/pull/11738)
* Remove overly-aggressive feature flag check [(11748)](https://github.com/docker/compose/pull/11748)
* Avoid to try to close channel twice after hitting Ctrl-C on `compose up` [(11719)](https://github.com/docker/compose/pull/11719)
* Fix support for `--flag=value` syntax in compatibility mode [(11752)](https://github.com/docker/compose/pull/11752)
* Fix menu print when logs/menu number of lines change [(11765)](https://github.com/docker/compose/pull/11765)

### 🔧  Internal
* Remove dead url reference. [(11700)](https://github.com/docker/compose/pull/11700)
* Fix typo in comment [(11744)](https://github.com/docker/compose/pull/11744)
* Fix flaky cascade failure test [(11739)](https://github.com/docker/compose/pull/11739)

### ⚙️ Dependencies
* Bump Golang version to `1.21.9` [(11684)](https://github.com/docker/compose/pull/11684)
* Bump engine and cli to `v26.0.1` [(11736)](https://github.com/docker/compose/pull/11736)
* Bump compose-go version to `v2.1.0` [(11756)](https://github.com/docker/compose/pull/11756)
* Update to Moby `v26.1` & buildx `v0.14` [(11750)](https://github.com/docker/compose/pull/11750)
* Bump Buildkit to 0.13.1 [(11762)](https://github.com/docker/compose/pull/11762)


## New Contributors
* @delath made their first contribution in https://github.com/docker/compose/pull/11700
* @koooge made their first contribution in https://github.com/docker/compose/pull/11692
* @jsoriano made their first contribution in https://github.com/docker/compose/pull/11718
* @racequite made their first contribution in https://github.com/docker/compose/pull/11744

**Full Changelog**: https://github.com/docker/compose/compare/v2.26.1...v2.27.0

v2.26.1 (2024-03-29)

## 🐛 Fixes
* Include image pull failure reason in output (#11555)
* Fix crash when running up with `--no-build` and `--watch` (#11664)
* Fix crash when no TTY available and menu enabled (#11672)
* Improve legibility of menu actions (#11671)

## 🔧 Internal
* Bump opencontainers/image-spec to 1.1.0 (#11657)

----

## Changelog
* Pull: include error message in warnings/errors by @felixfontein in https://github.com/docker/compose/pull/11555
* build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc6 to 1.1.0 by @dependabot in https://github.com/docker/compose/pull/11657
* Handle --no-build and --watch args by @jhrotko in https://github.com/docker/compose/pull/11664
* Change menu information text to dim by @jhrotko in https://github.com/docker/compose/pull/11671
* Does not start menu manager if there is no tty on up by @jhrotko in https://github.com/docker/compose/pull/11672

## New Contributors
* @felixfontein made their first contribution in https://github.com/docker/compose/pull/11555

**Full Changelog**: https://github.com/docker/compose/compare/v2.26.0...v2.26.1

v2.26.0 (2024-03-22)

## What's Changed

### 🐛 Fixes
* reduce timeout of the Otel tracing command by @glours in https://github.com/docker/compose/pull/11534
* fix `compose config --format json` by @ndeloof in https://github.com/docker/compose/pull/11630
* Fix documentation on default build image name (change to correct separator). by @sebastian-correa in https://github.com/docker/compose/pull/11635

### ✨ Improvements
* Mutagen synchronized file share integration by @milas in https://github.com/docker/compose/pull/11614
* Add support for annotations by @ndeloof in https://github.com/docker/compose/pull/11645
* Introduce `config --variables` to list compose model variables by @ndeloof in https://github.com/docker/compose/pull/11643
* Add navigation menu with in compose up (attached) by @jhrotko in https://github.com/docker/compose/pull/11605

### 🔧  Internal
* Bump compose-go to v2.0.2 by @ndeloof in https://github.com/docker/compose/pull/11650
* Bump docker v26.0.0 by @ndeloof in https://github.com/docker/compose/pull/11652

## New Contributors
* @sebastian-correa made their first contribution in https://github.com/docker/compose/pull/11635

**Full Changelog**: https://github.com/docker/compose/compare/v2.25.0...v2.26.0

v2.25.0 (2024-03-15)

## What's Changed
### 🐛 Fixes
* Restore previous `config` behavior until `--no-interpolate` is set https://github.com/docker/compose/pull/11604
* Fix service name shell completion in https://github.com/docker/compose/pull/11559

### ✨ Improvements
* Add --watch flag to up (https://github.com/docker/compose/pull/11525)

### 🔧  Internal
* Detect Docker Desktop https://github.com/docker/compose/pull/11593
* Bump compose-go v2.0.0 https://github.com/docker/compose/pull/11623

## New Contributors
* @oandrew made their first contribution in https://github.com/docker/compose/pull/11559

**Full Changelog**: https://github.com/docker/compose/compare/v2.24.7...v2.25.0