Impact Score: 5/10
Docker Compose v2.17.0 - Release Notes & Engineering Impact
Source available - automated, not human-reviewed
Component: docker-compose ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
โก Executive Summary (TL;DR)
Docker Compose v2.17.0. Source highlight: ๐๐ป Upgrade Notes (2.17.x)
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โจ New Features & Capabilities (6)
- introduce --wait-timeout on `up`
- introduce `restart` for depends_on
- ~introduce dockerfile_inline
- add support for `additional_contexts` in `build` service config
- watch: add file delete/rename handling
- introduce `ignore` attribute for watch triggers
โก Performance & Enhancements (6)
- sort service --hash output by service name
- compact TUI to monitor layers download progress
- adopt http://no-color.org/
- progress writer uses dockercli.Err stream
- use progress to show copy status
- update -p project name flag documentation
๐ง Bug Fixes & Patches (6)
- exclude unstable labels from config hash
- also restart dependent services after a service has been restarted
- ignore services without a build section
- apply config options for pseudo-subcommands
- only consider containers with config_hash labels (i.e, created by compose)
- report error if project name is empty after normalization
๐ View Raw Release Notes (Original Developer Log)
## ๐๐ป Upgrade Notes (2.17.x)
* Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters, `-`, or `_` and start with a letter/number)
* Only YAML 1.2 boolean values (`true` / `false`) are now accepted (deprecated YAML 1.1 values no longer supported: ~`y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF`~)
* Duplicate mapping keys (`<<`) for merging YAML anchors are not allowed (see #10411)
## 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