Home Explore Blog CI



docker

5th chunk of `content/manuals/compose/releases/release-notes.md`
d2bbda4733440a7425032948ba243f522b2b6b586c38ef330000000100000fac
- Dependencies upgrade: bump docker engine and cli to v27.1.2
- Dependencies upgrade: bump buildx to v0.16.2
- Dependencies upgrade: bump buildkit to v0.15.2
- Dependencies upgrade: bump golang to v1.21.12
- Dependencies upgrade: bump sys to v0.22.0
- Dependencies upgrade: bump flock to v0.12.1

### Bug fixes and enhancements

- Fixed the docs on `docker compose kill` usage.
- Fixed redundant condition from `toAPIBuildOptions` in build.go.
- Fixed initial Watch `sync` after Compose restarts with introduction of `x-initialSync`.
- Fixed an issue which stopped the Compose process for a single container on `sync-restart` Watch action.

## 2.29.1

{{< release-date date="2024-07-23" >}}

### Update

- Dependencies upgrade: bump compose-go to v2.1.5.
- Dependencies upgrade: bump docker engine and cli to v27.1.0.

### Bug fixes and enhancements

- Enhance JSON progress events with more fields.


## 2.29.0

{{< release-date date="2024-07-17" >}}

### Update

- Dependencies upgrade: bump compose-go to v2.1.4
- Dependencies upgrade: bump docker engine and cli to v27.0.3
- Dependencies upgrade: bump buildx to 0.16.0
- Dependencies upgrade: bump buildkit to 0.15.0
- Dependencies upgrade: bump containerd to 1.7.19

### Bug fixes and enhancements

- Added a JSON stream progress writer.
- Added a `--prune` flag to the `docker compose watch` command.
- Unnecessary resources are now excluded after services have been selected.
- Empty variables with no value are unset in containers.

## 2.28.1

{{< release-date date="2024-06-24" >}}

### Bug fixes and enhancements

- Fixed progress display, broken in `v2.28.0`, when TTY mode available.

## 2.28.0

{{< release-date date="2024-06-21" >}}

### Update

- Dependencies upgrade: bump compose-go to v2.1.3
- Dependencies upgrade: bump docker engine and cli to v27.0.1-rc.1

## 2.27.3

{{< release-date date="2024-06-21" >}}

### Update

- Dependencies upgrade: bump buildx to 0.15.1
- Dependencies upgrade: bump buildkit to 0.14.1

## 2.27.2

{{< release-date date="2024-06-20" >}}

### Update

- Dependencies upgrade: bump golang to 1.21.11
- Dependencies upgrade: bump docker engine and cli to v26.1.4
- Dependencies upgrade: bump buildx to 0.15.0
- Dependencies upgrade: bump buildkit to 0.14.0
- Dependencies upgrade: bump containerd to 1.7.18

### Bug fixes and enhancements

- Added an `--environment` flag to the `config` command
- Fixed a bug which caused the  `watch` process to hang when used as flag with the `up` command
- Fixed usage of `COMPOSE_PROFILES` in `.env` file

## 2.27.1

{{< release-date date="2024-05-24" >}}

### Update

- Dependencies upgrade: bump compose-go to v2.1.1
- Dependencies upgrade: bump docker engine and cli to v26.1.3
- Dependencies upgrade: bump buildx to 0.14.1
- Dependencies upgrade: bump containerd to 1.7.17

### Bug fixes and enhancements

- Added a navigation menu in the CLI where you can open your Compose file in Docker Desktop
- Added documentation for `--menu` flag in `docker compose up`
- Fixed a bug with `--resolve-image-digests` used with `--no-interpolate`
- You can now use a local `.env` file to override `COMPOSE_*` environment variables

## 2.27.0

{{< release-date date="2024-04-24" >}}

### Update

- Dependencies upgrade: bump golang to 1.21.9
- Dependencies upgrade: bump compose-go to v2.1.0
- Dependencies upgrade: bump docker engine and cli to v26.1.0

### Bug fixes and enhancements

- Introduced `--abort-on-container-failure` flag
- Introduced `--all-resources` to not exclude resources not used by services
- Introduced support for `build.entitlements`
- Fixed a bug so Docker Compose now ignores missing containers when `docker compose down/stop -p` is run
- Fixed support for `--flag=value` syntax in compatibility mode

## 2.26.1

{{< release-date date="2024-03-29" >}}

### Update

- Dependencies upgrade: opencontainers/image-spec v1.1.0

### Bug fixes and enhancements

- Added image pull failure reason in output
- Fixed crash when running up with `--no-build` and `--watch`

Title: Docker Compose Release Notes (Versions 2.26.1 - 2.29.1)
Summary
This document summarizes Docker Compose release notes from versions 2.26.1 to 2.29.1. It details dependency upgrades, bug fixes, and feature enhancements. Key additions include a JSON stream progress writer, a `--prune` flag for `docker compose watch`, the `--environment` flag for the `config` command, the `--abort-on-container-failure` flag, and the `--all-resources` option. Bug fixes address progress display issues, `watch` process hangs, `COMPOSE_PROFILES` usage, `--resolve-image-digests`, missing containers, documentation inaccuracies, and `sync-restart` Watch action failures. The CLI also introduces a navigation menu for opening Compose files in Docker Desktop.