From 9b6b07c1697c9d834d2accf8859dfc51bda0945e Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Thu, 30 Oct 2025 11:15:37 +0100 Subject: [PATCH 1/2] release-notes for Compose v2.40.3 version Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- .../docker/compose/v2/docs/reference/compose_exec.md | 2 +- .../v2/docs/reference/docker_compose_exec.yaml | 2 +- _vendor/modules.txt | 2 +- content/manuals/compose/releases/release-notes.md | 12 ++++++++++++ go.mod | 4 ++-- go.sum | 2 ++ hugo.yaml | 2 +- 7 files changed, 20 insertions(+), 6 deletions(-) diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_exec.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_exec.md index ab3bbbe3526c..312219e73160 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose_exec.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_exec.md @@ -20,7 +20,7 @@ a script. | `--dry-run` | `bool` | | Execute command in dry run mode | | `-e`, `--env` | `stringArray` | | Set environment variables | | `--index` | `int` | `0` | Index of the container if service has multiple replicas | -| `-T`, `--no-tty` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. | +| `-T`, `--no-tty` | `bool` | `true` | Disable pseudo-TTY allocation. By default 'docker compose exec' allocates a TTY. | | `--privileged` | `bool` | | Give extended privileges to the process | | `-u`, `--user` | `string` | | Run the command as this user | | `-w`, `--workdir` | `string` | | Path to workdir directory for this command | diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_exec.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_exec.yaml index 749682c96fbf..66ecfddab8d0 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_exec.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_exec.yaml @@ -63,7 +63,7 @@ options: value_type: bool default_value: "true" description: | - Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. + Disable pseudo-TTY allocation. By default 'docker compose exec' allocates a TTY. deprecated: false hidden: false experimental: false diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 53fca674e2f8..e1bd0a90343a 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -2,7 +2,7 @@ # github.com/moby/buildkit v0.25.1 # github.com/docker/buildx v0.29.1 # github.com/docker/cli v28.5.1+incompatible -# github.com/docker/compose/v2 v2.40.2 +# github.com/docker/compose/v2 v2.40.3 # github.com/docker/model-runner/cmd/cli v0.1.44 # github.com/docker/mcp-gateway v0.22.0 # github.com/docker/scout-cli v1.18.4 diff --git a/content/manuals/compose/releases/release-notes.md b/content/manuals/compose/releases/release-notes.md index 1d21621e8b27..a3603d654c33 100644 --- a/content/manuals/compose/releases/release-notes.md +++ b/content/manuals/compose/releases/release-notes.md @@ -15,6 +15,18 @@ aliases: For more detailed information, see the [release notes in the Compose repo](https://github.com/docker/compose/releases/). +## 2.40.3 + +{{< release-date date="2025-10-30" >}} + +### Bug fixes and enhancements + +- Applied hooks on `restart` command +- Improved override support when publishing OCI artifacts +- Fixed issue to ensure image exist only for targeted services in `run` command +- Added a default Prompt implementation + + ## 2.40.2 {{< release-date date="2025-10-22" >}} diff --git a/go.mod b/go.mod index c7a05d14d343..5d02ae360fea 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/dlclark/regexp2 v1.11.0 // indirect github.com/docker/buildx v0.29.1 // indirect github.com/docker/cli v28.5.1+incompatible // indirect; see "replace" rule at the bottom for actual version - github.com/docker/compose/v2 v2.40.2 // indirect + github.com/docker/compose/v2 v2.40.3 // indirect github.com/docker/distribution v2.8.3+incompatible // indirect github.com/docker/docker v28.5.1+incompatible // indirect; see "replace" rule at the bottom for actual version github.com/docker/docker-credential-helpers v0.9.3 // indirect @@ -132,7 +132,7 @@ require ( replace ( github.com/docker/buildx => github.com/docker/buildx v0.29.1 github.com/docker/cli => github.com/docker/cli v28.5.1+incompatible - github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.40.2 + github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.40.3 github.com/docker/docker => github.com/docker/docker v28.4.0+incompatible github.com/docker/mcp-gateway => github.com/docker/mcp-gateway v0.22.0 github.com/docker/model-runner/cmd/cli => github.com/docker/model-runner/cmd/cli v0.1.44 diff --git a/go.sum b/go.sum index 7184339ae0c2..ac5254f80124 100644 --- a/go.sum +++ b/go.sum @@ -106,6 +106,8 @@ github.com/docker/compose/v2 v2.40.1 h1:05it8xe0xH3qVGx8KxHf8XFKrcWqY1RpJ0OHCPe+ github.com/docker/compose/v2 v2.40.1/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU= github.com/docker/compose/v2 v2.40.2 h1:h2bDBJkOuqmj93XvT2oI0ArPQonE0lGtWiILXdiXvbA= github.com/docker/compose/v2 v2.40.2/go.mod h1:CbSJpKGw20LInVsPjglZ8z7Squ3OBQOD7Ux5nkjGfIU= +github.com/docker/compose/v2 v2.40.3 h1:XeYkQu1svDtyfZPv5nTwFryQ25ZJMkIlc4pz9HalMPI= +github.com/docker/compose/v2 v2.40.3/go.mod h1:iNY1tvoHTyN3C3QHCuWAgj3OjR2T6mGkk/qxfbBF/4M= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw= diff --git a/hugo.yaml b/hugo.yaml index daf707c30378..7ec919b599e8 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -140,7 +140,7 @@ params: # (Used to show e.g., "latest" and "latest"-1 in engine install examples docker_ce_version_prev: "28.5.0" # Latest Docker Compose version - compose_version: "v2.40.1" + compose_version: "v2.40.3" # Latest BuildKit version buildkit_version: "0.25.0" From 51677b7b342bd9d88e10fd1f97adb130017db4ad Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Mon, 3 Nov 2025 10:51:01 +0000 Subject: [PATCH 2/2] Apply suggestions from code review --- content/manuals/compose/releases/release-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/manuals/compose/releases/release-notes.md b/content/manuals/compose/releases/release-notes.md index a3603d654c33..04dde8874ecd 100644 --- a/content/manuals/compose/releases/release-notes.md +++ b/content/manuals/compose/releases/release-notes.md @@ -21,9 +21,9 @@ For more detailed information, see the [release notes in the Compose repo](https ### Bug fixes and enhancements -- Applied hooks on `restart` command +- Lifecycle hooks now apply to the `restart` command - Improved override support when publishing OCI artifacts -- Fixed issue to ensure image exist only for targeted services in `run` command +- Fixed an issue to ensure an image exists only for targeted services with the `run` command - Added a default Prompt implementation