- Fixed issue of `.env` file loading when project file is set via `COMPOSE_FILE` variable
- Aligned `ps --status=exited` behaviour with the Docker CLI behaviour
- Fixed a deadlock when collecting large logs
## 2.24.5
{{< release-date date="2024-01-30" >}}
### Bug fixes and enhancements
- Fixed "failed to solve: changes out of order" errors when building images on Windows.
## 2.24.4
{{< release-date date="2024-01-29" >}}
### Update
- Dependencies upgrade: bump cli to 25.0.1
- Dependencies upgrade: bump docker to 25.0.1
- Dependencies upgrade: bump compose-go to 2.0.0-rc.3
### Bug fixes and enhancements
- Fixed issue when checking external network existence when swarm is enabled.
- Added support for `storage_opt` attribute.
## 2.24.3
{{< release-date date="2024-01-24" >}}
This release fixes a build issue with Docker Desktop for Windows introduced in Compose v2.24.0.
### Update
- Compose now uses a custom version of `fsutils` library.
## 2.24.2
{{< release-date date="2024-01-22" >}}
### Update
- Dependencies upgrade: bump cli to 25.0.0 GA
- Dependencies upgrade: bump compose-go to 2.0.0-rc.2
## 2.24.1
{{< release-date date="2024-01-18" >}}
### Update
- Dependencies upgrade: bump cli to 25.0.0-rc3
- Dependencies upgrade: bump docker to 25.0.0-rc3
- Dependencies upgrade: bump compose-go to 2.0.0-rc.1
- Dependencies upgrade: bump containerd to 1.7.12
### Bug fixes and enhancements
- Reworked the display of container status during `up`
- Fixed the engine version required to use `healthcheck.start_interval`
- Removed `watch` subcommand from the `alpha` command
- Fixed a bug when handling received signals
## 2.24.0
{{< release-date date="2024-01-11" >}}
### Update
- Dependencies upgrade: bump cli to 25.0.0-beta.3
- Dependencies upgrade: bump compose-go to 2.0.0-beta.3
- Dependencies upgrade: bump golang to 1.21.6
### Bug fixes and enhancements
- Introduced `docker compose attach` to attach local standard input, output, and error streams to a service's running container.
- Introduced `docker compose stats` to display a live stream of container(s) resource usage statistics.
- Introduced `docker compose ps --orphans` to include/exclude services not declared.
- Introduced `docker compose logs --index` to select a replica container.
- Introduced `docker compose build --with-dependencies` to also build dependencies.
- Added source policies for build.
- Included disabled services for shell completion.
- Restored `Project` in ps JSON output.
- Added OCI 1.0 fallback support for AWS ECR.
- Build now does not require environment to be resolved.
- Compose now sends out a cancel event on SIGINT/SIGTERM signal for `compose up`.
- Fixed log by exposing services ports when `--verbose`.
- Fixed inlined and environment-defined configs to be mounted under /\<id\> until an explicit target is set.
- Fixed combination of `--pull always --no-build`.
- Fixed race condition in log printer.
- Fixed `docker compose up` teardown when command context is cancelled.
## 2.23.3
{{< 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.