Skip to content

warn user version is obsolete#575

Merged
jhrotko merged 1 commit intocompose-spec:mainfrom
ndeloof:ver
Mar 4, 2024
Merged

warn user version is obsolete#575
jhrotko merged 1 commit intocompose-spec:mainfrom
ndeloof:ver

Conversation

@ndeloof
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof commented Feb 14, 2024

Since compose-specification was released, version attribute is obsolete as it doesn't guarantee any form of compatibility. While users adopted new features introduced in the spec, we still see many of them using version: "3" in compose files.

This adds a warning to encourage users to stop using this useless attirbute

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@jhrotko jhrotko merged commit be0297a into compose-spec:main Mar 4, 2024
@rfay
Copy link
Copy Markdown

rfay commented Mar 11, 2024

I'm glad to see this :) SO many docker-compose.*.yaml add-ons for DDEV have version: 3.6 in them :)

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.

4 participants