Skip to content

Commit 896a5be

Browse files
authored
Compose release notes 2.40.2 (#23590)
<!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 308de2c commit 896a5be

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

_vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# github.com/moby/buildkit v0.25.1
33
# github.com/docker/buildx v0.29.1
44
# github.com/docker/cli v28.5.1+incompatible
5-
# github.com/docker/compose/v2 v2.40.0
5+
# github.com/docker/compose/v2 v2.40.2
66
# github.com/docker/model-runner/cmd/cli v0.1.44
77
# github.com/docker/mcp-gateway v0.22.0
88
# github.com/docker/scout-cli v1.18.4

content/manuals/compose/releases/release-notes.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ aliases:
1515

1616
For more detailed information, see the [release notes in the Compose repo](https://github.com/docker/compose/releases/).
1717

18+
## 2.40.2
19+
20+
{{< release-date date="2025-10-22" >}}
21+
22+
### Bug fixes and enhancements
23+
24+
- Added a check to fail builds if the minimal required Buildx version isn’t installed
25+
- Removed unused code to rely solely on api.Service
26+
- Improved image detection by checking digests/canonical references, not just tags
27+
- Introduced `WithPrompt` which adds a pluggable UI for user interactions
28+
- Reverted fix for secret/config setup of `uid:gid` to match container's `USER` definition
29+
1830
## 2.40.1
1931

2032
{{< release-date date="2025-10-17" >}}
@@ -24,7 +36,7 @@ For more detailed information, see the [release notes in the Compose repo](https
2436
- Fixed a few issues when building with bake
2537
- Added support of extends with profiles when using the `publish` command
2638
- Added support of `CTRL+Z` to run Compose in background
27-
- Fixed secret/config setup of uid:gid to match container's USER definition
39+
- Fixed secret/config setup of `uid:gid` to match container's `USER` definition
2840

2941
### Update
3042

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require (
2828
github.com/dlclark/regexp2 v1.11.0 // indirect
2929
github.com/docker/buildx v0.29.1 // indirect
3030
github.com/docker/cli v28.5.1+incompatible // indirect; see "replace" rule at the bottom for actual version
31-
github.com/docker/compose/v2 v2.40.0 // indirect
31+
github.com/docker/compose/v2 v2.40.2 // indirect
3232
github.com/docker/distribution v2.8.3+incompatible // indirect
3333
github.com/docker/docker v28.5.1+incompatible // indirect; see "replace" rule at the bottom for actual version
3434
github.com/docker/docker-credential-helpers v0.9.3 // indirect
@@ -132,7 +132,7 @@ require (
132132
replace (
133133
github.com/docker/buildx => github.com/docker/buildx v0.29.1
134134
github.com/docker/cli => github.com/docker/cli v28.5.1+incompatible
135-
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.40.1
135+
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.40.2
136136
github.com/docker/docker => github.com/docker/docker v28.4.0+incompatible
137137
github.com/docker/mcp-gateway => github.com/docker/mcp-gateway v0.22.0
138138
github.com/docker/model-runner/cmd/cli => github.com/docker/model-runner/cmd/cli v0.1.44

go.sum

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ github.com/docker/compose/v2 v2.39.3 h1:a9itRH/aBf9jJM80hQqQYdIzm4+9hcccJRnK5w0F
102102
github.com/docker/compose/v2 v2.39.3/go.mod h1:AOUEk2X2GpWNn/x/WNN55cc+JkH3mBd6gmx71lHZHv4=
103103
github.com/docker/compose/v2 v2.39.4 h1:lXIyl0axf8rZ5ThGm25g0y5nvtj1a9HKS08qfMvHiFM=
104104
github.com/docker/compose/v2 v2.39.4/go.mod h1:HrP3GcmLSdb1YbhcRhr1zWx/8Ulj/9Y+H443hlTAwMA=
105+
github.com/docker/compose/v2 v2.40.1 h1:05it8xe0xH3qVGx8KxHf8XFKrcWqY1RpJ0OHCPe+P1w=
105106
github.com/docker/compose/v2 v2.40.1/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU=
107+
github.com/docker/compose/v2 v2.40.2 h1:h2bDBJkOuqmj93XvT2oI0ArPQonE0lGtWiILXdiXvbA=
108+
github.com/docker/compose/v2 v2.40.2/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU=
106109
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
107110
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
108111
github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw=

0 commit comments

Comments
 (0)