# Docker Compose v2.40.0 - Release & Upgrade Intelligence
- **Product:** Docker Compose (https://docs.docker.com/compose/)
- **Version:** v2.40.0
- **Released:** Oct 03, 2025
- **Impact Score:** 6/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/docker-compose/updates/v2.40.0/

## Executive Summary (TL;DR)
Docker Compose v2.40.0 introduces new capabilities for publishing applications as compose.yaml alongside images, alongside several Docker Bake-related secret resolution fixes. The release also updates core Docker engine dependencies to v28.5.0.

## New Features
- Publish Compose application as compose.yaml plus images

## Improvements
- Resolve secrets based on environment variables before executing bake
- Pass bake secrets by environment
- Escape $ in bake.json where interpolation is managed by compose
