Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 29, 2025

cli/command/stack: remove deprecated RunList and options.List

These were deprecated in f0e5a0d and
d16c560 and were only used internally.

cli/command/stack: remove deprecated RunServices and swarm.GetServices

These were deprecated in f0e5a0d,
036d3a6, and
d16c560 and were only used internally.

cli/command/stack/swarm: remove deprecated RunPS and options.PS

These were deprecated in f0e5a0d and
036d3a6 and were only used internally.

cli/command/stack/swarm: inline validateResolveImageFlag

It was only used in a single place, and possibly incorrect. Let's inline
it to put the logic where it's used.

cli/command/stack/swarm: deployServices: use struct-literal for options

- Human readable description for the release notes

Go SDK: cli/command/stack: remove deprecated RunList and options.List
Go SDK: cli/command/stack: remove deprecated RunServices and swarm.GetServices
Go SDK: cli/command/stack/swarm: remove deprecated RunPS and options.PS

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

These were deprecated in f0e5a0d and
d16c560 and were only used internally.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
These were deprecated in f0e5a0d,
036d3a6, and
d16c560 and were only used internally.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
These were deprecated in f0e5a0d and
036d3a6 and were only used internally.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used in a single place, and possibly incorrect. Let's inline
it to put the logic where it's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Aug 29, 2025
@thaJeztah thaJeztah requested review from a team and silvin-lubecki as code owners August 29, 2025 12:55
@thaJeztah thaJeztah added impact/deprecation status/2-code-review area/stack 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 29, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 81.66667% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/stack/swarm/deploy.go 0.00% 5 Missing ⚠️
cli/command/stack/swarm/deploy_composefile.go 0.00% 5 Missing ⚠️
cli/command/stack/ps.go 96.15% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@robmry robmry merged commit 81ea282 into docker:master Aug 29, 2025
111 checks passed
@thaJeztah thaJeztah deleted the rm_deprecated_stack branch August 29, 2025 18:13
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/stack 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants