Home Explore Blog CI



docker

8th chunk of `content/manuals/compose/releases/release-notes.md`
22b26827308a5a23451b364e13e4183168d5c56ab70da97a0000000100000fa8
{{< release-date date="2023-11-22" >}}

### Update

- Dependencies upgrade: bump buildx to v0.12.0

## 2.23.2

{{< release-date date="2023-11-21" >}}

### Update

- Dependencies upgrade: bump buildkit 0.12.3
- Dependencies upgrade: bump docker 24.0.7
- Dependencies upgrade: bump cli 24.0.7
- Dependencies upgrade: bump 1.20.2

### Bug fixes and enhancements

- Compose now supports `builds.tags` with `push` command.
- Compose Watch now re-builds service images at startup.
- Now `--remove-orphans` doesn't manage disabled services as orphaned.
- Compose displays `Building` output log only if there is at least one service to build.

## 2.23.1

{{< release-date date="2023-11-16" >}}

### Update

- Dependencies upgrade: bump compose-go to v1.20.1

### Bug fixes and enhancements

- Aligned Compose with OCI artifact best practices.
- Introduced `--resolve-image-digests` so users can seal service images by digest when publishing a Compose application.
- Improved Compose Watch configuration logging.
- Compose now rejects a Compose file using `secrets|configs.driver` or `template_driver`.
- Compose now fails to start if a dependency is missing.
- Fixed SIGTERM support to stop/kill stack.
- Fixed a `--hash` regression.
- Fixed "Application failed to start after update" when an external network is on a watched service.
- Fixed `--pull` documentation.
- Fixed display by adding newline in cmd/compose/build.go.
- Compose is rendered quiet after filtering applied.
- Stripped project prefix from docker-compose up output.

## 2.23.0

{{< release-date date="2023-10-18" >}}

### Update

- Dependencies upgrade: bump compose-go to v1.20.0
- Dependencies upgrade: bump containerd to 1.7.7

### Bug fixes and enhancements

- Added dry-run support for publish command
- Added `COMPOSE_ENV_FILES` env variable to pass a list of env files
- Added `sync+restart` action to `compose watch`
- Aligned `compose ps` output with Docker CLI by default and introduced `--no-trunc` to keep the previous behaviour
- Fixed hashes inconsistency between `up` and `configure`
- Enabled profiles when `down` ran with explicit service names
- Fixed an issue when the pull policy provided was invalid

## 2.22.0

{{< release-date date="2023-09-21" >}}

> [!NOTE]
>
> The `watch` command is now generally available (GA). You can directly use it from the root command `docker compose watch`.
> For more information, see [File watch](/manuals/compose/how-tos/file-watch.md).

### Update

- Dependencies upgrade: bump golang to 1.21.1
- Dependencies upgrade: bump compose-go to v1.19.0
- Dependencies upgrade: bump buildkit to v0.12.2

### Bug fixes and enhancements

- Added experimental support for the `publish` command.
- The command `watch` now builds and launches the project during startup.
- Added `policy` option to the `--pull` flag.
- Fixed various race and deadlock conditions for `up` command on exit.
- Fixed multi-platform issues on build.
- Enabled services that are explicitly requested even when their `profiles` aren't activated.
- Fixed  a `config` issue when the declared `env_file` is missing.
- Passed BuildOptions to `up` and `run` commands.

## 2.21.0

{{< release-date date="2023-08-30" >}}

> [!NOTE]
>
> The format of `docker compose ps` and `docker compose ps --format=json` changed to better align with `docker ps` output. See [compose#10918](https://github.com/docker/compose/pull/10918).

### Update

- Dependencies upgrade: bump compose-go to v1.18.3

### Bug fixes and enhancements

- Changed `docker compose ps` and `docker compose ps --format=json` output to align with Docker CLI.
- Added support for multi-document YAML files.
- Added support for loading remote Compose files from Git repos with `include` (experimental).
- Fixed incorrect proxy variables during build.
- Fixed truncated container logs on container exit.
- Fixed "no such service" errors when using `include` with `--profile`.
- Fixed `.env` overrides when using `include`.

## 2.20.3

{{< release-date date="2023-08-11" >}}

Title: Docker Compose Release Notes (Versions 2.20.3 - 2.23.3)
Summary
This document provides release notes for Docker Compose versions 2.20.3 to 2.23.3. Key features and updates include dependency upgrades (compose-go, containerd, golang, buildkit, buildx, docker, cli), dry-run support for the publish command, addition of `COMPOSE_ENV_FILES` variable, `sync+restart` action for `compose watch`, alignment of `compose ps` output with Docker CLI, support for `builds.tags` with `push`, Compose Watch re-building service images at startup, and alignment with OCI artifact best practices. Bug fixes address issues with hashes inconsistency, pull policy validation, race conditions, multi-platform builds, missing env_file, incorrect proxy variables, truncated container logs, and .env overrides.