Docker Compose - v2.19.0
What's Changed
Enhancements ✨
- introduce ability to select service to be stopped by
compose down
by @ndeloof in https://github.com/docker/compose/pull/10552 - use
--progress
to configure progress UI style by @ndeloof in https://github.com/docker/compose/pull/10690 - introduce run --cap-add to run maintenance commands using service image by @ndeloof in https://github.com/docker/compose/pull/10669
Fixes 🐛
- fix detection of swarm mode by @ndeloof in https://github.com/docker/compose/pull/10591
- fix support for project name set by COMPOSE_PROJECT_NAME env var by @ndeloof in https://github.com/docker/compose/pull/10597
- fix display of volumes flag in down command help by @glours in https://github.com/docker/compose/pull/10616
- progress: remove errant import by @milas in https://github.com/docker/compose/pull/10614
- [fix]
up
should not silently ignore missing depends_on service by @ndeloof in https://github.com/docker/compose/pull/10602 - forward signal to container by @ndeloof in https://github.com/docker/compose/pull/10633
- detect network conflict as name is not guaranteed to be unique by @ndeloof in https://github.com/docker/compose/pull/10612
- Fix typo in warning about existing volume by @jfly in https://github.com/docker/compose/pull/10623
- fix
compose -p x logs -f
detect new services started after command by @ndeloof in https://github.com/docker/compose/pull/10622 - don't skip
compose
used as project name by @ndeloof in https://github.com/docker/compose/pull/10657 - create directory in container using
mkdir -p
by @ndeloof in https://github.com/docker/compose/pull/10652 - Do not set a default timeout of 10 seconds when restarting / stopping… by @robbert-ef in https://github.com/docker/compose/pull/10672
- don't apply "rebuild" watch strategy by default by @ndeloof in https://github.com/docker/compose/pull/10710
- fix race condition, waiting for containers when one exit by @ndeloof in https://github.com/docker/compose/pull/10725
- warn user build.secrets uid,gid,mode are not implemented by @ndeloof in https://github.com/docker/compose/pull/10709
Internal 🔧
- only set CopyUIDGID when secret is requested to set gid/uid by @ndeloof in https://github.com/docker/compose/pull/10598
- only watch configured paths by @ndeloof in https://github.com/docker/compose/pull/10599
- sort containers by creation date to scale down the older ones by @ndeloof in https://github.com/docker/compose/pull/10571
- compute service hash with a default DeployConfig by @ndeloof in https://github.com/docker/compose/pull/10621
- Cuke tests for port conflicts by @nicksieger in https://github.com/docker/compose/pull/10627
- add Windows drive prefix to temp dir usage in the doc generation task by @glours in https://github.com/docker/compose/pull/10637
- update docs to reflect dry run mode is feature complete by @aevesdocker in https://github.com/docker/compose/pull/10604
- better diagnostic message on network label mismatch by @ndeloof in https://github.com/docker/compose/pull/10639
- assume we receive logs by lines and don't ignore those without EOL by @ndeloof in https://github.com/docker/compose/pull/10660
- ci: upgrade to Go 1.20.5 and Moby v24.x by @milas in https://github.com/docker/compose/pull/10662
- do not render
Building
when no build is needed by @ndeloof in https://github.com/docker/compose/pull/10620 - ci: merge Go coverage reports before upload by @milas in https://github.com/docker/compose/pull/10666
- trace: add OTEL initialization by @milas in https://github.com/docker/compose/pull/10526
- add GitHub action to trigger Docker Desktop e2e tests with Compose edge version by @glours in https://github.com/docker/compose/pull/10625
- use env instead of variables prefix to use DOCKERDESKTOP_APPID by @glours in https://github.com/docker/compose/pull/10685
- ci: add more ignore rules to dependabot by @milas in https://github.com/docker/compose/pull/10694
- escape containerimage.digest attribute in merge.yml GHA worlflow by @glours in https://github.com/docker/compose/pull/10691
- fix typo in merge workflow for DOCKERDESKTOP_APP_ID by @glours in https://github.com/docker/compose/pull/10698
- use directly DOCKERDESKTOP_APP_ID without env. prefix by @glours in https://github.com/docker/compose/pull/10701
- add vars. prefix to DOCKERDESKTOP_APP_ID by @glours in https://github.com/docker/compose/pull/10702
- specify origin repo in generation token step of docker desktop edge testing by @glours in https://github.com/docker/compose/pull/10703
- otel: fix initialization / error-handling by @milas in https://github.com/docker/compose/pull/10717
- add missing comma in desktop-edge-test job by @glours in https://github.com/docker/compose/pull/10724
- use main branch of Docker Desktop repo to trigger remote workflow by @glours in https://github.com/docker/compose/pull/10726
- trace: refactor root command span reporting by @milas in https://github.com/docker/compose/pull/10719
- ci: upgrade to buildx v0.11 by @milas in https://github.com/docker/compose/pull/10727
Bumps
- build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 by @dependabot in https://github.com/docker/compose/pull/10578
- go.mod: golang.org/x/oauth2 v0.1.0 by @thaJeztah in https://github.com/docker/compose/pull/10592
- build(deps): bump github.com/cloudflare/cfssl from 1.4.1 to 1.6.4 by @dependabot in https://github.com/docker/compose/pull/10572
- build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in https://github.com/docker/compose/pull/10582
- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in https://github.com/docker/compose/pull/10632
- bump buildx and use confutil.ConfigDir by @ndeloof in https://github.com/docker/compose/pull/10631
- ci: bump golangci-lint to v1.53.x by @milas in https://github.com/docker/compose/pull/10659
- build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 by @dependabot in https://github.com/docker/compose/pull/10653
- build(deps): bump github.com/Microsoft/go-winio from 0.5.2 to 0.6.1 by @dependabot in https://github.com/docker/compose/pull/10677
- build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 by @dependabot in https://github.com/docker/compose/pull/10715
- build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in https://github.com/docker/compose/pull/10699
- bump compose-go to version v1.15.0 by @glours in https://github.com/docker/compose/pull/10730
- build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.0 by @dependabot in https://github.com/docker/compose/pull/10720
New Contributors
- @aevesdocker made their first contribution in https://github.com/docker/compose/pull/10604
- @jfly made their first contribution in https://github.com/docker/compose/pull/10623
- @robbert-ef made their first contribution in https://github.com/docker/compose/pull/10672
Full Changelog: https://github.com/docker/compose/compare/v2.18.1...v2.19.0
Details
date
June 21, 2023, 12:21 p.m.
name
v2.19.0
type
Minor
official page
👇
Register or login to:
- 🔍View and search all Docker Compose releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!