- 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`
- Fixed crash when no TTY available and menu enabled
- Improved legibility of menu actions
## 2.26.0
{{< release-date date="2024-03-22" >}}
### Update
- Dependencies upgrade: bump compose-go v2.0.2
- Dependencies upgrade: bump docker v26.0.0
### Bug fixes and enhancements
- Reduced timeout of the Otel tracing command
- Fixed `config --format json`
- Fixed documentation on default build image name
- Introduced Synchronized file shares for bind mounts in Compose
- Added support for `annotations`
- Introduced `config --variables` to list Compose model variables
- Added a navigation menu within `docker compose up`
## 2.25.0
{{< release-date date="2024-03-15" >}}
### Update
- Dependencies upgrade: bump compose-go v2.0.0
### Bug fixes and enhancements
- Restored `config` behaviour until `--no-interpolate` is set
- Fixed service name shell completion
- Added `--watch` flag to `up` command
## 2.24.7
{{< release-date date="2024-03-06" >}}
### Update
- Dependencies upgrade: bump golang to 1.21.8
- Dependencies upgrade: bump compose-go to 2.0.0-rc8
- Dependencies upgrade: bump docker to v24.0.4
### Bug fixes and enhancements
- Compose now ensures stable priority sort order for networks
- Fixed interpolation with curly braces (e.g. JSON) in default values
- Fixed validation for non-unique `container_name` values
- Fixed validation for `develop.watch`
- Fixed environment loading for `include`
- Fixed panic when merging labels/networks
- Added support for `--no-path-resolution` when using `include`
- Fixed missing project name errors
- Fixed `--no-interpolate` flag on `config`
- Added a workaround for file lock issues with Watch mode on Windows
- Fixed duplicate exit code status messages
- Compose now respects `COMPOSE_REMOVE_ORPHANS` on `up`
## 2.24.6
{{< release-date date="2024-02-15" >}}
### Update
- Dependencies upgrade: bump cli to 25.0.3
- Dependencies upgrade: bump compose-go to 2.0.0-rc.7
### Bug fixes and enhancements
- 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