Releases: docker/compose
Releases · docker/compose
v2.31.0
What's Changed
✨ Improvements
🐛 Fixes
- Fix(config): Print service names with --no-interpolate by @idsulik (12282)
- Remove obsolete containers first on scale down by @ndeloof (12272)
- Fix compose images that return a different image with the same ID by @koooge (12278)
- Emit events for building images by @felixfontein (11498)
- Fix support for --remove-orphans on
docker compose run
by @ndeloof (12288) - Push empty descriptor layer when using OCI version 1.1 for Compose artifact by @glours (12289)
- Detect network config changes and recreate if needed by @ndeloof (12267)
- Update wait-timeout flag usage to include the unit by @terev (12316)
- Use service.stop to stop dependent containers by @ndeloof (12322)
- Only check attached networks on running containers by @ndeloof (12327)
- Only stop dependent containers ... if there's some by @ndeloof (12328)
🔧 Internal
- Pass stale bot inactivity limit from 6 to 3 months by @glours (12284)
- Ci: enable testifylint linter by @mmorel-35 (11761)
- Remove ddev e2e tests by @glours (12291)
- Gha: test against docker engine v27.4.0 by @thaJeztah (12299)
- Run build tests against bake by @ndeloof (12325)
⚙️ Dependencies
- Build(deps): bump golang.org/x/sync from
0.8.0
to0.9.0
by @dependabot (12277) - Build(deps): bump golang.org/x/sys from
0.26.0
to0.27.0
by @dependabot (12276) - Build(deps): bump github.com/moby/buildkit
v0.17.1
, github.com/docker/buildxv0.18.0
by @thaJeztah (12298) - Build(deps): bump docker/docker
v27.4.0-rc.2
, docker/cliv27.4.0-rc.2
by @thaJeztah (12306) - Build(deps): bump github.com/stretchr/testify from
1.9.0
to1.10.0
by @dependabot (12319) - Build(deps): bump github.com/compose-spec/compose-go/v2 from
2.4.5-0.20241111154218-9d02caaf8465
to2.4.5
by @dependabot (12324) - Build(deps): bump github.com/moby/buildkit from
0.17.1
to0.17.2
by @dependabot (12320) - Bump google.golang.org/grpc to v1.68.0 and containerd to
v1.7.24
by @glours (12329)
New Contributors
Full Changelog: v2.30.3...v2.31.0
v2.30.3
v2.30.2
What's Changed
🐛 Fixes
- Service being declared in a profile must not trigger re-creation by @ndeloof in (12265)
- Remove ArtifactType from Config in OCI v1.1 definition of the artifact by @glours (12266)
🔧 Internal
- Add Joana Hrotko to Maintainers by @laurazard (12253)
- Add profile e2e test case to document in compose by @jhrotko (12252)
⚙️ Dependencies
Full Changelog: v2.30.1...v2.30.2
v2.30.1
v2.30.0
What's Changed
✨ Improvements
- Introduce service hooks by @ndeloof (12166)
- Introduce generate command as alpha command by @glours (12209)
- Add export command by @jarqvi (12120)
- Add support for CDI device request using
devices
by @ndeloof (12184) - Add support for bind recursive by @ndeloof (12210)
- Allow usage of
-f
flag with OCI Compose artifacts by @glours (12220)
🐛 Fixes
- Append unix-style relative path when computing container target path by @ndeloof (12145)
- Wait for dependent service up to delay set by --wait-timeout by @ndeloof (12156)
- Check secret source exists, as bind mount would create target by @ndeloof (12151)
- After container restart register printer consumer by @jhrotko (12158)
- Fix(down): Fix down command if specified services are not running by @idsulik (12164)
- Show watch error message and open DD only when w is pressed by @jhrotko (12165)
- Fix(push): Fix unexpected EOF on alpha publish by @idsulik (12169)
- Fix(convergence): Serialize access to observed state by @anantadwi13 (12150)
- Remove feature flag integration with Docker Desktop for ComposeUI and ComposeNav by @jhrotko (12192)
- Support Dockerfile-specific ignore-file with watch by @ndeloof (12193)
- Add support for raw env_file format by @ndeloof (12179)
- Convert GPUs to DeviceRequests with implicit "gpu" capability by @ndeloof (12197)
- Improve error message to include expected network label by @divinity76 (12213)
- Don't use progress to render restart, which hides logs by @ndeloof (12226)
- One-off containers are not indexed, and must be ignored by
exec --index
command by @ndeloof (12224) - Don't warn about uid/gid not being supported while ... they are by @ndeloof (12232)
- Connect to external networks by name by @ndeloof (12234)
- Fix push error message typo by @chris-crone (12237)
- Fix(dockerignore): Add wildcard support to dockerignore.go by @idsulik (12239)
🔧 Internal
- Remove bind options when creating a volume type by @jhrotko (12177)
- pass device.options to engine by @ndeloof (12183)
- Add security policy by @thaJeztah (12194)
- Gha: set default permissions to "contents: read" by @thaJeztah (12195)
- Desktop: allow this client to be identified via user-agent by @djs55 (12212)
- Compose-go clean volume target to avoid ambiguous comparisons by @ndeloof (12208)
⚙️ Dependencies
- Bump docker
v27.3.1
by @ndeloof (12178) - Build(deps): bump
golang.org/x/sys
from0.25.0
to0.26.0
by @dependabot (12189) - Bump
compose-go
tov2.3.0
by @glours (12198) - Bump
compose-go
tov2.4.0
by @glours (12231) - Bump
compose-go
tov2.4.1
by @glours (12243) - Build(deps): bump github.com/containerd/containerd from 1.7.22 to 1.7.23 by @dependabot (12211)
- Bump golang minimal version to
1.22
in go.mod by @glours (12246) - Bump
go.uber.org/mock
tov0.5.0
andgoogle.golang.org/grpc
tov1.67.1
by @glours (12245)
New Contributors
- @anantadwi13 made their first contribution in #12150
- @jarqvi made their first contribution in #12120
- @djs55 made their first contribution in #12212
- @divinity76 made their first contribution in #12213
Full Changelog: v2.29.7...v2.30.0
v2.29.7
v2.29.6
What's Changed
🐛 Fixes
⚙️ Dependencies
- build(deps): bump docker, docker/cli to v27.3.0-rc.2 by @thaJeztah (12136)
Full Changelog: v2.29.5...v2.29.6
v2.29.5
What's Changed
This release fix an issue with bind mounts on WSL2 when using Docker Desktop
🐛 Fixes
🔧 Internal
- Remove custom codeql workflow in favor of default setup by @temenuzhka-thede (12131)
Full Changelog: v2.29.4...v2.29.5
v2.29.4
What's Changed
🐛 Fixes
- Fixed possible
nil
pointer dereference by @disc (12127) - Stop dependent containers before recreating diverged service by @ndeloof (12122)
🔧 Internal
- GHA: test against docker engine v27.3.0 by @thaJeztah (12126)
- Chore(watch): Add debug log when skipping service without build context by @idsulik (12067)
⚙️ Dependencies
- Build(deps): bump docker, docker/cli to v27.3.0-rc.1, buildx v0.17.1 by @thaJeztah (12125)
New Contributors
Full Changelog: v2.29.3...v2.29.4
v2.29.3
What's Changed
✨ Improvements
- Allow combination of bind mounts and 'rebuild' watches by @remcokranenburg (12089)
🐛 Fixes
- Fix(wait): Wait only until first container exit by @idsulik (12064)
- Prefer mount API over bind by @ndeloof (12078)
- Service hash must exclude depends_on by @ndeloof (12072)
- Attach: close streams when done by @laurazard (12112)
- Restore compose v1 behavior to recreate containers when ran with
-V
by @ndeloof (12116)
🔧 Internal
- Allow to add empty line in the logs when nav menu activated by @glours (12062)
- Docs: duplicate documentation for root cmd by @dvdksn (12076)
- Fix typo in pull.go by @jonathan-dev (12108)
- Use logrus instead of direct output to stderr by @felixfontein (11996)
- Fix minor typos by @NathanBaulch (12104)
- Chore(watch): Add changed file paths/count to log by @idsulik (12118)
⚙️ Dependencies
- Build(deps): bump golang.org/x/sys from 0.22.0 to 0.25.0 by @dependabot (12101)
- Bump engine cli v27.2.1 by @glours (12115)
- Bump compose-go to version
v2.2.0
by @glours (12117) - Build(deps): bump golang.org/x/sync from
0.7.0
to0.8.0
by @dependabot (12043)
New Contributors
- @remcokranenburg made their first contribution in (12089)
- @jonathan-dev made their first contribution in (12108)
- @NathanBaulch made their first contribution in (12104)
Full Changelog: v2.29.2...v2.29.3