# Docker Compose v5.1.2 - Product: Docker Compose (https://whatsnew.fyi/product/docker-compose) - Vendor: Docker - Date: 2026-04-09 - Version: v5.1.2 - Original notes: https://github.com/docker/compose/releases/tag/v5.1.2 - Permalink: https://whatsnew.fyi/product/docker-compose/releases/v5.1.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix TTY timer rendering when duration length changes - **fixed** — Fix attach filtering - **fixed** — Preserve ssh:// URL scheme when resolving Dockerfile path - **fixed** — Initialize and pass envFiles map in processExtends - **fixed** — Fix TestRunHook_ConsoleSize on macOS - **fixed** — Restore post-connect fallback for multi-network stacks on API < 1.44 - **fixed** — Return api.ErrCanceled when user declines interactive prompts in publish - **fixed** — Return error on non-ErrNotExist stat failures in Tar.Sync() - **changed** — Use negotiated API version for network setup - **changed** — Bump github.com/containerd/platforms from 1.0.0-rc.2 to 1.0.0-rc.4 - **changed** — Bump google.golang.org/grpc from 1.78.0 to 1.80.0 - **changed** — Bump github.com/moby/patternmatcher from 0.6.0 to 0.6.1 - **changed** — Bump go.opentelemetry.io/otel/sdk from 1.39.0 to 1.42.0 - **changed** — Bump github.com/docker/cli to 29.4.0 - **changed** — Bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 - **changed** — Bump github.com/docker/buildx to v0.33.0 and buildkit to v0.29.0 - **changed** — Bump github.com/moby/moby/client to v0.4.0 and moby/api to v1.54.1 - **changed** — Bump compose-go to version v2.10.2 - **changed** — Bump Go to 1.25.9 - **removed** — Remove direct dependency on docker/docker ##### What's Changed ###### 🐛 Fixes * Fix TTY timer rendering when duration length changes by @MaybeSam05 in https://github.com/docker/compose/pull/13634 * Fix up attach filtering by @false200 in https://github.com/docker/compose/pull/13664 * Preserve ssh:// URL scheme when resolving Dockerfile path by @ssam18 in https://github.com/docker/compose/pull/13669 * Initialize and pass envFiles map in processExtends by @Mohamed-Moumni in https://github.com/docker/compose/pull/13678 * Fix TestRunHook_ConsoleSize on macOS by @thaJeztah in https://github.com/docker/compose/pull/13686 * Restore post-connect fallback for multi-network stacks on API < 1.44 by @jotka in https://github.com/docker/compose/pull/13629 * Publish: return api.ErrCanceled when user declines interactive prompts by @ishwar170695 in https://github.com/docker/compose/pull/13674 * Return error on non-ErrNotExist stat failures in Tar.Sync() by @Lidang-Jiang in https://github.com/docker/compose/pull/13684 ###### 🔧 Internal * Refactor: thread context through publish sensitive data check by @ishwar170695 in https://github.com/docker/compose/pull/13653 * Add AI-powered PR review workflow via `docker/cagent-action` by @glours in https://github.com/docker/compose/pull/13659 * Update `cagent-action` to latest (with better permissions) by @derekmisler in https://github.com/docker/compose/pull/13665 * Pin GitHub Actions to commit SHA, remove pr-review workflow by @glours in https://github.com/docker/compose/pull/13662 * Exclude hook_test.go from Windows builds and propagate ExecStart error in runWaitExec by @pawannn in https://github.com/docker/compose/pull/13683 * Skip PR review workflow for Dependabot PRs by @glours in https://github.com/docker/compose/pull/13679 * Use negotiated API version for network setup by @glours in https://github.com/docker/compose/pull/13690 * Fix mixed assertion libraries in tests by @thaJeztah in https://github.com/docker/compose/pull/13689 * Test: use random host port for dind TLS build test by @ricardobranco777 in https://github.com/docker/compose/pull/13630 * Remove direct dependency on `docker/docker` by @glours in https://github.com/docker/compose/pull/13706 ###### ⚙️ Dependencies * Bump github.com/containerd/platforms from `1.0.0-rc.2` to `1.0.0-rc.3` by @dependabot[bot] in https://github.com/docker/compose/pull/13657 * Bump golangci-lint to `v2.11.3` and configure CLAUDE to use it on change by @ndeloof in https://github.com/docker/compose/pull/13656 * Bump google.golang.org/grpc from `1.78.0` to `1.79.3` by @dependabot[bot] in https://github.com/docker/compose/pull/13642 * Bump github.com/moby/patternmatcher from `0.6.0` to `0.6.1` by @dependabot[bot] in https://github.com/docker/compose/pull/13667 * Bump go.opentelemetry.io/otel/sdk from `1.39.0` to `1.42.0` by @glours in https://github.com/docker/compose/pull/13663 * Bump github.com/docker/cli from `29.2.1+incompatible` to `29.3.1+incompatible` by @dependabot[bot] in https://github.com/docker/compose/pull/13670 * Bump github.com/hashicorp/go-version from `1.8.0` to `1.9.0` by @dependabot[bot] in https://github.com/docker/compose/pull/13692 * Bump github.com/docker/buildx `v0.33.0`, buildkit `v0.29.0` by @thaJeztah in https://github.com/docker/compose/pull/13693 * Bump google.golang.org/grpc from `1.79.3` to `1.80.0` by @dependabot[bot] in https://github.com/docker/compose/pull/13697 * Bump github.com/containerd/platforms from `1.0.0-rc.3` to `1.0.0-rc.4` by @dependabot[bot] in https://github.com/docker/compose/pull/13696 * Bump github.com/moby/moby/client `v0.4.0`, moby/api `v1.54.1` by @thaJeztah in https://github.com/docker/compose/pull/13708 * Bump github.com/docker/cli `v29.4.0` by @thaJeztah in https://github.com/docker/compose/pull/13707 * Bump compose-go to version `v2.10.2` by @glours in https://github.com/docker/compose/pull/13705 * Bump to Go `1.25.9` by @thaJeztah in https://github.com/docker/compose/pull/13720 ##### New Contributors * _[Truncated at 4000 characters — full notes: https://github.com/docker/compose/releases/tag/v5.1.2]_