Catalog / Moby

client 0.4.0

5 months agoaddedfixeddeprecatedOriginal notes

v0.4.0

Bug fixes and enhancements

  • api, client: add //go:fix inline directives to deprecated functions to help automatically migrating using go fix. moby/moby#52178
  • client/pkg/jsonmessage: add DisplayStream and DisplayMessages utils. moby/moby#52273
  • client/pkg/jsonmessage: use functional options for display funcs. moby/moby#52285
  • client: prevent panic when passing nil Opts to client.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/df reporting 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