What's Changed
- Docker Compose v5.6.0 changed the behavior of
pre_startcontainer lifecycle hooks. Because of this, scheduled jobs that combinecd.doco.job.execution_mode: one_offwithpre_starthooks are now rejected with an error. You need to userestartexecution_mode instead. See also the note in the wiki. - Restart-mode scheduled jobs now also run their
pre_starthooks on every execution, not only on the first one. - Added a new app setting
VERSION_CHECK_ENABLED(default:true) to disable the lookup and notification for new doco-cd versions on app startup. - Added optional automatic deployment
retrybudgets and delays for Compose projects and Swarm stacks, see retry settings in the wiki. - Added an optional boolean
pausedeployment setting that freezes changes without stopping existing workloads, see pause settings in the wiki. - Errors in Github commit check messages are no longer truncated in the check description.
✨ Features
- feat(config): add option to disable startup version checks by @kimdre in #2040
- feat(deploy): add retry budgets and delays by @kimdre in #2041
- feat(deploy): add per-deployment pause setting by @kimdre in #2062
🌟 Improvements
🐛 Bug Fixes
- fix(docker): ignore compose hook containers in service inventory by @kimdre in #2045
- fix(reconciliation): ignore compose hook runner events by @kimdre in #2046
- fix(docker): prepare fresh pre_start runners for scheduled restarts by @kimdre in #2047
- fix(docker): reject pre_start hooks for compose one-off jobs by @kimdre in #2048
- fix(docker): honor compose hooks in direct lifecycle operations by @kimdre in #2052
- fix(validation): avoid copying live dependency state by @kimdre in #2057
- fix(docker): prevent stopped services with autostart disabled from triggering redeploys by @kimdre in #2061
📦 Dependencies
- chore(deps): update dependency zensical to v0.0.70 by @renovate[bot] in #2038
- chore(deps): update golang:1.27.2 docker digest to 007a316 by @renovate[bot] in #2042
- chore(deps): update dependency markdown-exec to v1.12.5 by @renovate[bot] in #2054
- chore(deps): update golang:1.27.2 docker digest to 8201530 by @renovate[bot] in #2053
- fix(deps): update module github.com/docker/cli to v29.9.1+incompatible by @renovate[bot] in #2055
- fix(deps): update module github.com/sigstore/sigstore to v1.11.1 by @renovate[bot] in #2056
- chore(deps): update github/codeql-action digest to 6f2ac81 by @renovate[bot] in #2063
- fix(deps): update module github.com/getkin/kin-openapi to v0.150.0 by @renovate[bot] in #2066
- fix(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.15.0 by @renovate[bot] in #2064
📚 Miscellaneous
Full Changelog: v0.127.0...v0.128.0