Skip to content

Releases: docker/compose

v2.23.1

16 Nov 07:50
Compare
Choose a tag to compare

✨ Features

  • align with OCI artifact best practices by @ndeloof in #11121
  • introduce --resolve-image-digests for publish to seal service images by @ndeloof in #11136
  • improve watch configuration logging by @glours in #11161
  • reject compose file using secrets|configs.driver or template_driver by @ndeloof in #11185

πŸ› Fixes

πŸ”§ Internal

New Contributors

Full Changelog: v2.23.0...v2.23.1

v2.23.0

18 Oct 15:52
Compare
Choose a tag to compare

✨ Features

  • Add dry-run support for publish command (#11067)
  • Add COMPOSE_ENV_FILES env variable to pass a list of env files (#11061)
  • Add sync+restart action to compose watch (#11095)

πŸ› Fixes

  • Truncate compose ps output to align with Docker CLI by default and introduce --no-trunc to keep the previous behaviour (#11038)
  • Update the watch warning message when no services with a develop section (#11047)
  • Include image name in inspect error message (#11006)
  • Make hashes between up and configure consistent (#11010)
  • Warn user remote resource is disabled (#11051)
  • Enable profile when down is ran with explicit service names (#11108)
  • Check that the pull policy provided is a valid one (#11109)

πŸ”§ Internal

  • Align OCI artifacts with upstream guidance (#11049)
  • remove cucumber tests as we haven't added new ones for a while (#11076)
  • remove refrecence docs generation (#11085)

What's Changed

  • build(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in #11036
  • truncate command by default, introduce --no-trunc flag to get the full command by @ndeloof in #11038
  • Make tests verbose by @rumpl in #11045
  • update the watch warning message when no services with a develop section by @glours in #11047
  • Align OCI artifacts with upstream guidance by @neersighted in #11049
  • Include image name in error message by @mattwalo32 in #11006
  • deps: remove deprecated github.com/pkg/errors by @mmorel-35 in #11042
  • Make hashes between up and configure consistent by @mattwalo32 in #11010
  • add dry-run support for publish command by @glours in #11067
  • add support of COMPOSE_ENV_FILES env variable to pass a list of env files by @glours in #11061
  • remove cucumber tests as we haven't added new ones for a while by @glours in #11076
  • remove refrecence docs generation by @glours in #11085
  • build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #11068
  • build(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 by @dependabot in #11105
  • build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #11083
  • build(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.7 by @dependabot in #11078
  • add sync+restart action to watch attribute by @glours in #11095
  • warn user remote resource is disabled by @ndeloof in #11051
  • enable profile when down is ran with explicit service names by @ndeloof in #11108
  • check that the pull policy provided is a valid one by @glours in #11109

New Contributors

Full Changelog: v2.22.0...v2.23.0

v2.22.0

21 Sep 15:55
bd32ed1
Compare
Choose a tag to compare

πŸ’πŸ» Upgrade Notes

  • watch command is now GA and can be directly used from the root command docker compose watch

✨ Features

  • Experimental support of publish command (#10949)
  • watch now build and launch the project at start (#10957)
  • Add policy option to the --pull flag (#10981)

πŸ› Fixes

  • Fix various race/deadlock conditions for up command on exit (#10934)
  • Fix for multi-plaform issues on build (#10956)
  • Enable services explicitly requested even if their profiles aren't activated (#10952)
  • Fix config bug when declared env_file are missing (#11025)

πŸ”§ Internal

What's Changed

New Contributors

Full Changelog: v2.21.0...v2.22.0

v2.21.0

30 Aug 22:27
d6f842b
Compare
Choose a tag to compare

πŸ’πŸ» Upgrade Notes

  • Format of docker compose ps and docker compose ps --format=json changed to better align with docker ps output (#10918)

✨ Features

πŸ› Fixes

πŸ”§ Internal

What's Changed

New Contributors

Full Changelog: v2.20.3...v2.21.0

v2.20.3

11 Aug 09:47
8d0df18
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

Fixes πŸ›

  • Progress: minor correctness fixes by @milas in #10871
  • Up: do not warn on successful optional dependency complete by @milas in #10870
  • Build: fix missing proxy build args for classic builder by @milas in #10887

Internal πŸ”§

  • Trace: do not block connecting to OTLP endpoint by @milas in #10882
  • Test: fix e2e test for privileged builds by @milas in #10873
  • Test: temporarily disable an exit-code-from Cucumber test case by @milas in #10875
  • Watch: support multiple containers for tar implementation by @milas in #10860
  • Watch: batch & de-duplicate file events by @milas in #10865
  • Watch: enable tar-based syncer by default by @milas in #10877
  • Update Config comment in API Service interface by @prafgup in #10840
  • Update README and CI workflows to match main branch by @glours in #10889

Dependencies βš™οΈ

  • Build(deps): bump github.com/docker/cli from 24.0.4+incompatible to 24.0.5+incompatible by @dependabot in #10845
  • Build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 by @dependabot in #10847
  • Build(deps): bump github.com/containerd/containerd from 1.7.2 to 1.7.3 by @dependabot in #10850
  • Build(deps): bump github.com/docker/docker from 24.0.5-0.20230714235725-36e9e796c6fc+incompatible to 24.0.5+incompatible by @dependabot in #10844
  • Update to go1.20.7 by @thaJeztah in #10861
  • Upgrade Golang to 1.21 by @glours in #10890
  • Bump compose-go to version v1.18.0 by @glours in #10891
  • Bump compose-go to version v1.18.1 by @glours in #10893
  • Build(deps): bump github.com/moby/buildkit from 0.12.1-0.20230717122532-faa0cc7da353 to 0.12.1 by @dependabot in #10867

New Contributors

Full Changelog: v2.20.2...v2.20.3

v2.20.2

19 Jul 12:57
8318f66
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

  • Add support of depends_on.required attribute by @glours in #10792

Fixes πŸ›

  • Build: do not attempt to push unnamed service images by @milas in #10814
  • check secret target is an absolute windows path by @ndeloof in #10819

Internal πŸ”§

  • trace: instrument compose up at a high-level by @milas in #10831
  • test: watch e2e reliability tweaks by @milas in #10829
  • pkg/compose: RunOneOffContainer: don't use NewStartOptions() by @thaJeztah in #10828
  • watch: move sync logic into separate package by @milas in #10791

Dependencies βš™οΈ

Full Changelog: v2.20.1...v2.20.2

v2.20.1

18 Jul 21:02
0938c7e
Compare
Choose a tag to compare

What's Changed

Dependencies βš™οΈ

Internal πŸ”§

  • Improved test coverage for alpha watch (#10801)
  • Speed up E2E test suite (#10816)

Full Changelog: v2.20.0...v2.20.1

v2.20.0

11 Jul 13:15
e28b223
Compare
Choose a tag to compare

What's Changed

Enhancements ✨

Fixes πŸ›

  • Don't use unitialized cli to setup DryRunClient by @ndeloof in #10770
  • Network: fix random missing network when service has more than one by @milas in #10778
  • Fix(secrets): file permission value does not comply with spec by @shantanoo-desai in #10784
  • Apply no-deps before we select and mutate target service by @ndeloof in #10789

Internal πŸ”§

Bumps

  • Build(deps): bump google.golang.org/grpc from 1.56.0 to 1.56.2 by @dependabot in #10787
  • Deps: bump docker/cli-docs-tool to v0.6.0 by @milas in #10781
  • Build(deps): bump gotest.tools/v3 from 3.4.0 to 3.5.0 by @dependabot in #10760
  • Build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc3 to 1.1.0-rc4 by @dependabot in #10764
  • Build(deps): bump github.com/docker/docker from 24.0.2+incompatible to 24.0.4+incompatible by @dependabot in #10788
  • Build(deps): bump github.com/docker/buildx from 0.11.0 to 0.11.1 by @dependabot in #10776

New Contributors

Full Changelog: v2.19.1...v2.20.0

v2.19.1

29 Jun 22:09
c496c23
Compare
Choose a tag to compare

Known Issues πŸ˜“

  • DNS resolution issues in services using multiple networks (#10777)

Bugfixes πŸ›

  • Fix for "container not connected to network" errors when running compose up (#10756)
  • Default to project directory if build.context is not specified (see compose-spec/compose-spec#376)
  • Warn if using a bind mount in watch configuration (#10741)

Changelog

  • add warning when a watch source is already used by a bind mount volume by @glours in #10741
  • fix typos by @gocurr in #10740
  • Fix capitalization error in sentence by adding an uppercase letter at… by @aroramrinaal in #10722
  • up: fix race condition on network connect by @milas in #10756
  • ci: upgrade compose-go to v1.15.1 by @milas in #10757

New Contributors

Full Changelog: v2.19.0...v2.19.1

v2.19.0

21 Jun 12:21
db24023
Compare
Choose a tag to compare

Known Issues πŸ˜“

  • Intermittent "container is not connected to the network " errors on docker compose up (#10668)

What's Changed

Enhancements ✨

  • introduce ability to select service to be stopped by compose down by @ndeloof in #10552
  • use --progress to configure progress UI style by @ndeloof in #10690
  • introduce run --cap-add to run maintenance commands using service image by @ndeloof in #10669

Fixes πŸ›

  • fix detection of swarm mode by @ndeloof in #10591
  • fix support for project name set by COMPOSE_PROJECT_NAME env var by @ndeloof in #10597
  • fix display of volumes flag in down command help by @glours in #10616
  • progress: remove errant import by @milas in #10614
  • [fix] up should not silently ignore missing depends_on service by @ndeloof in #10602
  • forward signal to container by @ndeloof in #10633
  • detect network conflict as name is not guaranteed to be unique by @ndeloof in #10612
  • Fix typo in warning about existing volume by @jfly in #10623
  • fix compose -p x logs -f detect new services started after command by @ndeloof in #10622
  • don't skip compose used as project name by @ndeloof in #10657
  • create directory in container using mkdir -p by @ndeloof in #10652
  • Do not set a default timeout of 10 seconds when restarting / stopping… by @robbert-ef in #10672
  • don't apply "rebuild" watch strategy by default by @ndeloof in #10710
  • fix race condition, waiting for containers when one exit by @ndeloof in #10725
  • warn user build.secrets uid,gid,mode are not implemented by @ndeloof in #10709

Internal πŸ”§

  • only set CopyUIDGID when secret is requested to set gid/uid by @ndeloof in #10598
  • only watch configured paths by @ndeloof in #10599
  • sort containers by creation date to scale down the older ones by @ndeloof in #10571
  • compute service hash with a default DeployConfig by @ndeloof in #10621
  • Cuke tests for port conflicts by @nicksieger in #10627
  • add Windows drive prefix to temp dir usage in the doc generation task by @glours in #10637
  • update docs to reflect dry run mode is feature complete by @aevesdocker in #10604
  • better diagnostic message on network label mismatch by @ndeloof in #10639
  • assume we receive logs by lines and don't ignore those without EOL by @ndeloof in #10660
  • ci: upgrade to Go 1.20.5 and Moby v24.x by @milas in #10662
  • do not render Building when no build is needed by @ndeloof in #10620
  • ci: merge Go coverage reports before upload by @milas in #10666
  • trace: add OTEL initialization by @milas in #10526
  • add GitHub action to trigger Docker Desktop e2e tests with Compose edge version by @glours in #10625
  • use env instead of variables prefix to use DOCKERDESKTOP_APPID by @glours in #10685
  • ci: add more ignore rules to dependabot by @milas in #10694
  • escape containerimage.digest attribute in merge.yml GHA worlflow by @glours in #10691
  • fix typo in merge workflow for DOCKERDESKTOP_APP_ID by @glours in #10698
  • use directly DOCKERDESKTOP_APP_ID without env. prefix by @glours in #10701
  • add vars. prefix to DOCKERDESKTOP_APP_ID by @glours in #10702
  • specify origin repo in generation token step of docker desktop edge testing by @glours in #10703
  • otel: fix initialization / error-handling by @milas in #10717
  • add missing comma in desktop-edge-test job by @glours in #10724
  • use main branch of Docker Desktop repo to trigger remote workflow by @glours in #10726
  • trace: refactor root command span reporting by @milas in #10719
  • ci: upgrade to buildx v0.11 by @milas in #10727

Bumps

  • build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 by @dependabot in #10578
  • go.mod: golang.org/x/oauth2 v0.1.0 by @thaJeztah in #10592
  • build(deps): bump github.com/cloudflare/cfssl from 1.4.1 to 1.6.4 by @dependabot in #10572
  • build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #10582
  • build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #10632
  • bump buildx and use confutil.ConfigDir by @ndeloof in #10631
  • ci: bump golangci-lint to v1.53.x by @milas in #10659
  • build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 by @dependabot in #10653
  • build(deps): bump github.com/Microsoft/go-winio from 0.5.2 to 0.6.1 by @dependabot in #10677
  • build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 by @dependabot in #10715
  • build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in #10699
  • bump compose-go to version v1.15.0 by @glours in #10730
  • build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.0 by @dependabot in #10720

New Contributors

Full Changelog: v2.18.1...v2.19.0