Releases: docker/compose
Releases Β· docker/compose
v2.39.1
v2.39.0
What's Changed
β¨ Improvements
- Add
--since
&--until
flags toevents
command by @jarqvi in #13030 - Feat(os): add FreeBSD support by @atagtm in #13036
- Add
--models
flag toconfig
command by @jarqvi in #13022 - Warn user
COMPOSE_BAKE=false
is deprecated by @ndeloof in #13065 - Simpler stop UI by @ndeloof in #13064
- Introduce build
provenance
andsbom
attributes support by @ndeloof in #13067 - Show build progress during watch rebuild by @ndeloof in #13059
π Fixes
- Add dry-run support to bake build by @glours in #13042
- Keep containers attached on stop to capture termination logs by @ndeloof in #13010
- Add default compose labels to images built from bake by @glours in #13049
- Fix report image name in bake result by @principis in #13047
- Don't run navigation menu if stdin isn't a terminal by @ndeloof in #13054
- Monitor must watch events even when context is cancelled by @ndeloof in #13062
- Force
plain
display mode if stdout isn't a terminal by @ndeloof in #13074 - Do not pass user id on Windows system as engine is not able to handel it by @glours in #13080
- Forward git command error to user by @ndeloof in #13084
- Use output registry when push true and load to docker store if not by @glours in #13085
π§ Internal
- Add a space character to separate the timestamp from the log message by @xduugu in #13038
- Fix the Helm bridge e2e tests after the latest update of the templates by @glours in #13053
- Introduce monitor to manage containers events and application termination by @ndeloof in #12906
- Abstract model-cli commands execution with a model (pseudo) API by @ndeloof in #13051
- Swarm by @ndeloof in #13071
- Remove uses of
moby/errdefs
by @thaJeztah in #13076 - Use local copy of
pkg/system.IsAbs
by @thaJeztah in #13075 - Optimize ansiColorCode by replacing fmt.Sprintf with strings.Builder by @suwakei in #13091
- Eliminate magic number in init functions by @suwakei in #13090
- Integration of SetAttributes calls by @suwakei in #13089
βοΈ Dependencies
- Bump engine and cli to
v28.3.2
by @ndeloof in #13035 - Build(deps): bump github.com/spf13/pflag from
1.0.6
to1.0.7
by @dependabot[bot] in #13060 - Bump
compose-go
to versionv2.8.0
by @glours in #13082 - Build(deps): bump google.golang.org/grpc from
1.73.0
to1.74.2
by @dependabot[bot] in #13081 - bump buildx to
v0.26.1
by @glours in #13086
New Contributors
- @atagtm made their first contribution in #13036
- @xduugu made their first contribution in #13038
- @principis made their first contribution in #13047
- @suwakei made their first contribution in #13091
Full Changelog: v2.38.2...v2.39.0
v2.38.2
What's Changed
β¨ Improvements
π Fixes
- Add a Done event to model progress display by @glours in #13008
- Fix the way we're checking if the provider metadata are empty or not by @glours in #13017
- Build: fix service with profile missing secrets by @ndeloof in #13023
- Fix select dockerignore based on Dockerfile name set from symlink by @ndeloof in #13024
π§ Internal
- pkg/compose: remove redundant uses of strslice.StrSlice by @thaJeztah in #13002
- (reactoring) avoid a global variable by introducing logConsumer decorator by @ndeloof in #12945
- Chore: fix some minor issues in the comments by @mountdisk in #12991
- A single place for shell-out command setup by @ndeloof in #13007
- Add USER_AGENT variable to cmd when shellouting by @glours in #13025
βοΈ Dependencies
- Bump golang to v1.23.10 by @glours in #13004
- Bump go-viper/mapstructure to version v2.3.0 by @glours in #13005
- Build(deps): bump github.com/moby/buildkit from 0.23.1 to 0.23.2 by @dependabot in #13009
- Build(deps): bump github.com/docker/cli from 28.3.0+incompatible to 28.3.1+incompatible by @dependabot in #13012
- Build(deps): bump github.com/docker/docker from 28.3.0+incompatible to 28.3.1+incompatible by @dependabot in #13011
New Contributors
- @mountdisk made their first contribution in #12991
Full Changelog: v2.38.1...v2.38.2
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