Releases: docker/compose
Releases Β· docker/compose
v2.38.1
v2.38.0
What's Changed
β¨ Improvements
- introduce support for models by @ndeloof in #12976
- Add volumes command by @leoperegrino in #12954
- remove publish limitation on bind mount by @glours in #12997
- mount /var/run/docker.sock for --use-api-socket by @ndeloof in #12995
π Fixes
- only expose API socket to service asking for it by @ndeloof in #12972
- check progress default value instead of empty string to use BUILDKIT_PROGRESS env variable value by @glours in #12982
- exclude provider services from the list of dependencies that Compose should wait for by @glours in #12983
- don't fail down cmd if services with pre_stop hook already stopped/removed by @glours in #12986
- Swap to Reader in bake to avoid hangs on output by @nscott in #12984
- make sure the post_start hooks fails by @glours in #12996
- remove error message from exec outpout by default by @glours in #12992
- fix: typos by @hezhizhen in #12963
- pass project.environment to bake by @ndeloof in #12994
- fix provider concurrent environment map accesses by @glours in #12999
- e2e compose run --env by @ndeloof in #12967
βοΈ Dependencies
- build(deps): bump github.com/docker/cli from 28.2.2+incompatible to 28.3.0+incompatible by @dependabot in #12974
- build(deps): bump github.com/docker/docker from 28.2.2+incompatible to 28.3.0+incompatible by @dependabot in #12975
New Contributors
- @nscott made their first contribution in #12984
- @hezhizhen made their first contribution in #12963
- @leoperegrino made their first contribution in #12954
Full Changelog: v2.37.3...v2.38.0
v2.37.3
What's Changed
β¨ Improvements
π Fixes
- fix bake intergation by @ndeloof in #12960
- don't create services passed as parameters of run command during dependencies creation process by @glours in #12968
- inject secrets/config just before container is started by @ndeloof in #12970
- propagate target docker host set by --host to Bake by @ndeloof in #12961
π§ Internal
- pkg/compose: remove uses of ExecOptions.Detach by @thaJeztah in #12950
βοΈ Dependencies
- build(deps): bump github.com/moby/buildkit from 0.23.0 to 0.23.1 by @dependabot in #12964
Full Changelog: v2.37.2...v2.37.3
v2.37.2
What's Changed
β¨ Improvements
π Fixes
- restore ContainerName in images --json by @ndeloof in #12943
- fix panic using w shortcut on project without watch support by @ndeloof in #12944
π§ Internal
βοΈ Dependencies
- bump compose-go to v2.6.5 by @ndeloof in #12958
- build(deps): bump github.com/containerd/containerd/v2 from 2.1.1 to 2.1.2 by @dependabot in #12939
Full Changelog: v2.37.1...v2.37.2
v2.37.1
What's Changed
β¨ Improvements
π Fixes
- Fix SIGSEGV on Enable Watch by @ndeloof in #12909
- Revert docker compose images JSON output to array format by @x0rw in #12917
- Sanitize service name so they can be used as bake targets by @ndeloof in #12925
- Only look for required image in bake metadata by @ndeloof in #12930
- Don't create metadatafile, just generate a random name by @ndeloof in #12931
- Fix the generated manifest for compose artifacts by @jcarter3 in #12933
- Fix support for additional_contexts with service sub-dependencies by @ndeloof in #12936
- Fix panic on failure starting plugin server by @ndeloof in #12914
π§ Internal
βοΈ Dependencies
- Bump golang.org/x/sync v0.15.0 by @ndeloof in #12913
- Build(deps): bump google.golang.org/grpc from 1.72.2 to 1.73.0 by @dependabot in #12910
New Contributors
Full Changelog: v2.37.0...v2.37.1
v2.37.0
What's Changed
βΉοΈ bake
is now used as the default images builder, if you don't want to use it you could opt-out by setting the COMPOSE_BAKE
env variable to false
β¨ Improvements
- Add compose bridge by @glours in #12866
- Include platform and creation date listing image by @ndeloof in #12856
- Add support of metadata subcommand for provider services by @glours in #12903
- Use bake by default by @ndeloof in #12699
π Fixes
- (Re)start dependent services after watch rebuilt image by @ndeloof in #12879
- Resolve symlinks while making dockerfile path absolute by @ndeloof in #12884
- Fix support for
BUILDKIT_PROGRESS
by @ndeloof in #12894 - Build dependent service images when required by @ndeloof in #12896
- Fix recreate network (and connected containers) on config updates by @ndeloof in #12899
pull
does not requireenv_file
being resolved by @ndeloof in #12904
π§ Internal
- Refactor: use slices.Contains to simplify code by @tongjicoder in #12877
- Remove utils.Contains to prefer slice.ContainsFunc by @ndeloof in #12878
- Fix typo in suggestion log by @Carlos-err406 in #12893
- Replace uses of golang.org/x/exp/(maps|slices) for stdlib and fix linting by @thaJeztah in #12885
- Debug message to help diagnose platform mismatch by @ndeloof in #12905
- (refactoting) Move watch logic into a dedicated Watcher type by @ndeloof in #12865
βοΈ Dependencies
- Bump cli-doc-tools to v0.10.0 by @glours in #12855
- Bump github.com/docker/docker, docker/cli v28.2.2 by @thaJeztah in #12875
- Build(deps): bump google.golang.org/grpc from 1.72.1 to 1.72.2 by @dependabot in #12872
New Contributors
- @tongjicoder made their first contribution in #12877
- @Carlos-err406 made their first contribution in #12893
Full Changelog: v2.36.2...v2.37.0
v2.36.2
What's Changed
π Fixes
- Run ContainerStart sequentially by @ndeloof in #12851
- Only use attestation when building image outside the development inner loop by @glours in #12853
- Report error (re)creating container by @ndeloof in #12859
- Fix
up --build
with additional_context dependency by @ndeloof in #12863
π§ Internal
- Add example provider implementation by @ndeloof in #12848
- Add
up --build
e2e test by @ndeloof in #12864
βοΈ Dependencies
- Build(deps): bump github.com/containerd/containerd/v2 from 2.1.0 to 2.1.1 by @dependabot in #12857
- Bump compose-go to v2.6.4 by @glours in #12867
- Bump buildkit v0.22.0 and buildx v0.24.0 by @glours in #12868
Full Changelog: v2.36.1...v2.36.2
v2.36.1
What's Changed
β¨ Improvements
- Provider.options can be an array by @ndeloof in #12819
- Set provider environment by @ndeloof in #12817
- Add support of
debug
messages in the communication between Compose β¦ by @glours in #12826 - Introduce config
--lock-image-digests
by @ndeloof in #12843
π Fixes
- Skip push step for provider services by @glours in #12818
- Provider info by @ndeloof in #12820
- Append
.exe
to provider name doing executable lookup on windows by @ndeloof in #12832 - Fix quiet option when using COMPOSE_BAKE=1 by @AnvarU in #12838
- Do not throw an error on build with provider services by @glours in #12842
- Report cancelled pull after another one failed by @ndeloof in #12840
- Ensure build dependencies are enabled by @ndeloof in #12824
π§ Internal
- Simplification by @ndeloof in #12811
- Remove Docker EULA licensing which isn't relevant by @ndeloof in #12829
- Remove convert alias from config command by @glours in #12850
βοΈ Dependencies
- Build(deps): bump github.com/containerd/containerd/v2 from 2.0.5 to 2.1.0 by @dependabot in #12813
- Build(deps): bump google.golang.org/grpc from 1.72.0 to 1.72.1 by @dependabot in #12837
- Bump compose-go to v2.6.3 by @glours in #12849
Full Changelog: v2.36.0...v2.36.1
v2.36.0
What's Changed
π You can now use external binaries as service provider to extend Compose behaviour. For more information about creating your own plugin check the documentation
β¨ Improvements
- Introduce
networks.interface_name
by @ndeloof in #12771 - Add support for
COMPOSE_PROGRESS
env variable by @AnvarU in #12769 - Document extensibility using service.provider and open provider to external binaries by @ndeloof in #12777
- Introduce build
--check
by @ndeloof in #12765
π Fixes
- Build: write
--print
output to stdout by @emersion in #12756 - Fix: concurrent map writes when pulling by @skanehira in #12752
- Fix support for remote absolute path by @ndeloof in #12786
- Fix collect image digests for service images built by bake by @ndeloof in #12784
- Enable services implicitly declared by a service:xx build dependency by @ndeloof in #12785
- Fix config
--variables
not honoring the--format
flag by @alessio-perugini in #12809
π§ Internal
- Remove support of Synchronize File Shares integration with Docker Desktop by @glours in #12763
- Display proper event message for provider services on up and down by @glours in #12788
- E2e test for start_interval by @ndeloof in #12795
- Document behavior on missing extension by @ndeloof in #12802
βοΈ Dependencies
- Build(deps): bump github.com/docker/cli from
28.1.0+incompatible
to28.1.1+incompatible
by @dependabot in #12761 - Build(deps): bump github.com/docker/docker from
28.1.0+incompatible
to28.1.1+incompatible
by @dependabot in #12759 - Build(deps): bump google.golang.org/grpc from
1.71.1
to1.72.0
by @dependabot in #12760 - Build(deps): bump github.com/containerd/containerd/v2 from
2.0.4
to2.0.5
by @dependabot in #12758 - Bump compose-go to
v2.6.1
by @glours in #12766 - Bump compose-go to
v2.6.2
by @glours in #12810 - Build(deps): bump github.com/moby/buildkit from
0.21.0
to0.21.1
by @dependabot in #12796 - Build(deps): bump golang.org/x/sync from
0.13.0
to0.14.0
by @dependabot in #12805 - Build(deps): bump golang.org/x/sys from
0.32.0
to0.33.0
by @dependabot in #12804 - Build(deps): bump go.uber.org/mock from
0.5.1
to0.5.2
by @dependabot in #12792
New Contributors
- @skanehira made their first contribution in #12752
- @AnvarU made their first contribution in #12769
- @alessio-perugini made their first contribution in #12809
Full Changelog: v2.35.1...v2.36.0
v2.35.1
What's Changed
π Fixes
π§ Internal
- CI(bin-image): free disk space by @crazy-max in #12732
- Fix zizmor security alerts on GHA workflows by @glours in #12737
- Chore: make function comment match function name by @dufucun in #12748
- Migrate to use github.com/moby/go-archive by @thaJeztah in #12716
βοΈ Dependencies
- Build(deps): bump github.com/moby/buildkit from
0.20.1
to0.20.2
by @dependabot in #12667 - Build(deps): bump google.golang.org/grpc from
1.71.0
to1.71.1
by @dependabot in #12691 - Build(deps): bump go.uber.org/mock from
0.5.0
to0.5.1
by @dependabot in #12720 - Build(deps): bump golang.org/x/crypto from
0.32.0
to0.35.0
by @dependabot in #12745 - Bump buildkit
v0.21.0
, buildxv0.23.0
by @thaJeztah in #12754 - Downgrade go-difflib and go-spew to tagged releases by @thaJeztah in #12755
- Bump github.com/docker/docker, github.com/docker/cli
v28.1.0
by @thaJeztah in #12738
New Contributors
Full Changelog: v2.35.0...v2.35.1