release-notes for Compose v2.36.0 version (#22600)

<!--Delete sections as needed -->

## Description
Add release notes for Compose version `v2.36.0` 

## Related issues or tickets
https://docker.atlassian.net/browse/APCLI-1117

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [x] Editorial review
- [ ] Product review

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours 2025-05-08 09:56:01 +02:00 committed by GitHub
parent 32c786079d
commit 751d6681cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 41 additions and 10 deletions

View File

@ -17,6 +17,7 @@ run `docker compose build` to rebuild it.
|:----------------------|:--------------|:--------|:------------------------------------------------------------------------------------------------------------|
| `--build-arg` | `stringArray` | | Set build-time variables for services |
| `--builder` | `string` | | Set builder to use |
| `--check` | `bool` | | Check build configuration |
| `--dry-run` | `bool` | | Execute command in dry run mode |
| `-m`, `--memory` | `bytes` | `0` | Set memory limit for the build container. Not supported by BuildKit. |
| `--no-cache` | `bool` | | Do not use cache when building the image |

View File

@ -15,7 +15,7 @@ the canonical format.
|:--------------------------|:---------|:--------|:----------------------------------------------------------------------------|
| `--dry-run` | `bool` | | Execute command in dry run mode |
| `--environment` | `bool` | | Print environment used for interpolation. |
| `--format` | `string` | `yaml` | Format the output. Values: [yaml \| json] |
| `--format` | `string` | | Format the output. Values: [yaml \| json] |
| `--hash` | `string` | | Print the service config hash, one per line. |
| `--images` | `bool` | | Print the image names, one per line. |
| `--no-consistency` | `bool` | | Don't check model consistency - warning: may produce invalid Compose output |

View File

@ -33,6 +33,16 @@ options:
experimentalcli: false
kubernetes: false
swarm: false
- option: check
value_type: bool
default_value: "false"
description: Check build configuration
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: compress
value_type: bool
default_value: "true"

View File

@ -21,7 +21,6 @@ options:
swarm: false
- option: format
value_type: string
default_value: yaml
description: 'Format the output. Values: [yaml | json]'
deprecated: false
hidden: false

View File

@ -1,6 +1,6 @@
# github.com/moby/moby v28.1.0-rc.2+incompatible
# github.com/moby/buildkit v0.21.0
# github.com/moby/buildkit v0.21.1
# github.com/docker/buildx v0.23.0
# github.com/docker/cli v28.1.0+incompatible
# github.com/docker/compose/v2 v2.35.1
# github.com/docker/cli v28.1.1+incompatible
# github.com/docker/compose/v2 v2.36.0
# github.com/docker/scout-cli v1.15.0

View File

@ -13,6 +13,25 @@ aliases:
For more detailed information, see the [release notes in the Compose repo](https://github.com/docker/compose/releases/).
## 2.36.0
{{< release-date date="2025-05-07" >}}
### Bug fixes and enhancements
- Introduced `networks.interface_name`
- Added support for `COMPOSE_PROGRESS` env variable
- Added `service.provider` to external binaries
- Introduced build `--check` flag
- Fixed multiple panic issues when parsing Compose files
### Update
- Dependencies upgrade: bump compose-go to v2.6.2
- Dependencies upgrade: bump docker engine and cli to v28.1.0
- Dependencies upgrade: bump containerd to 2.0.5
- Dependencies upgrade: bump buildkit to v0.21.1
## 2.35.1
{{< release-date date="2025-04-17" >}}

8
go.mod
View File

@ -6,17 +6,17 @@ toolchain go1.24.1
require (
github.com/docker/buildx v0.23.0 // indirect
github.com/docker/cli v28.1.0+incompatible // indirect
github.com/docker/compose/v2 v2.35.1 // indirect
github.com/docker/cli v28.1.1+incompatible // indirect
github.com/docker/compose/v2 v2.36.0 // indirect
github.com/docker/scout-cli v1.15.0 // indirect
github.com/moby/buildkit v0.21.0 // indirect
github.com/moby/buildkit v0.21.1 // indirect
github.com/moby/moby v28.1.0-rc.2+incompatible // indirect
)
replace (
github.com/docker/buildx => github.com/docker/buildx v0.23.0
github.com/docker/cli => github.com/docker/cli v28.1.0-rc.2+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.35.1
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.36.0
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
github.com/moby/buildkit => github.com/moby/buildkit v0.20.0
github.com/moby/moby => github.com/moby/moby v28.1.0-rc.2+incompatible

2
go.sum
View File

@ -231,6 +231,8 @@ github.com/docker/compose/v2 v2.35.0 h1:bU23OeFrbGyHYrKijMSEwkOeDg2TLhAGntU2F3hw
github.com/docker/compose/v2 v2.35.0/go.mod h1:S5ejUILn9KTYC6noX3IxznWu3/sb3FxdZqIYbq4seAk=
github.com/docker/compose/v2 v2.35.1 h1:oRt5EE22een6DEAkNNQcuzJGhBS2rcMtEKdbfMhFIgk=
github.com/docker/compose/v2 v2.35.1/go.mod h1:Ydd9ceg7VBOPSVAsDDKfyGGAkjejH3cD91GSmHjuRhI=
github.com/docker/compose/v2 v2.36.0 h1:MACSfQ2xqcwgCwAtsHVoQkFbHi2nNfNAsd5EWFg164k=
github.com/docker/compose/v2 v2.36.0/go.mod h1:kFPppTinl2Q0Lv3Dy9titIL41oWYoUkNxoKQZb/lfSU=
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=

View File

@ -140,7 +140,7 @@ params:
# (Used to show e.g., "latest" and "latest"-1 in engine install examples
docker_ce_version_prev: "28.1.0"
# Latest Docker Compose version
compose_version: "v2.35.1"
compose_version: "v2.36.0"
# Latest BuildKit version
buildkit_version: "0.21.0"