Releases: docker/compose
Releases · docker/compose
v2.25.0
What's Changed
🐛 Fixes
- Restore previous
config
behavior until--no-interpolate
is set #11604 - Fix service name shell completion in #11559
✨ Improvements
- Add --watch flag to up (#11525)
🔧 Internal
New Contributors
Full Changelog: v2.24.7...v2.25.0
v2.24.7
What's Changed
🐛 Fixes
- Ensure stable priority sort order for networks (#11510, #11429, compose-spec/compose-go#580)
- Fix interpolation with curly braces (e.g. JSON) in default values (compose-spec/compose-go#581)
- Fix validation for non-unique
container_name
values (compose-spec/compose-go#583, compose-spec/compose-go#585) - Fix validation for
develop.watch
(#11507, compose-spec/compose-go#586) - Fix environment loading for
include
(#11509, compose-spec/compose-go#582) - Fix panic when merging labels/networks (#11520, compose-spec/compose-go#584)
- Support
--no-path-resolution
when usinginclude
(#11508, compose-spec/compose-go#579) - Fix missing project name errors (#11450, compose-spec/compose-go#578)
- Force plain progress mode when ANSI disabled (#11514)
- Fix
--no-interpolate
flag onconfig
(#11556) - Workaround for file lock issues with Watch mode on Windows (#11513)
- Fix duplicate exit code status messages (#11562)
- Respect
COMPOSE_REMOVE_ORPHANS
onup
(#11462)
✨ Improvements
🔧 Internal
- Generate test summaries in CI (#11558)
⚙️ Dependencies
Changelog
- discard stdout for laaarge log test by @ndeloof in #11505
- sort containers to optimize scale down by @ndeloof in #11473
- ci: bump engine version to
25.0.3
by @laurazard in #11512 - Issue-11374: Modified compose up command to respect COMPOSE_REMOVE_ORPHANS environment variable by @batcity in #11462
- when ran with ANSI disabled, force progress=plain by @ndeloof in #11514
- Apply --quiet-pull option when creating dependencies from run command by @glours in #11523
- use a dedicated compose file for --quiet-pull e2e test by @glours in #11537
- bump compose-go to version v2.0.0-rc.8 by @glours in #11536
- Double check watch pid if detected as still running on Windows by @glours in #11513
- get log to manage
attach
by @ndeloof in #11542 - Remove docker cli step in ci.yml by @jhrotko in #11549
- restore support for
config --no-interpolate
by @ndeloof in #11556 - introduce --watch by @ndeloof in #11525
- avoid duplicated "xx exited with code 0" message by @ndeloof in #11562
- make code simpler by @ndeloof in #11535
- wip add test summary in ci by @jhrotko in #11558
- ci(deps): bump moby/moby & docker/cli to v25.0.4 by @milas in #11566
- chore(deps): upgrade go to 1.21.8 by @milas in #11578
New Contributors
Full Changelog: v2.24.6...v2.24.7
v2.24.6
What's Changed
🐛 Fixes
- Fix load .env from project directory when project file is set by COMPOSE_FILE by @ndeloof in #11405
- Pass All option to backend api.Service when length statuses is not equal to zero by @1arp in #11475
- Fix deadlock collecting large logs by @ndeloof in #11496
🔧 Internal
- [CI] docker engine version matrix by @ndeloof in #11459
- Include all networks in ContainerCreate call if API >= 1.44 by @laurazard in #11429
- Chore(load): ensure context passed to load by @milas in #11466
- Feat(tracing): add project hash attribute by @milas in #11465
- Add OTEL build,depends and capabilities to attributes by @jhrotko in #11485
- Use listener for file metadata by @jhrotko in #11492
- Docs: unify no trailing dots in docstrings and help by @PiotrDabrowskey in #11301
- Chore(watch): remove old
docker cp
implementation by @milas in #11497 - Docs: update cli reference link by @dvdksn in #11487
- Use listeners to collect include metrics by @ndeloof in #11503
⚙️ Dependencies
- Build(deps): bump github.com/docker/cli from 25.0.1+incompatible to 25.0.2+incompatible by @dependabot in #11443
- CI(deps): bump docker/cli to v25.0.3 by @ndeloof in #11481
- Bump compose-go to v2.0.0-rc.4 by @ndeloof in #11470
- Bump compose-go to v2.0.0-rc.7 by @ndeloof in #11503
- Build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc5 to 1.1.0-rc6 by @dependabot in #11468
New Contributors
- @1arp made their first contribution in #11475
- @PiotrDabrowskey made their first contribution in #11301
Full Changelog: v2.24.5...v2.24.6
v2.24.5
🐛 Fixes
- Fix for
failed to solve: changes out of order
errors while building images on Windows (#11426)
Full Changelog
- Fix canonical container name in --dry-run by @jhrotko in #11425
- ci(deps): replace buildkit to fix fsutil issues on Windows by @crazy-max in #11426
- chore(e2e): fix flaky test & standalone behavior by @milas in #11382
New Contributors
Full Changelog: v2.24.4...v2.24.5
v2.24.4
What's Changed
✨ Enhancements
🐛 Fixes
🔧 Internal
- Update MAINTAINERS file by @laurazard in #11411
- ci(deps): update DOCKER_CLI_VERSION to v25.0.1 by @thaJeztah in #11410
⚙️ Dependencies
- build(deps): bump actions/upload-artifact from v3 to v4 by @dvdksn in #11415
- build(deps): bump compose-go
v2.0.0-rc3
to fix multiple compose files merge issues by @glours in #11416 - build(deps): bump github.com/docker/docker from 25.0.0+incompatible to 25.0.1+incompatible by @dependabot in #11407
- build(deps): bump github.com/docker/cli from 25.0.0+incompatible to 25.0.1+incompatible by @dependabot in #11406
Full Changelog: v2.24.3...v2.24.4
v2.24.3
What's Changed
This release fixes build issue with Docker Desktop for Windows introduced in Compose v2.24.0
🔧 Internal
⚙️ Dependencies
- use a custom version of fsutils that fixes a bug on Windows causing all Compose builds to fail by @glours in #11400
Full Changelog: v2.24.2...v2.24.3
v2.24.2
What's Changed
This release fixes issues related to the Compose files merging process in compose-go
library
🔧 Internal
⚙️ Dependencies
- go.mod: github.com/google/uuid v1.5.0, github.com/moby/sys/mountinfo v0.7.1 by @thaJeztah in #11372
- ci(deps): upgrade to Moby v25.0.0 GA by @milas in #11381
- bump compose-go to v2.0.0-rc.2 by @ndeloof in #11390
Full Changelog: v2.24.1...v2.24.2
v2.24.1
What's Changed
🐛 Fixes
- Stop the resource timer after last expected event by @ndeloof in #11357
- fix engine version require to use healthcheck.start_interval by @ndeloof in #11360
- fix(tracing): batch span exports to prevent blocking by @milas in #11364
🔧 Internal
- remove watch subcommand from the alpha command by @glours in #11363
- signals/utils: always handle received signals by @laurazard in #11361
⚙️ Dependencies
- build(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 by @dependabot in #11347
- build(deps): bump github.com/docker/cli from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible by @dependabot in #11348
- build(deps): bump github.com/docker/docker from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible by @dependabot in #11349
- build(deps): bump github.com/docker/cli from 25.0.0-rc.2+incompatible to 25.0.0-rc.3+incompatible by @dependabot in #11365
- build(deps): bump github.com/docker/docker from 25.0.0-rc.2+incompatible to 25.0.0-rc.3+incompatible by @dependabot in #11367
- bump version of compose-go to v2.0.0-rc.1 by @glours in #11368
Full Changelog: v2.24.0...v2.24.1
v2.24.0
What's Changed
Breaking change ⚠️
- service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.
✨ Enhancements
- Implement
docker compose attach
by @g0t4 in #11181 - Introduce ps --orphans to include/exclude services not declared by project by @ndeloof in #11220
- Introduce compose logs --index to select a replica container by @ndeloof in #11231
--with-dependencies
letdocker compose build
build dependencies transitively by @ndeloof in #11290- Introduce
stats
command by @ndeloof in #11299 - Add source policies for build by @cpuguy83 in #11325
🐛 Fixes
- Include disabled services for shell completion by @ndeloof in #11251
- Restore
Project
is ps json output by @ndeloof in #11223 - Log we don't expose service ports when --verbose by @ndeloof in #11227
- Fix configs are mounted under / by @ndeloof in #11232
- Fix combination of --pull always --no-build by @ndeloof in #11244
- Fix(publish): add OCI 1.0 fallback support for AWS ECR by @milas in #11239
- Fix race condition in log printer by @horus in #11286
- Send out a cancel event on SIGINT/SIGTERM signal for
compose up
by @vyneer in #11230 - Up: teardown when command context is cancelled by @laurazard in #11292
- Build do not require environment to be resolved by @ndeloof in #11274
🔧 Internal
- Let contributor know we might close unanswered issues by @ndeloof in #11219
- Feat(cli): report more useful User-Agent on engine API requests by @milas in #11333
- Adopt compose-go/v2 by @ndeloof in #11207
- Add support for start_interval by @ndeloof in #10939
- Update README.md to use standard
compose.yaml
file name by @johnthagen in #11233 - Watch: remove requirements for tar binary and for sync target to be rw by @ndeloof in #11330
- Deps: update docker/cli to fix go version selection issue by @laurazard in #11283
- Remove ServiceProxy which was introduced for archived compose-cli by @ndeloof in #11298
- github.com/golang/mock is deprecated by @ndeloof in #11272
- Add support for endpoint-specific MAC address by @akerouanton in #11208
- Collect services to build using WithServices by @ndeloof in #11255
⚙️ Dependencies
- Bump compose-go to version v2.0.0-beta.3 by @glours in #11307
- Bump ddev to 1.22.4 by @ndeloof in #11225
- Bump golang to version 1.21.5 by @glours in #11249
- Bump docker cli v1.25 beta1 by @ndeloof in #11247
- Bump golang to version v1.21.6 by @glours in #11331
- Bump golangci-lint to v1.55.2 ci(deps) by @milas in #11332
- Bump compose-go v2-beta.2 by @ndeloof in #11295
- Build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #11324
- Build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 by @dependabot in #11228
- Build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 by @dependabot in #11317
- Build(deps): bump go.uber.org/mock from 0.3.0 to 0.4.0 by @dependabot in #11291
- go.mod: docker/docker and docker/cli v25.0.0-beta.3 by @thaJeztah in #11294
- go.mod: update docker/docker and docker/cli to v25.0.0-rc.1 by @thaJeztah in #11320
- gha: update DOCKER_CLI_VERSION to v24.0.7 by @thaJeztah in #11321
New Contributors
- @johnthagen made their first contribution in #11233
- @vyneer made their first contribution in #11230
- @horus made their first contribution in #11286
- @cpuguy83 made their first contribution in #11325
Full Changelog: v2.23.3...v2.24.0
v2.24.0-birthday.10 🥳
This is a pre-release to celebrate 10 years of Docker Compose since 0eb7d30
✨ Features
- Introduce
ps --orphans
to include/exclude services not declared by project by @ndeloof in #11220 - Log we don't expose service ports when --verbose by @ndeloof in #11227
- Introduce
logs --index
to select a replica container by @ndeloof in #11231 - Add support for
start_interval
by @ndeloof in #10939
🐛 Fixes
- Restore
Project
is ps json output by @ndeloof in #11223 - Fix configs are mounted under / by @ndeloof in #11232
- Update README.md to use standard
compose.yaml
file name by @johnthagen in #11233 - Send out a cancel event on SIGINT/SIGTERM signal for
compose up
by @vyneer in #11230 - Fix combination of
--pull always --no-build
by @ndeloof in #11244 - Fix(publish): add OCI 1.0 fallback support for AWS ECR by @milas in #11239
- Include disabled services for shell completion by @ndeloof in #11251
🔧 Internal
- Let contributor know we might close unanswered issues by @ndeloof in #11219
- Adopt compose-go/v2 by @ndeloof in #11207
- collect services to build using WithServices by @ndeloof in #11255
⚙️ Dependencies
- bump ddev to 1.22.4 by @ndeloof in #11225
- bump golang.org/x/sys from 0.14.0 to 0.15.0 by @dependabot in #11228
- bump docker cli v1.25 beta1 by @ndeloof in #11247
- bump golang to version 1.21.5 by @glours in #11249
New Contributors
- @johnthagen made their first contribution in #11233
- @vyneer made their first contribution in #11230
Full Changelog: v2.23.3...v2.24.0-birthday.10