What's Changed
🐛 Fixes
- emit container status events after network reconnection (fixes [#13524]) by @MaheshThakur9152 in https://github.com/docker/compose/pull/13529
- Fix potential nil pointer dereference in container event monitoring by @Nepomuk5665 in https://github.com/docker/compose/pull/13551
- compose: recreate container when mounted image digest changes by @ibrahimypr in https://github.com/docker/compose/pull/13549
- fix panic by @ndeloof in https://github.com/docker/compose/pull/13562
- Fix invalid path error when using OCI artifacts on Windows by @mikesir87 in https://github.com/docker/compose/pull/13574
- fix: execute post_start hooks in docker compose run by @veeceey in https://github.com/docker/compose/pull/13607
- Fix panic when watch rebuilds without up by @maxproske in https://github.com/docker/compose/pull/13610
🔧 Internal
- fsnotify is set in Dockerfile by @ndeloof in https://github.com/docker/compose/pull/13533
- Dockerfile: update golangci-lint to v2.8.0 by @thaJeztah in https://github.com/docker/compose/pull/13535
- replace some uses of strings.Split(N) for strings.Cut by @thaJeztah in https://github.com/docker/compose/pull/13542
- Upgrade GitHub Actions to latest versions by @salmanmkc in https://github.com/docker/compose/pull/13546
- pkg/compose: remove dependency on github.com/docker/buildx/driver by @thaJeztah in https://github.com/docker/compose/pull/13563
- use Docker GitHub Builder to build and sign binaries and bin image by @crazy-max in https://github.com/docker/compose/pull/13568
- ci: fix bin-image job by @crazy-max in https://github.com/docker/compose/pull/13569
- pkg/compose: defaultNetworkSettings: refactor by @thaJeztah in https://github.com/docker/compose/pull/13580
- pkg/compose: un-export consts by @thaJeztah in https://github.com/docker/compose/pull/13584
- modernize some code by @thaJeztah in https://github.com/docker/compose/pull/13588
⚙️ Dependencies
- update to go1.25.7 by @thaJeztah in https://github.com/docker/compose/pull/13573
- build(deps): bump golang.org/x/sys from 0.40.0 to 0.41.0 by @dependabot[bot] in https://github.com/docker/compose/pull/13578
- build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4 by @dependabot[bot] in https://github.com/docker/compose/pull/13541
- migrate to moby modules by @thaJeztah in https://github.com/docker/compose/pull/13078
New Contributors
- @MaheshThakur9152 made their first contribution in https://github.com/docker/compose/pull/13529
- @salmanmkc made their first contribution in https://github.com/docker/compose/pull/13546
- @Nepomuk5665 made their first contribution in https://github.com/docker/compose/pull/13551
- @ibrahimypr made their first contribution in https://github.com/docker/compose/pull/13549
- @veeceey made their first contribution in https://github.com/docker/compose/pull/13607
Full Changelog: https://github.com/docker/compose/compare/v5.0.2...v5.1.0