8000 Bump api version in client and main module to v1.52.0-alpha.1 by austinvazquez · Pull Request #50641 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

austinvazquez
Copy link
Contributor

Generated notes

moby client/v0.1.0-alpha.0

Welcome to the client/v0.1.0-alpha.0 release of moby!
This is a pre-release of moby

The first dedicated release for the Moby Client. This is a 0.x release
since changes to the Go interface are still being considered.

Highlights

Changes affecting the Go SDK

  • client: fix datarace when accessing cli.Version field (#50448)
  • client: define default (and maximum) API version (#50433)
  • Remove client buildkit dep (#50318)

cli

  • client: Client.doRequest: improve some connection errors (#50285)

Deprecations

  • api/types: move plugin types to api/types/plugin (#48114)
  • api/types/filters: remove deprecated ToParamWithVersion (#50561)
  • Move logdriver interface (#50554)
  • pkg/stringid: deprecate, move to daemon, and provide copy in client (#50504)
  • client: remove deprecated types and functions (#50485)
  • deprecate pkg/stdcopy, move to api/stdcopy (#50462)
  • Remove client buildkit dep (#50318)

Please try out the release binaries and report any issues at
https://github.com/moby/moby/issues.

Contributors

  • Sebastiaan van Stijn
  • Derek McGowan
  • Matthieu MOREL
  • Paweł Gronowski
  • Akihiro Suda
  • Cory Snider
  • Alessio Perugini
  • Austin Vazquez
  • Brian Goff
  • Medhy DOHOU

Changes

98 commits

  • api/types: move plugin types to api/types/plugin (#48114)
    • c13266d2c0 api/types: move plugin types to api/types/plugin
  • Prepare release notes for client/v0.1.0-alpha.0 (#50637)
    • a0a7d9a3d7 Add release notes for client/v0.1.0-alpha.0
    • 32ec26be6c Update client and main module api version to latest alpha tag
  • api/types: move ErrorResponse to common/ErrorResponse (#50632)
    • c17d43ae67 api/types: move ErrorResponse to common/ErrorResponse
  • client: use stdlib errors (#50630)
  • client: tidy go.mod (#50629)
  • client: touch-up godoc (#50611)
  • pkg/jsonmessage: stop printing deprecated progressDetail, errorDetail, remove DisplayJSONMessagesToStream and Stream interface (#49264)
    • f3ba0b2dc2 client/pkg/jsonmessage: remove Stream interface
    • 19edf5c53c client/pkg/jsonmessage: remove DisplayJSONMessagesToStream
    • fdaccdb233 pkg/jsonmessage: stop printing deprecated progressDetail, errorDetail
  • Move jsonmessage, streamformatter, and progress (#50565)
    • 0d8ca8eefe Move pkg/jsonmessage to client/pkg/jsonmessage
  • api/types/filters: remove deprecated ToParamWithVersion (#50561)
    • 6c7e2909c2 api/types/filters: remove deprecated ToParamWithVersion
  • Move logdriver interface (#50554)
  • api/types/container.StatsResponseReader: move to client (#50521)
    • f73aba83dc client: TestContainerStats: fix minor linting issues
    • f67e6555bf api/types/container.StatsResponseReader: move to client
  • api: move "DiskUsage" related types to the right location (#50518)
    • 4dda328af8 client: rename files for system-commands to their canonical name
    • 96a6884cb3 api/types: move DiskUsage types to api/types/system
  • api/types: move client.go contents into moby/moby/client (#50510)
    • 24aa86991c api/types: move PluginCreateOptions to client
    • b93ad81898 api/types: move plugin client options into client
    • 44ae4cd2b7 api/types: move HijackedResponse into client
  • pkg/stringid: deprecate, move to daemon, and provide copy in client (#50504)
    • ca1c5ee08f pkg/stringid: move to daemon, and provide copy in client
  • client: remove deprecated types and functions (#50485)
    • 8d8bbefb90 client: remove deprecated CommonAPIClient interface
    • 728f0769e1 client: remove deprecated ImageInspectWithRaw
    • 2f200f9e05 client: remove deprecated IsErrNotFound helper
    • 5ed9891eed client: remove deprecated ErrorConnectionFailed helper
    • a0fa5da2ab client: remove deprecated NewClient and NewEnvClient functions
  • client: fix example, and update refs to old modules (#50484)
    • 30322dd649 client: fix example, and update refs to old modules
  • client: Client.doRequest: improve some connection errors (#50285)
    • 2303e6bff6 client: Client.doRequest: add special handling for DNS resolution errors
    • 67596f01e2 client: Client.doRequest: add special handling for "not found" errors
    • 462d0ff5aa client: Client.doRequest: simplify permission check and unwrap error
    • 7072acac79 client: Client.doRequest: preserve wrapped error
    • 3b4fbaacd7 client: Client.doRequest: use early return
  • client: fix datarace when accessing cli.Version field (#50448)
    • a88e13f4f9 client: fix datarace when accessing cli.Version field
  • client: cleanup encoding body and add test-coverage (#50432)
    • c4f9616c4a client: cleanup encoding body and add test-coverage
  • deprecate pkg/stdcopy, move to api/stdcopy (#50462)
    • 20d594fb79 deprecate pkg/stdcopy, move to api/stdcopy
  • Create github.com/moby/moby/api and github.com/moby/moby/client module (#50280)
    • c47afd41c8 Create github.com/moby/moby/client module
    • afd6487b2e Create github.com/moby/moby/api module
  • client: define default (and maximum) API version (#50433)
    • 41da5700a4 client: define default (and maximum) API version
  • client: always send (empty) body on push (#50415)
    • b1ce0c89f0 client: always send (empty) body on push
  • client: ContainerExecAttach: update GoDoc links (#50411)
    • 14bd3451d8 client: ContainerExecAttach: update GoDoc links
  • client: TestContainerInspectWithEmptyID test both inspect variants (#50385)
    • 16ed75572f client: TestContainerInspectWithEmptyID test both inspect variants
  • Remove client buildkit dep (#50318)
  • Replace use of env test util with standard library call (#50317)
    • e93e15afb0 Replace use of env test util with standard library call
  • client: use go-winio.DialPipe directly (#50125)
    • accbfde61e client: use go-winio.DialPipe directly
  • client: remove getDockerOS utility in favor of "Ostype" header (#50276)
    • fcf3ff1b2f client: remove getDockerOS utility in favor of "Ostype" header
  • client: omit empty auth headers and use registry.RequestAuthConfig (#50256)
    • 1c0d381f4e client: client.tryImagePush: accept registry.RequestAuthConfig
    • ca0afe91b9 client: client.tryImageCreate: accept registry.RequestAuthConfig
    • 79b4e18883 client: add staticAuth utility
    • 871543a8c5 client: Client.ServiceUpdate: don't manually construct header value
  • Remove dependency on testutil from client (#50271)
    • 0964fa01ba Remove dependency on testutil from client
  • Remove dependency on httputil for client hijack test (#50270)
    • 58404b0c28 Remove dependency on httputil for client hijack test
  • fix: easiest revive rules (#50262)
  • client: Client.addHeaders: remove special handling for api < 1.25 (#50246)
    • 8c067c5223 client: Client.addHeaders: remove special handling for api < 1.25
  • docs(client/ContainerExecAttach): add a mention to stdcopy.StdCopy (#50119)
    • 4891396da6 docs(client/ContainerExecAttach): add a mention to stdcopy.StdCopy
  • fix errorlint linter (#50158)
  • fix go-critic linter (#50082)
  • all: remove // import comments (#50110)

Dependency Changes

  • github.com/moby/moby/api v1.52.0-alpha.0 new
  • go.opentelemetry.io/auto/sdk v1.1.0 new
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 -> v0.60.0
  • go.opentelemetry.io/otel v1.31.0 -> v1.35.0
  • go.opentelemetry.io/otel/metric v1.31.0 -> v1.35.0
  • go.opentelemetry.io/otel/trace v1.31.0 -> v1.35.0
  • golang.org/x/sys v0.32.0 -> v0.33.0

Previous release can be found at v28.2.2

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
@austinvazquez austinvazquez marked this pull request as ready for review August 5, 2025 18:23
@austinvazquez
Copy link
Contributor Author

Please try out the release binaries and report any issues at

I guess the release tool wouldn't know but the client and api releases wouldn't have binaries per se. Just packages. Nit pick for later though.

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@thaJeztah
Copy link
Member

We can merge this once validation and "build" passes; no need to run all of CI, as there's no code changes

@austinvazquez
Copy link
Contributor Author

Basic validation and build steps are green. Pulling this in to unblock CLI changes.

@austinvazquez austinvazquez merged commit 2ab75a2 into moby:master Aug 5, 2025
162 of 164 checks passed
@austinvazquez austinvazquez deleted the prepare-moby-client-v0.1.0-alpha.0 branch August 5, 2025 19:01
@thaJeztah thaJeztah added this to the 29.0.0 milestone Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0