Skip to content

Commit 24ca6ef

Browse files
gloursaevesdocker
andauthored
release-notes for Compose v2.40.3 version (#23629)
<!--Delete sections as needed --> ## Description Add release notes of latest `v2.40.3` version of Compose ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [x] Editorial review - [ ] Product review --------- Signed-off-by: Guillaume Lours <[email protected]> Co-authored-by: Allie Sadler <[email protected]>
1 parent 610f699 commit 24ca6ef

File tree

7 files changed

+20
-6
lines changed

7 files changed

+20
-6
lines changed

_vendor/github.com/docker/compose/v2/docs/reference/compose_exec.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_exec.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_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.2
5+
# github.com/docker/compose/v2 v2.40.3
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: 12 additions & 0 deletions
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.3
19+
20+
{{< release-date date="2025-10-30" >}}
21+
22+
### Bug fixes and enhancements
23+
24+
- Lifecycle hooks now apply to the `restart` command
25+
- Improved override support when publishing OCI artifacts
26+
- Fixed an issue to ensure an image exists only for targeted services with the `run` command
27+
- Added a default Prompt implementation
28+
29+
1830
## 2.40.2
1931

2032
{{< release-date date="2025-10-22" >}}

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.2 // indirect
31+
github.com/docker/compose/v2 v2.40.3 // 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.2
135+
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.40.3
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ github.com/docker/compose/v2 v2.40.1 h1:05it8xe0xH3qVGx8KxHf8XFKrcWqY1RpJ0OHCPe+
106106
github.com/docker/compose/v2 v2.40.1/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU=
107107
github.com/docker/compose/v2 v2.40.2 h1:h2bDBJkOuqmj93XvT2oI0ArPQonE0lGtWiILXdiXvbA=
108108
github.com/docker/compose/v2 v2.40.2/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU=
109+
github.com/docker/compose/v2 v2.40.3 h1:XeYkQu1svDtyfZPv5nTwFryQ25ZJMkIlc4pz9HalMPI=
110+
github.com/docker/compose/v2 v2.40.3/go.mod h1:iNY1tvoHTyN3C3QHCuWAgj3OjR2T6mGkk/qxfbBF/4M=
109111
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
110112
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
111113
github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw=

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ params:
140140
# (Used to show e.g., "latest" and "latest"-1 in engine install examples
141141
docker_ce_version_prev: "28.5.0"
142142
# Latest Docker Compose version
143-
compose_version: "v2.40.1"
143+
compose_version: "v2.40.3"
144144
# Latest BuildKit version
145145
buildkit_version: "0.25.0"
146146

0 commit comments

Comments
 (0)