v2.24.0
版本发布时间: 2024-01-11 21:23:00
docker/compose最新发布版本:v2.29.7(2024-09-20 16:52:10)
What's Changed
Breaking change :warning:
- service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.
✨ Enhancements
- Implement
docker compose attach
by @g0t4 in https://github.com/docker/compose/pull/11181 - Introduce ps --orphans to include/exclude services not declared by project by @ndeloof in https://github.com/docker/compose/pull/11220
- Introduce compose logs --index to select a replica container by @ndeloof in https://github.com/docker/compose/pull/11231
-
--with-dependencies
letdocker compose build
build dependencies transitively by @ndeloof in https://github.com/docker/compose/pull/11290 - Introduce
stats
command by @ndeloof in https://github.com/docker/compose/pull/11299 - Add source policies for build by @cpuguy83 in https://github.com/docker/compose/pull/11325
🐛 Fixes
- Include disabled services for shell completion by @ndeloof in https://github.com/docker/compose/pull/11251
- Restore
Project
is ps json output by @ndeloof in https://github.com/docker/compose/pull/11223 - Log we don't expose service ports when --verbose by @ndeloof in https://github.com/docker/compose/pull/11227
- Fix configs are mounted under /
by @ndeloof in https://github.com/docker/compose/pull/11232 - Fix combination of --pull always --no-build by @ndeloof in https://github.com/docker/compose/pull/11244
- Fix(publish): add OCI 1.0 fallback support for AWS ECR by @milas in https://github.com/docker/compose/pull/11239
- Fix race condition in log printer by @horus in https://github.com/docker/compose/pull/11286
- Send out a cancel event on SIGINT/SIGTERM signal for
compose up
by @vyneer in https://github.com/docker/compose/pull/11230 - Up: teardown when command context is cancelled by @laurazard in https://github.com/docker/compose/pull/11292
- Build do not require environment to be resolved by @ndeloof in https://github.com/docker/compose/pull/11274
🔧 Internal
- Let contributor know we might close unanswered issues by @ndeloof in https://github.com/docker/compose/pull/11219
- Feat(cli): report more useful User-Agent on engine API requests by @milas in https://github.com/docker/compose/pull/11333
- Adopt compose-go/v2 by @ndeloof in https://github.com/docker/compose/pull/11207
- Add support for start_interval by @ndeloof in https://github.com/docker/compose/pull/10939
- Update README.md to use standard
compose.yaml
file name by @johnthagen in https://github.com/docker/compose/pull/11233 - Watch: remove requirements for tar binary and for sync target to be rw by @ndeloof in https://github.com/docker/compose/pull/11330
- Deps: update docker/cli to fix go version selection issue by @laurazard in https://github.com/docker/compose/pull/11283
- Remove ServiceProxy which was introduced for archived compose-cli by @ndeloof in https://github.com/docker/compose/pull/11298
- github.com/golang/mock is deprecated by @ndeloof in https://github.com/docker/compose/pull/11272
- Add support for endpoint-specific MAC address by @akerouanton in https://github.com/docker/compose/pull/11208
- Collect services to build using WithServices by @ndeloof in https://github.com/docker/compose/pull/11255
⚙️ Dependencies
- Bump compose-go to version v2.0.0-beta.3 by @glours in https://github.com/docker/compose/pull/11307
- Bump ddev to 1.22.4 by @ndeloof in https://github.com/docker/compose/pull/11225
- Bump golang to version 1.21.5 by @glours in https://github.com/docker/compose/pull/11249
- Bump docker cli v1.25 beta1 by @ndeloof in https://github.com/docker/compose/pull/11247
- Bump golang to version v1.21.6 by @glours in https://github.com/docker/compose/pull/11331
- Bump golangci-lint to v1.55.2 ci(deps) by @milas in https://github.com/docker/compose/pull/11332
- Bump compose-go v2-beta.2 by @ndeloof in https://github.com/docker/compose/pull/11295
- Build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in https://github.com/docker/compose/pull/11324
- Build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 by @dependabot in https://github.com/docker/compose/pull/11228
- Build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 by @dependabot in https://github.com/docker/compose/pull/11317
- Build(deps): bump go.uber.org/mock from 0.3.0 to 0.4.0 by @dependabot in https://github.com/docker/compose/pull/11291
- go.mod: docker/docker and docker/cli v25.0.0-beta.3 by @thaJeztah in https://github.com/docker/compose/pull/11294
- go.mod: update docker/docker and docker/cli to v25.0.0-rc.1 by @thaJeztah in https://github.com/docker/compose/pull/11320
- gha: update DOCKER_CLI_VERSION to v24.0.7 by @thaJeztah in https://github.com/docker/compose/pull/11321
New Contributors
- @johnthagen made their first contribution in https://github.com/docker/compose/pull/11233
- @vyneer made their first contribution in https://github.com/docker/compose/pull/11230
- @horus made their first contribution in https://github.com/docker/compose/pull/11286
- @cpuguy83 made their first contribution in https://github.com/docker/compose/pull/11325
Full Changelog: https://github.com/docker/compose/compare/v2.23.3...v2.24.0
1、 checksums.txt 1.03KB
2、 docker-compose-darwin-aarch64 56.93MB
3、 docker-compose-darwin-aarch64.sha256 96B
4、 docker-compose-darwin-x86_64 58.4MB
5、 docker-compose-darwin-x86_64.sha256 95B
6、 docker-compose-linux-aarch64 56.49MB
7、 docker-compose-linux-aarch64.sha256 95B
8、 docker-compose-linux-armv6 55.23MB
9、 docker-compose-linux-armv6.sha256 93B
10、 docker-compose-linux-armv7 55.23MB
11、 docker-compose-linux-armv7.sha256 93B
12、 docker-compose-linux-ppc64le 58MB
13、 docker-compose-linux-ppc64le.sha256 95B
14、 docker-compose-linux-riscv64 58.15MB
15、 docker-compose-linux-riscv64.sha256 95B
16、 docker-compose-linux-s390x 62.19MB
17、 docker-compose-linux-s390x.sha256 93B
18、 docker-compose-linux-x86_64 58.11MB
19、 docker-compose-linux-x86_64.sha256 94B
20、 docker-compose-windows-aarch64.exe 56.68MB
21、 docker-compose-windows-aarch64.exe.sha256 101B
22、 docker-compose-windows-x86_64.exe 59.07MB
23、 docker-compose-windows-x86_64.exe.sha256 100B
24、 LICENSE 300B