E546 api/types: remove deprecated aliases by thaJeztah · Pull Request #50452 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

thaJeztah
Copy link
Member

relates to:

api/types: remove deprecated build-related types

These aliases were added in 3d1e4d9,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types;

  • ImageBuildOptions
  • ImageBuildOutput
  • ImageBuildResponse
  • BuilderVersion
  • BuilderV1
  • BuilderBuildKit

api/types: remove deprecated BuildResult

This alias was added in bb7dbaa,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated api/types.BuildResult type.

api/types: remove deprecated build-cache types

These aliases were added in eefe68a,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types;

  • BuildCache
  • BuildCachePruneOptions
  • BuildCachePruneReport

api/types: remove deprecated SwarmUnlockKeyResponse

This alias was added in 7e8f630,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated api/types.SwarmUnlockKeyResponse type.

api/types: remove deprecated ServiceListOptions, ServiceInspectOptions

These aliases were added in b135285,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated api/types.ServiceListOptions and
api/types.ServiceInspectOptions types.

api/types: remove deprecated ServiceUpdateOptions

These aliases were added in 0b1c7a8,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types;

  • ServiceUpdateOptions
  • RegistryAuthFromSpec
  • RegistryAuthFromPreviousSpec

api/types: remove deprecated ServiceCreateOptions

These aliases were added in 31d6293,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.ServiceCreateOptions

api/types: remove deprecated TaskListOptions

These was added in 5ad0867,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.TaskListOptions

api/types: remove deprecated NodeListOptions, NodeRemoveOptions

These was added in f008d85,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.NodeListOptions and
NodeRemoveOptions.

api/types: remove deprecated ConfigCreateResponse, ConfigListOptions

These was added in a411a39,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.ConfigCreateResponse and
ConfigListOptions.

api/types: remove deprecated SecretCreateResponse, SecretListOptions

These was added in 23117af,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.SecretCreateResponse and
SecretListOptions.

api/types: remove deprecated ImageInspect, RootFS

These was added in 7053007,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.ImageInspect and
RootFS.

api/types: remove deprecated GraphDriverData

These was added in da039ca,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.GraphDriverData.

api/types: remove deprecated Port

These was added in e12b749,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.Port.

api/types: remove deprecated MountPoint

These was added in 5517322,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated api/types.MountPoint.

api/types: remove deprecated container Health types

This was added in c130ce1,
which shipped in the latest v28.x releases, so we can remove these.

This removes the Health and HealthcheckResult types to the container package,
as well as the related NoHealthcheck, Starting, Healthy, and Unhealthy
consts.

api/types: remove deprecated container-networksettings types

This was added in df22a51,
which shipped in the latest v28.x releases, so we can remove these.

This removes the NetworkSettings, NetworkSettingsBase, DefaultNetworkSettings,
and SummaryNetworkSettings types.

api/types: remove deprecated ContainerState type

This was added in 84ffc64,
which shipped in the latest v28.x releases, so we can remove these.

This removes the ContainerState type.

api/types: remove deprecated Container type

This was added in 05b0e65,
which shipped in the latest v28.x releases, so we can remove these.

This removes the Container type.

api/types: remove deprecated container-inspect types

This was added in 1abc8f6,
which shipped in the latest v28.x releases, so we can remove these.

This removes the ContainerJSONBase, ContainerJSON types.

api/types: remove deprecated IDResponse type

This was added in b99b542,
which shipped in the latest v28.x releases, so we can remove these.

This removes the IDResponse type.

api/types: remove deprecated RequestPrivilegeFunc type

This was added in bb899c6,
which shipped in the latest v28.x releases, so we can remove these.

This removes the RequestPrivilegeFunc type.

- Human readable description for the release notes

Go SDK: api/types: remove deprecated aliases.

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

thaJeztah added 22 commits July 20, 2025 14:00
These aliases were added in 3d1e4d9,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types`;

- `ImageBuildOptions`
- `ImageBuildOutput`
- `ImageBuildResponse`
- `BuilderVersion`
- `BuilderV1`
- `BuilderBuildKit`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This alias was added in bb7dbaa,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated `api/types.BuildResult` type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These aliases were added in eefe68a,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types`;

- `BuildCache`
- `BuildCachePruneOptions`
- `BuildCachePruneReport`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This alias was added in 7e8f630,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated `api/types.SwarmUnlockKeyResponse` type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These aliases were added in b135285,
which shipped in the latest v28.x releases, so we can remove this.

This removes the deprecated `api/types.ServiceListOptions` and
`api/types.ServiceInspectOptions` types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These aliases were added in 0b1c7a8,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types`;

- `ServiceUpdateOptions`
- `RegistryAuthFromSpec`
- `RegistryAuthFromPreviousSpec`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These aliases were added in 31d6293,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.ServiceCreateOptions`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in 5ad0867,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.TaskListOptions`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in f008d85,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.NodeListOptions` and
`NodeRemoveOptions`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in a411a39,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.ConfigCreateResponse` and
`ConfigListOptions`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in 23117af,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.SecretCreateResponse` and
`SecretListOptions`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in 7053007,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.ImageInspect` and
`RootFS`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in da039ca,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.GraphDriverData`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in e12b749,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.Port`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These was added in 5517322,
which shipped in the latest v28.x releases, so we can remove these.

This removes the deprecated `api/types.MountPoint`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in c130ce1,
which shipped in the latest v28.x releases, so we can remove these.

This removes the `Health` and `HealthcheckResult` types to the container package,
as well as the related `NoHealthcheck`, `Starting`, `Healthy`, and `Unhealthy`
consts.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in df22a51,
which shipped in the latest v28.x releases, so we can remove these.

This removes the NetworkSettings, NetworkSettingsBase, DefaultNetworkSettings,
and SummaryNetworkSettings types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in 84ffc64,
which shipped in the latest v28.x releases, so we can remove these.

This removes the ContainerState type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in 05b0e65,
which shipped in the latest v28.x releases, so we can remove these.

This removes the Container type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in 1abc8f6,
which shipped in the latest v28.x releases, so we can remove these.

This removes the `ContainerJSONBase`, `ContainerJSON` types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in b99b542,
which shipped in the latest v28.x releases, so we can remove these.

This removes the `IDResponse` type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was added in bb899c6,
which shipped in the latest v28.x releases, so we can remove these.

This removes the `RequestPrivilegeFunc` type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Member
@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM; probably you could safely remove these aliases in a single commit

@AkihiroSuda AkihiroSuda merged commit a1ee566 into moby:master Jul 21, 2025
262 of 264 checks passed
@thaJeztah thaJeztah deleted the api_remove_deprecated_aliases branch July 21, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0