Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 18, 2025


These aliases were added in 292713c (part of v28.0), but did not deprecate them. They are no longer used in the CLI itself, but may be used by cli-plugin implementations.

This deprecates the aliases in cli-plugins/manager in favor of their equivalent in cli-plugins/manager/metadata:

  • CommandAnnotationPlugin
  • CommandAnnotationPluginVendor
  • CommandAnnotationPluginVersion
  • CommandAnnotationPluginInvalid
  • CommandAnnotationPluginCommandPath

(cherry picked from commit 72f76f2)

- Human readable description for the release notes

Go SDK: cli-plugins/manager: deprecate annotation aliases (`CommandAnnotationPlugin`, `CommandAnnotationPluginVendor`, `CommandAnnotationPluginVersion`, `CommandAnnotationPluginInvalid`, `CommandAnnotationPluginCommandPath`) in favor of their equivalent in `cli-plugins/manager/metadata`

- A picture of a cute animal (not mandatory but encouraged)

These aliases were added in 292713c
(part of v28.0), but did not deprecate them. They are no longer used
in the CLI itself, but may be used by cli-plugin implementations.

This deprecates the aliases in `cli-plugins/manager` in favor of
their equivalent in `cli-plugins/manager/metadata`:

- `CommandAnnotationPlugin`
- `CommandAnnotationPluginVendor`
- `CommandAnnotationPluginVersion`
- `CommandAnnotationPluginInvalid`
- `CommandAnnotationPluginCommandPath`

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 72f76f2)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.4.0 milestone Aug 18, 2025
@thaJeztah thaJeztah added impact/deprecation status/2-code-review area/plugins kind/refactor PR's that refactor, or clean-up code area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Aug 18, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah marked this pull request as ready for review August 19, 2025 08:32
@thaJeztah thaJeztah requested a review from Benehiko August 19, 2025 08:32
@thaJeztah thaJeztah merged commit 34a90bd into docker:28.x Aug 19, 2025
106 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_plugin_manager_more_deprecations branch August 19, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/go-sdk Changes affecting the Go SDK area/plugins impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code status/2-code-review

3 participants