2.34.0
What's Changed
✨ Improvements
- Support refresh pull policy by @ndeloof in https://github.com/docker/compose/pull/12568
- Introduced
includeto filter files considered bywatchby @ndeloof in https://github.com/docker/compose/pull/12584 - Introduced
--env-from-fileindocker compose runcommand by @ndeloof in https://github.com/docker/compose/pull/12626 - Make
publisha regular command of Compose by @glours in https://github.com/docker/compose/pull/12629
🐛 Fixes
- Build: only print COMPOSE_BAKE recommendation when disabled by @emersion in https://github.com/docker/compose/pull/12572
- Improve message suggesting using bake by @glours in https://github.com/docker/compose/pull/12612
- Fixed service: reference in additional_contexts for builds without bake by @ndeloof in https://github.com/docker/compose/pull/12582
- Block the publication of an OCI artifact if one or more services contain only a build section by @glours in https://github.com/docker/compose/pull/12597
- Display the location of OCI or GIT Compose stack download by @glours in https://github.com/docker/compose/pull/12595
- Refuse to publish compose file with local include by @ndeloof in https://github.com/docker/compose/pull/12600
publishreject compose file with bind mounts by @ndeloof in https://github.com/docker/compose/pull/12601- Display interpolation variables and their values when running a remote stack by @glours in https://github.com/docker/compose/pull/12604
- Publish compose file with required siblings used by
extendsby @ndeloof in https://github.com/docker/compose/pull/12606 - Add warning message when a remote configuration include an another remote config by @glours in https://github.com/docker/compose/pull/12610
- Only load env_file after services have been selected by @ndeloof in https://github.com/docker/compose/pull/12611
- Deprecate --y, prefer --yes by @ndeloof in https://github.com/docker/compose/pull/12623
- Use Defang secret-detector to identify potential secret leaks before publishing OCI artifacts by @glours in https://github.com/docker/compose/pull/12620
🔧 Internal
- Link to configuration file docs by @andrew-kramer in https://github.com/docker/compose/pull/12559
- Otel attribute to track builder implementation selected by @ndeloof in https://github.com/docker/compose/pull/12586
- Test version command by @maxproske in https://github.com/docker/compose/pull/12576
- Implement extends.file replace without yqlib by @ndeloof in https://github.com/docker/compose/pull/12615
- Add
cli.isattyattribute to spans generated by compose by @landism in https://github.com/docker/compose/pull/12630 - Condense output of
compose topby @dmke in https://github.com/docker/compose/pull/12628
⚙️ Dependencies
- Require go
1.23|1.24(stable) by @ndeloof in https://github.com/docker/compose/pull/12571 - Build(deps): bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1 by @dependabot in https://github.com/docker/compose/pull/12583
- Build(deps): bump github.com/google/go-cmp from
0.6.0to0.7.0by @dependabot in https://github.com/docker/compose/pull/12578 - Build(deps): bump github.com/docker/cli from
28.0.0+incompatibleto28.0.1+incompatibleby @dependabot in https://github.com/docker/compose/pull/12590 - Build(deps): bump github.com/docker/docker from
28.0.0+incompatibleto28.0.1+incompatibleby @dependabot in https://github.com/docker/compose/pull/12591 - Build(deps): bump github.com/docker/buildx from
0.21.1to0.21.2by @dependabot in https://github.com/docker/compose/pull/12598 - Build(deps): bump github.com/opencontainers/image-spec from
1.1.0to1.1.1by @dependabot in https://github.com/docker/compose/pull/12599 - Build(deps): bump golang.org/x/sync from
0.11.0to0.12.0by @dependabot in https://github.com/docker/compose/pull/12607 - Build(deps): bump google.golang.org/grpc from
1.70.0to1.71.0by @dependabot in https://github.com/docker/compose/pull/12603 - Build(deps): bump golang.org/x/sys from
0.30.0to0.31.0by @dependabot in https://github.com/docker/compose/pull/12608 - Build(deps): bump github.com/moby/buildkit from
0.20.0to0.20.1by @dependabot in https://github.com/docker/compose/pull/12609 - Build(deps): bump tags.cncf.io/container-device-interface from
0.8.1to1.0.0by @dependabot in https://github.com/docker/compose/pull/12617 - Bump compose-go to version
v2.4.9by @glours in https://github.com/docker/compose/pull/12633
Full Changelog: https://github.com/docker/compose/compare/v2.33.1...v2.34.0