2.35.0
What's Changed
π 1st implementation of external services feature to support Docker Model Runner in Compose by @ndeloof in https://github.com/docker/compose/pull/12692
β¨ Improvements
- Set
$PWD(may not be supported on Windows) by @ndeloof in https://github.com/docker/compose/pull/12643 - Introduce config
--no-env-resolutionby @ndeloof in https://github.com/docker/compose/pull/12665 - Introduce
build --printto dump equivalent bakefile by @ndeloof in https://github.com/docker/compose/pull/12675 - Feat(run): Add
--quietand--quiet-buildoptions for theruncommand by @idsulik in https://github.com/docker/compose/pull/12685 - Introduce
volume.type=imageby @ndeloof in https://github.com/docker/compose/pull/12725
π Fixes
- Fix support for secret set by env inside included file by @ndeloof in https://github.com/docker/compose/pull/12635
- Fix edge-case bug checking path prefix in watch for bind mount volumes by @matiboux in https://github.com/docker/compose/pull/12640
- Run only loads required service env_file and ignores others by @ndeloof in https://github.com/docker/compose/pull/12645
- Fixed support for
depends_on.restartinupandrestartcommands by @ndeloof in https://github.com/docker/compose/pull/12649 - Bake parses "${}" in DockerfileInline as a variable by @ndeloof in https://github.com/docker/compose/pull/12664
- Fix(secrets): Reverted secrets file mode 440 -> 444 by @idsulik in https://github.com/docker/compose/pull/12666
- Fix scale completion by @ndeloof in https://github.com/docker/compose/pull/12672
- Fix: replace
docker-compose.ymlwithcompose.yamlby @k-kbk in https://github.com/docker/compose/pull/12680 - Include implicit build dependencies in build command by @ndeloof in https://github.com/docker/compose/pull/12683
- Capture git fetch output when debug output is enabled by @ndeloof in https://github.com/docker/compose/pull/12719
- Mount API is not strictly equivalent to bind by @ndeloof in https://github.com/docker/compose/pull/12722
π§ Internal
- Test commandName subcommand order by @maxproske in https://github.com/docker/compose/pull/12535
- Set watch option --prune=true as default by @remcokranenburg in https://github.com/docker/compose/pull/12650
- Plugin Docker Desktop Model Runner check by @glours in https://github.com/docker/compose/pull/12718
- pkg/compose: implement Export using atomicwriter by @thaJeztah in https://github.com/docker/compose/pull/12715
- Style: refactor Desktop client for readability and maintainability by @Saracomethstein in https://github.com/docker/compose/pull/12723
βοΈ Dependencies
- Build(deps): bump github.com/docker/buildx from
0.21.2to0.21.3by @dependabot in https://github.com/docker/compose/pull/12646 - Build(deps): bump github.com/containerd/containerd/v2 from
2.0.3to2.0.4by @dependabot in https://github.com/docker/compose/pull/12647 - Bump docker & cli
v28.0.4and buildxv0.22.0by @ndeloof in https://github.com/docker/compose/pull/12674 - Bump golangci-lint to version
v2.0.2by @glours in https://github.com/docker/compose/pull/12689 - Bump golang to
1.23.8by @glours in https://github.com/docker/compose/pull/12698 - Update secret detector to fix vulnerability https://github.com/golang⦠by @sigi-glovebox in https://github.com/docker/compose/pull/12707
- Build(deps): bump golang.org/x/sys from
0.31.0to0.32.0by @dependabot in https://github.com/docker/compose/pull/12713 - Build(deps): bump golang.org/x/sync from
0.12.0to0.13.0by @dependabot in https://github.com/docker/compose/pull/12712 - Build(deps): bump github.com/compose-spec/compose-go/v2 from
2.5.1-0.20250409070949-8e1a035095cato2.6.0by @dependabot in https://github.com/docker/compose/pull/12729
Full Changelog: https://github.com/docker/compose/compare/v2.34.0...v2.35.0