-, or _ and start with a letter/number)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<<) for merging YAML anchors are not allowed (see #10411)up by @ndeloof in https://github.com/docker/compose/pull/10276restart for depends_on by @ndeloof in https://github.com/docker/compose/pull/10284additional_contexts in build service config by @laurazard in https://github.com/docker/compose/pull/10369ignore attribute for watch triggers by @ndeloof in https://github.com/docker/compose/pull/10385stop and rm by @glours in https://github.com/docker/compose/pull/10257exec command by @glours in https://github.com/docker/compose/pull/10252restart by @glours in https://github.com/docker/compose/pull/10339-race on Windows by @milas in https://github.com/docker/compose/pull/10262govulncheck) by @tianon in https://github.com/docker/compose/pull/10325build as common API for build scenarios by @ndeloof in https://github.com/docker/compose/pull/10374Full Changelog: https://github.com/docker/compose/compare/v2.16.0...v2.17.0
Fetched March 31, 2026