Skip to content

Conversation

@thaJeztah
Copy link
Member


The ValidateHost option was introduced in moby@1ba1138 to be used as validation func for the --host flag on the daemon in and CLI in moby@5e3f6e7, but is no longer used since cli@6f61cf0. which added support for ssh:// connections, and required validation elsewhere.

- Human readable description for the release notes

Go SDK: opts: deprecate `ValidateHost` utility. This function is no longer used, and will be removed in the next release.

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

The `ValidateHost` option was introduced in [moby@1ba1138] to be used
as validation func for the `--host` flag on the daemon in and CLI in
[moby@5e3f6e7], but is no longer used since [cli@6f61cf0]. which added
support for `ssh://` connections, and required validation elsewhere.

[moby@1ba1138]: moby/moby@1ba1138
[moby@5e3f6e7]: moby/moby@5e3f6e7
[cli@6f61cf0]: docker@6f61cf0

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit d0ac0ac)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.4.0 milestone Aug 15, 2025
@thaJeztah thaJeztah added impact/deprecation status/2-code-review 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 15, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@austinvazquez austinvazquez merged commit c754ac3 into docker:28.x Aug 16, 2025
118 of 119 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_deprecate_ValidateHost branch August 16, 2025 14:24
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 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.

3 participants