Docker Compose - v2.17.0

Security

What's Changed

✨ Enhancements

  • introduce --wait-timeout on up by @ndeloof in https://github.com/docker/compose/pull/10276
  • sort service --hash output by service name by @ndeloof in https://github.com/docker/compose/pull/10278
  • compact TUI to monitor layers download progress by @ndeloof in https://github.com/docker/compose/pull/10281
  • introduce restart for depends_on by @ndeloof in https://github.com/docker/compose/pull/10284
  • adopt http://no-color.org/ by @ndeloof in https://github.com/docker/compose/pull/10342
  • progress writer uses dockercli.Err stream by @ndeloof in https://github.com/docker/compose/pull/10366
  • introduce dockerfile_inline by @ndeloof in https://github.com/docker/compose/pull/10343
  • add support for additional_contexts in build service config by @laurazard in https://github.com/docker/compose/pull/10369
  • watch: add file delete/rename handling by @milas in https://github.com/docker/compose/pull/10386
  • introduce ignore attribute for watch triggers by @ndeloof in https://github.com/docker/compose/pull/10385
  • use progress to show copy status by @ndeloof in https://github.com/docker/compose/pull/10387
  • update -p project name flag documentation by @glours in https://github.com/docker/compose/pull/10390

🐛 Fixes

  • exclude unstable labels from config hash by @ndeloof in https://github.com/docker/compose/pull/10275
  • also restart dependent services after a service has been restarted by @ndeloof in https://github.com/docker/compose/pull/10273
  • ignore services without a build section by @ndeloof in https://github.com/docker/compose/pull/10271
  • apply config options for pseudo-subcommands by @ndeloof in https://github.com/docker/compose/pull/10289
  • only consider containers with config_hash labels (i.e, created by compose) by @ndeloof in https://github.com/docker/compose/pull/10317
  • report error if project name is empty after normalization by @ndeloof in https://github.com/docker/compose/pull/10334
  • restart only needed services by checking depends_on relations by @glours in https://github.com/docker/compose/pull/10338
  • pad can be negative on small terminal by @ndeloof in https://github.com/docker/compose/pull/10336
  • collect built image IDs by @ndeloof in https://github.com/docker/compose/pull/10372
  • one off container name use configured Separator for naming by @ndeloof in https://github.com/docker/compose/pull/10357
  • fix concurrent map read/write when recreating containers by @lrascao in https://github.com/docker/compose/pull/10379

🔧 Internal

  • add dry-run support for stop and rm by @glours in https://github.com/docker/compose/pull/10257
  • add dry-run support for pull command by @glours in https://github.com/docker/compose/pull/10341
  • add dry-run support for push command by @glours in https://github.com/docker/compose/pull/10355
  • add dry-run support for exec command by @glours in https://github.com/docker/compose/pull/10252
  • add dry-run support for restart by @glours in https://github.com/docker/compose/pull/10339
  • ci: use CGO for tests to enable race detector by @milas in https://github.com/docker/compose/pull/10261
  • ci: don't use -race on Windows by @milas in https://github.com/docker/compose/pull/10262
  • ci: bump to Go 1.20.1 and latest deps by @milas in https://github.com/docker/compose/pull/10285
  • use go 1.20 -cover support by @ndeloof in https://github.com/docker/compose/pull/10361
  • build and push binaries images when a PR is merged or a tag pushed by @glours in https://github.com/docker/compose/pull/10371
  • use CGO to enable fsevent on OSX [ENV-37] by @ndeloof in https://github.com/docker/compose/pull/10249
  • watch: ignore ephemeral files & minor output tweaks by @milas in https://github.com/docker/compose/pull/10311
  • test: tweak pause test to try and prevent failures in Windows CI by @milas in https://github.com/docker/compose/pull/10320
  • preserve symbol table in binaries for static analysis (govulncheck) by @tianon in https://github.com/docker/compose/pull/10325
  • use build as common API for build scenarios by @ndeloof in https://github.com/docker/compose/pull/10374

Changelog

  • build(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.1 by @dependabot in https://github.com/docker/compose/pull/10279
  • build(deps): bump github.com/docker/buildx from 0.10.2 to 0.10.3 by @dependabot in https://github.com/docker/compose/pull/10291
  • build(deps): bump github.com/containerd/containerd from 1.6.17 to 1.6.18 by @dependabot in https://github.com/docker/compose/pull/10287
  • bump golang/x/net to v0.7.0 (CVE-2022-41723) by @glours in https://github.com/docker/compose/pull/10302
  • build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in https://github.com/docker/compose/pull/10316
  • build(deps): bump go.opentelemetry.io/otel from 1.13.0 to 1.14.0 by @dependabot in https://github.com/docker/compose/pull/10329
  • build(deps): bump github.com/containerd/containerd from 1.6.18 to 1.6.19 by @dependabot in https://github.com/docker/compose/pull/10330
  • update compose-go by @ndeloof in https://github.com/docker/compose/pull/10335
  • build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 by @dependabot in https://github.com/docker/compose/pull/10353
  • build(deps): bump github.com/docker/buildx from 0.10.3 to 0.10.4 by @dependabot in https://github.com/docker/compose/pull/10352

New Contributors

  • @tianon made their first contribution in https://github.com/docker/compose/pull/10325
  • @lrascao made their first contribution in https://github.com/docker/compose/pull/10379

Full Changelog: https://github.com/docker/compose/compare/v2.16.0...v2.17.0


Details

date
March 22, 2023, 12:59 p.m.
name
v2.17.0
type
Minor
👇
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!
Continue with GitHub
Continue with Google
or