Impact Score: 5/10
Docker Compose v2.11.2 - Release Notes & Engineering Impact
Source available - automated, not human-reviewed
Component: docker-compose ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
โก Executive Summary (TL;DR)
Docker Compose v2.11.2. Source highlight: Updates on environment file syntax & interpolation: see #9879 ๐
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โจ New Features & Capabilities (2)
- Add `merge` GitHub Actions workflow to run tests on Windows and macOS runners
- add more information when `service.platform` isn't part of `service.build.platforms`
๐ง Bug Fixes & Patches (6)
- 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)
- Add completion command and fix convert
๐ View Raw Release Notes (Original Developer Log)
### โน๏ธ 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](https://github.com/compose-spec/compose-go/releases/tag/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 https://github.com/docker/compose/pull/9863
* configure default builder export when no build.platforms defined by @glours in https://github.com/docker/compose/pull/9862
* keep the platform defined, in priority, via DOCKER_DEFAULT_PLATFORM oโฆ by @glours in https://github.com/docker/compose/pull/9866
* Remove support for `DOCKER_HOST` in `.env` files by @milas in https://github.com/docker/compose/pull/9871
* clean service command if entrypoint is overrided in run command by @glours in https://github.com/docker/compose/pull/9836
* Add completion command and fix convert by @ulyssessouza in https://github.com/docker/compose/pull/9269
* ci: upgrade to compose-go v1.6.0 by @milas in https://github.com/docker/compose/pull/9876
* add more information when `service.platform` isn't part of `service.build.platforms` by @bkielbasa in https://github.com/docker/compose/pull/9868
* GitHub Workflows security hardening by @sashashura in https://github.com/docker/compose/pull/9874
* deps: fix race condition during graph traversal by @milas in https://github.com/docker/compose/pull/9878
## New Contributors
* @bkielbasa made their first contribution in https://github.com/docker/compose/pull/9868
* @sashashura made their first contribution in https://github.com/docker/compose/pull/9874
**Full Changelog**: https://github.com/docker/compose/compare/v2.11.1...v2.11.2