Skip to content

fix(deps): update module github.com/compose-spec/compose-go/v2 to v2.16.1 - #1785

Merged
renovate[bot] merged 3 commits into
mainfrom
renovate/github.com-compose-spec-compose-go-v2-2.x
Nov 7, 2026
Merged

renovate[bot] merged 3 commits into
mainfrom
renovate/github.com-compose-spec-compose-go-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

What and why

compose-go v2.16.1 moved service fields into embedded specs, so existing literals did not compile.
Adapt the literals and existing fixtures without changing their values; retain the dependency update and regenerate its license inventory. Issue: none.

Type of change

  • CI / build / tooling

AI assistance

  • AI tools were used
Field Answer
Tool and model Warp / Oz with gpt-6.1-sol (high)
Used for Diagnosed compiler failures, adapted literals, ran checks
Share of change Compatibility repair generated; Renovate update retained
  • I read and understand every line of this change and can explain it in review.

Testing

  • Updated existing unit fixtures; the original package compilation failed before the fix and passes after it.
  • No integration test needed: mechanical API migration with unchanged values; existing Compose regression tests pass and all e2e fixtures compile.

Passed: mise run cli:format, mise run cli:lint:ci, mise run cli:tidy (no changes), mise run cli:licenses:check, all prek pre-commit/commit-msg/pre-push hooks, go test -short -count=1 ./pkg/devcontainer ./pkg/compose, go test -race -short -count=1 -timeout=3m ./pkg/devcontainer ./pkg/compose, go test -run '^$' ./..., native go build, and devsy --version.
Limits: full mise run cli:test and multi-platform mise run cli:build:dev were interrupted during lengthy cold compilation; native Linux build passed. Harness logs were unavailable; macOS/Windows runtime checks remain in CI.

Checklist

  • mise run cli:lint:ci passes
  • mise run cli:test passes
  • No secrets, tokens, or personal paths in code, logs, or screenshots
  • I have signed the CLA (existing head CLA check passed; new commit gate remains for CI)

This PR contains the following updates:

Package Change Age Confidence
github.com/compose-spec/compose-go/v2 v2.15.0 → v2.16.1 age confidence

Release Notes

compose-spec/compose-go (github.com/compose-spec/compose-go/v2)

v2.16.1

Compare Source

What's Changed

Full Changelog: compose-spec/compose-go@v2.16.0...v2.16.1

v2.16.0

Compare Source

⚠️ Breaking change (Go API)

types.ServiceConfig now embeds types.ContainerSpec and types.WorkloadSpec, shared with the new jobs element and pre_start init containers. Field access is unchanged (svc.Image), but struct literals must now set moved fields through the embedded structs, and code walking ServiceConfig with reflection will see these two embedded structs instead of a flat list of fields:

types.ServiceConfig{Name: "web", ContainerSpec: types.ContainerSpec{Image: "nginx"}}

ServiceConfig.PreStart is now a []types.PreStartHook (was []types.ServiceHook), which embeds a full ContainerSpec; Image and PerReplica are no longer fields of ServiceHook.

The order of keys in the YAML and JSON produced for a service also changes (service-level keys first, then container-level, then workload-level ones). The content is the same, but expected files compared as text need to be regenerated.

What's Changed

New Contributors

Full Changelog: compose-spec/compose-go@v2.15.0...v2.16.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Dependency updates label Nov 7, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 7, 2026 13:03
@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit 187db6d
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6aef9b473d869c2ebba12091

@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit 187db6d
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6aef9b47ed474f1e27a23f16

@github-actions github-actions Bot added size/l and removed size/xs labels Nov 7, 2026
@warp-factories
warp-factories Bot requested a review from skevetter November 7, 2026 21:41
@renovate

renovate Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@mergify

mergify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@renovate
renovate Bot merged commit 5d7c6bf into main Nov 7, 2026
116 checks passed
@renovate
renovate Bot deleted the renovate/github.com-compose-spec-compose-go-v2-2.x branch November 7, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates size/l

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants