What's Changed
✨ Enhancements
- introduce --wait-timeout on
up
by @ndeloof in #10276 - sort service --hash output by service name by @ndeloof in #10278
- compact TUI to monitor layers download progress by @ndeloof in #10281
- introduce
restart
for depends_on by @ndeloof in #10284 - adopt http://no-color.org/ by @ndeloof in #10342
- progress writer uses dockercli.Err stream by @ndeloof in #10366
- introduce dockerfile_inline by @ndeloof in #10343
- add support for
additional_contexts
inbuild
service config by @laurazard in #10369 - watch: add file delete/rename handling by @milas in #10386
- introduce
ignore
attribute for watch triggers by @ndeloof in #10385 - use progress to show copy status by @ndeloof in #10387
- update -p project name flag documentation by @glours in #10390
🐛 Fixes
- exclude unstable labels from config hash by @ndeloof in #10275
- also restart dependent services after a service has been restarted by @ndeloof in #10273
- ignore services without a build section by @ndeloof in #10271
- apply config options for pseudo-subcommands by @ndeloof in #10289
- only consider containers with config_hash labels (i.e, created by compose) by @ndeloof in #10317
- report error if project name is empty after normalization by @ndeloof in #10334
- restart only needed services by checking depends_on relations by @glours in #10338
- pad can be negative on small terminal by @ndeloof in #10336
- collect built image IDs by @ndeloof in #10372
- one off container name use configured Separator for naming by @ndeloof in #10357
- fix concurrent map read/write when recreating containers by @lrascao in #10379
🔧 Internal
- add dry-run support for
stop
andrm
by @glours in #10257 - add dry-run support for pull command by @glours in #10341
- add dry-run support for push command by @glours in #10355
- add dry-run support for
exec
command by @glours in #10252 - add dry-run support for
restart
by @glours in #10339 - ci: use CGO for tests to enable race detector by @milas in #10261
- ci: don't use
-race
on Windows by @milas in #10262 - ci: bump to Go 1.20.1 and latest deps by @milas in #10285
- use go 1.20 -cover support by @ndeloof in #10361
- build and push binaries images when a PR is merged or a tag pushed by @glours in #10371
- use CGO to enable fsevent on OSX [ENV-37] by @ndeloof in #10249
- watch: ignore ephemeral files & minor output tweaks by @milas in #10311
- test: tweak pause test to try and prevent failures in Windows CI by @milas in #10320
- preserve symbol table in binaries for static analysis (
govulncheck
) by @tianon in #10325 - use
build
as common API for build scenarios by @ndeloof in #10374
Changelog
- build(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.1 by @dependabot in #10279
- build(deps): bump github.com/docker/buildx from 0.10.2 to 0.10.3 by @dependabot in #10291
- build(deps): bump github.com/containerd/containerd from 1.6.17 to 1.6.18 by @dependabot in #10287
- bump golang/x/net to v0.7.0 (CVE-2022-41723) by @glours in #10302
- build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #10316
- build(deps): bump go.opentelemetry.io/otel from 1.13.0 to 1.14.0 by @dependabot in #10329
- build(deps): bump github.com/containerd/containerd from 1.6.18 to 1.6.19 by @dependabot in #10330
- update compose-go by @ndeloof in #10335
- build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 by @dependabot in #10353
- build(deps): bump github.com/docker/buildx from 0.10.3 to 0.10.4 by @dependabot in #10352
New Contributors
Full Changelog: v2.16.0...v2.17.0