Skip to content

Conversation

thaJeztah
Copy link
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

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
}
Copy link
Member Author

@thaJeztah thaJeztah Aug 8, 2025

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 <[email protected]>
@thaJeztah thaJeztah merged commit 44eba13 into docker:master Aug 11, 2025
90 checks passed
@thaJeztah thaJeztah deleted the bump_go_connections branch August 11, 2025 13:56
Sign up for free to 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