⚠️ Breaking Change
Impact Score: 7/10
Docker Compose v2.8.0 - Release Notes & Engineering Impact
Source available - automated, not human-reviewed
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Breaking-change evidence from the source
This release introduced a breaking change via compose-go `v1.3.0` and this [PR](https://github.com/compose-spec/compose-go/pull/294).
⚡ Executive Summary (TL;DR)
Docker Compose v2.8.0. Source highlight: ⚠️ Warning notice ⚠️
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.
⚠️ Breaking Changes & Deprecations (1)
- This release introduced a breaking change via compose-go `v1.3.0` and this [PR](https://github.com/compose-spec/compose-go/pull/294).
✨ New Features & Capabilities (5)
- Introduce --pull
- Introduce --pull
- Add missing LinkLocalIPs to ServiceNetworkConfig
- Add 'default' value in case of presence of a variable
- Add "nakedret" to the linters to put dotenv in conformity
🔧 Bug Fixes & Patches (4)
- Fix interpolation error msg output
- Environment variables priority
- Fix lookup precedence
- Fix interpolation error msg output
📄 View Raw Release Notes (Original Developer Log)
# ⚠️ Warning notice ⚠️
This release introduced a breaking change via compose-go `v1.3.0` and this [PR](https://github.com/compose-spec/compose-go/pull/294).
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`](https://github.com/docker/compose/releases/tag/v2.9.0) instead
## What's Changed
### Enhancements ✨
* Introduce --pull by @ndeloof in https://github.com/docker/compose/pull/9474
### Fixes 🐛
* Fix interpolation error msg output by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/292
* Environment variables priority by @ulyssessouza in https://github.com/docker/compose/pull/9636
### Internal 🔧
* CI(docs): use push-to-fork when creating pr by @crazy-max in https://github.com/docker/compose/pull/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 https://github.com/docker/compose/pull/9675
* Use Google addlicense instead of kunalkushwaha/ltag by @glours in https://github.com/docker/compose/pull/9677
## Changelog
* CI(docs): use push-to-fork when creating pr by @crazy-max in https://github.com/docker/compose/pull/9670
* Remove unused sessionConfig param for addSecretsConfig function by @glours in https://github.com/docker/compose/pull/9673
* Use env variable for golang version and updates gh actions from v2 to v3 by @glours in https://github.com/docker/compose/pull/9675
* Update cli-doc-tool and update the doc with this new version by @glours in https://github.com/docker/compose/pull/9676
* Introduce --pull by @ndeloof in https://github.com/docker/compose/pull/9474
* Use Google addlicense instead of kunalkushwaha/ltag by @glours in https://github.com/docker/compose/pull/9677
* Enforce consistent args rejection for no-args commands: ls, restart, version by @piroux in https://github.com/docker/compose/pull/9660
* Exclude Named Pipes from volumeMounts by @ras0219 in https://github.com/docker/compose/pull/9414
* As --no-build is set, set service image to default image name by @ndeloof in https://github.com/docker/compose/pull/9179
* Use '-' as separator by default for image name by @glours in https://github.com/docker/compose/pull/9687
* Environment variables priority by @ulyssessouza in https://github.com/docker/compose/pull/9636
* Remove Image during ensureImageExists so it does not impact config-hash by @kmdm in https://github.com/docker/compose/pull/9350
* Bump compose-go -> 1.3.0 by @ulyssessouza in https://github.com/docker/compose/pull/9688
* Ignore variable names starting with numbers by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/284
* Add missing LinkLocalIPs to ServiceNetworkConfig by @floatingstatic in https://github.com/compose-spec/compose-go/pull/289
* Add 'default' value in case of presence of a variable by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/291
* Fix lookup precedence by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/280
* Add "nakedret" to the linters to put dotenv in conformity by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/287
* Upgrade dependencies to latest by @milas in https://github.com/compose-spec/compose-go/pull/293
* Fix interpolation error msg output by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/292
* Ensure compatibility for all supported Go versions by @milas in https://github.com/compose-spec/compose-go/pull/295
* Use '-' as default separator and support of compatibility mode by @glours in https://github.com/compose-spec/compose-go/pull/294
## New Contributors
* @piroux made their first contribution in https://github.com/docker/compose/pull/9660
* @ras0219 made their first contribution in https://github.com/docker/compose/pull/9414
* @kmdm made their first contribution in https://github.com/docker/compose/pull/9350
**Full Changelog**: https://github.com/docker/compose/compare/v2.7.0...v2.8.0