# Docker Compose v2.24.0 - Release & Upgrade Intelligence
- **Product:** Docker Compose (https://docs.docker.com/compose/)
- **Version:** v2.24.0
- **Released:** Jan 11, 2024
- **Impact Score:** 9/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/docker-compose/updates/v2.24.0/

## Executive Summary (TL;DR)
Docker Compose v2.24.0 introduces a breaking change to service hash computation that forces all services to be recreated upon upgrade. Additionally, it adds powerful new operational enhancements like transitive dependency builds and log indexing for replicas.

## Breaking Changes & Deprecations
- Breaking change :warning: * service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.

## New Features
- Implement docker compose attach
- Introduce ps --orphans to include/exclude services not declared by project
- Introduce compose logs --index to select a replica container
- Introduce stats command
- Add source policies for build
- Add support for start_interval
- Add support for endpoint-specific MAC address

## Improvements
- --with-dependencies let docker compose build build dependencies transitively
- Adopt compose-go/v2
- Watch: remove requirements for tar binary and for sync target to be rw

## Bug Fixes
- Include disabled services for shell completion
- Restore Project in ps json output
- Log we don't expose service ports when --verbose
- Fix configs are mounted under /<id>
- Fix combination of --pull always --no-build
- Fix(publish): add OCI 1.0 fallback support for AWS ECR
- Fix race condition in log printer
- Send out a cancel event on SIGINT/SIGTERM signal for compose up
- Up: teardown when command context is cancelled
- Build do not require environment to be resolved
