client 0.4.0
v0.4.0
Bug fixes and enhancements
- api, client: add
//go:fix inlinedirectives to deprecated functions to help automatically migrating usinggo fix. moby/moby#52178 - client/pkg/jsonmessage: add
DisplayStreamandDisplayMessagesutils. moby/moby#52273 - client/pkg/jsonmessage: use functional options for display funcs. moby/moby#52285
- client: prevent panic when passing
nilOpts toclient.New. moby/moby#52184 - client: the client now sets a default User-Agent if none was set, to prevent Go's default (
Go-http-client/1.1) from being used. moby/moby#52167 - Fix
/system/dfreporting in-use images as reclaimable. moby/moby#51778 - Go SDK: client.WithHTTPHeaders now detects if duplicate headers are set, and produces an error. Previously, duplicate errors would be randomized, resulting in undefined behavior. moby/moby#52204
Full Changelog: https://github.com/moby/moby/compare/client/v0.3.0...client/v0.4.0