Skip to content

vendor: github.com/docker/go-connections v0.6.0 - #6250

Merged
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:bump_go_connections
Aug 11, 2025
Merged

vendor: github.com/docker/go-connections v0.6.0#6250
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:bump_go_connections

Conversation

@thaJeztah

Copy link
Copy Markdown
Member
  • deprecate sockets.GetProxyEnv, sockets.DialerFromEnvironment
  • add support for unix sockets on Windows
  • remove legacy CBC cipher suites from client config
  • align client and server defaults to be the same.
  • remove support for encrypted TLS private keys.
  • nat: optimize ParsePortSpec

full diff: docker/go-connections@v0.5.0...v0.6.0

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment on lines -174 to +179
proto, containerPort = SplitProtoPort(containerPort)
proto, containerPort := SplitProtoPort(containerPort)
proto = strings.ToLower(proto)
if err := validateProto(proto); err != nil {
return nil, err
}

@thaJeztahthaJeztahAug 8, 2025

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Small change in behavior in docker/go-connections#121, because we validate protocol fist now, before port, so the error became a bit weird;

#18 67.27 === FAIL: opts/swarmopts TestPortOptInvalidSimpleSyntax (0.00s)
#18 67.27 port_test.go:321: assertion failed: expected error "no port specified: <empty>", got "invalid proto: "

Input ia an empty string;

{
value: "",
expectedError: "no port specified: <empty>",
},

- deprecate sockets.GetProxyEnv, sockets.DialerFromEnvironment
- add support for unix sockets on Windows
- remove legacy CBC cipher suites from client config
- align client and server defaults to be the same.
- remove support for encrypted TLS private keys.
- nat: optimize ParsePortSpec
full diff: docker/go-connections@v0.5.0...v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah merged commit 44eba13 into docker:masterAug 11, 2025
90 checks passed
@thaJeztah
thaJeztah deleted the bump_go_connections branch August 11, 2025 13:56
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@thaJeztah@codecov-commenter@Benehiko