What's Changed
This is the first (candidate) release for next major Docker Compose release.
To avoid confusion with the "v2" and "v3" legacy compose file formats, we decided to directly jump to version 5.x
Major changes in this release:
- Compose can now officially be used as a SDK to be integrated into third-party softwares
- Internal builder has been removed, build is delegated to Docker Bake (same as
docker buildcommand)
✨ Improvements
- Document use as a SDK by @ndeloof in #13350
- Setup Compose service using functional parameters by @ndeloof in #13312
- drop support for internal buildkit builder by @ndeloof in #13056
- document support for OCI and Git remote resources by @ndeloof in #13362
- introduce --insecure-registry, reserved for testing purpose by @ndeloof in #13355
- add (restore) support for detach keys by @ndeloof in #13369
🐛 Fixes
- fix(run): Ensure images exist only for the target service in run command by @idsulik in * fix typo in error message by @stasadev in #13328
#13325
🔧 Internal
- fix various linting issues by @thaJeztah in #13326
⚙️ Dependencies
- bump compose-go to version v2.9.1 by @glours in #13332
- build(deps): bump github.com/containerd/platforms from 1.0.0-rc.1 to 1.0.0-rc.2 by @dependabot[bot] in #13353
- build(deps): bump github.com/moby/buildkit from 0.25.1 to 0.25.2 by @dependabot[bot] in #13359
- build(deps): bump github.com/docker/docker from 28.5.1+incompatible to 28.5.2+incompatible by @dependabot[bot] in #13361
- build(deps): bump github.com/containerd/containerd/v2 from 2.1.4 to 2.2.0 by @dependabot[bot] in #13358
- build(deps): bump github.com/docker/cli from 28.5.1+incompatible to 28.5.2+incompatible by @dependabot[bot] in #13360
- build(deps): bump golang.org/x/sys from 0.37.0 to 0.38.0 by @dependabot[bot] in #13367
- build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 by @dependabot[bot] in #13368
New Contributors
- @tonyo made their first contribution in #13314
- @stasadev made their first contribution in #13328
- @JLesDev made their first contribution in #13366
Full Changelog: v2.40.2...v5.0.0-rc.1