Skip to content

feat(config): freeze v15 and start v16 as latest - #4170

Merged
dgageot merged 1 commit into
docker:mainfrom
dgageot:freeze-config-v15
Sep 4, 2026
Merged

feat(config): freeze v15 and start v16 as latest#4170
dgageot merged 1 commit into
docker:mainfrom
dgageot:freeze-config-v15

Conversation

@dgageot

@dgageot dgageot commented Sep 4, 2026

Copy link
Copy Markdown
Member

The config versioning process requires that once a schema version is stable, it gets frozen as an immutable, numbered package so downstream upgraders can rely on it forever. This PR freezes pkg/config/latest as pkg/config/v15 and advances latest to begin work on v16.

pkg/config/v15 is a snapshot of the current latest package with the package name updated to v15. Its parse.go still references v14 for the upgrade path, preserving the existing v14→v15 upgrader chain. The new pkg/config/latest/parse.go now imports v15 as its predecessor, and latest/types.go bumps Version to "16". pkg/config/versions.go registers v15 before latest so the version resolution order stays correct. agent-schema.json is updated to describe Docker Agent v16 and includes "16" in its version enum and examples.

No behaviour changes at runtime — existing configs continue to load through the same upgrade chain, and v16 is a clean slate for future schema additions.

@dgageot
dgageot requested a review from a team as a code owner September 4, 2026 13:09
@dgageot
dgageot merged commit 150bd80 into docker:main Sep 4, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants