Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api/types: remove deprecated type-aliases #47148

Merged
merged 5 commits into from Jan 24, 2024

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jan 21, 2024

relates to:

api/types: remove deprecated system info types and functions

These types were deprecated in c90229e
(v25.0), and moved to api/types/system.

This patch removes the aliases for;

  • api/types.Info
  • api/types.Commit
  • api/types.PluginsInfo
  • api/types.NetworkAddressPool
  • api/types.Runtime
  • api/types.SecurityOpt
  • api/types.KeyValue
  • api/types.DecodeSecurityOptions

api/types: remove deprecated checkpoint-types

These types were deprecated in b688af2
(v25.0), and moved to api/types/checkpoint.

This patch removes the aliases for;

  • api/types.CheckpointCreateOptions
  • api/types.CheckpointListOptions
  • api/types.CheckpointDeleteOptions
  • api/types.Checkpoint

api/types: remove deprecated image-types

These types were deprecated in 48cacbc
(v25.0), and moved to api/types/image.

This patch removes the aliases for;

  • api/types.ImageDeleteResponseItem
  • api/types.ImageSummary
  • api/types.ImageMetadata

api/types: remove deprecated service-types

These types were deprecated in v25.0, and moved to api/types/swarm;

This patch removes the aliases for;

  • api/types.ServiceUpdateResponse (deprecated in 5b3e655)
  • api/types.ServiceCreateResponse (deprecated in ec69501)

api/types: remove deprecated container-types

These types were deprecated in v25.0, and moved to api/types/container;

This patch removes the aliases for;

  • api/types.ResizeOptions (deprecated in 95b92b1)
  • api/types.ContainerAttachOptions (deprecated in 30f09b4)
  • api/types.ContainerCommitOptions (deprecated in 9498d89)
  • api/types.ContainerRemoveOptions (deprecated in 0f77875)
  • api/types.ContainerStartOptions (deprecated in 7bce33e)
  • api/types.ContainerListOptions (deprecated in 9670d93)
  • api/types.ContainerLogsOptions (deprecated in ebef4ef)

- Description for the changelog

Remove deprecated aliases from the api/types package. These types were deprecated
in v25.0.0, which provided temporary aliases. These aliases are now removed:

- api/types.Info
- api/types.Commit
- api/types.PluginsInfo
- api/types.NetworkAddressPool
- api/types.Runtime
- api/types.SecurityOpt
- api/types.KeyValue
- api/types.DecodeSecurityOptions
- api/types.CheckpointCreateOptions
- api/types.CheckpointListOptions
- api/types.CheckpointDeleteOptions
- api/types.Checkpoint
- api/types.ImageDeleteResponseItem
- api/types.ImageSummary
- api/types.ImageMetadata
- api/types.ServiceUpdateResponse
- api/types.ServiceCreateResponse
- api/types.ResizeOptions
- api/types.ContainerAttachOptions
- api/types.ContainerCommitOptions
- api/types.ContainerRemoveOptions
- api/types.ContainerStartOptions
- api/types.ContainerListOptions
- api/types.ContainerLogsOptions

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

These types were deprecated in c90229e
(v25.0), and moved to api/types/system.

This patch removes the aliases for;

- api/types.Info
- api/types.Commit
- api/types.PluginsInfo
- api/types.NetworkAddressPool
- api/types.Runtime
- api/types.SecurityOpt
- api/types.KeyValue
- api/types.DecodeSecurityOptions

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These types were deprecated in b688af2
(v25.0), and moved to api/types/checkpoint.

This patch removes the aliases for;

- api/types.CheckpointCreateOptions
- api/types.CheckpointListOptions
- api/types.CheckpointDeleteOptions
- api/types.Checkpoint

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These types were deprecated in 48cacbc
(v25.0), and moved to api/types/image.

This patch removes the aliases for;

- api/types.ImageDeleteResponseItem
- api/types.ImageSummary
- api/types.ImageMetadata

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These types were deprecated in v25.0, and moved to api/types/swarm;

This patch removes the aliases for;

- api/types.ServiceUpdateResponse (deprecated in 5b3e655)
- api/types.ServiceCreateResponse (deprecated in ec69501)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These types were deprecated in v25.0, and moved to api/types/container;

This patch removes the aliases for;

- api/types.ResizeOptions (deprecated in 95b92b1)
- api/types.ContainerAttachOptions (deprecated in 30f09b4)
- api/types.ContainerCommitOptions (deprecated in 9498d89)
- api/types.ContainerRemoveOptions (deprecated in 0f77875)
- api/types.ContainerStartOptions (deprecated in 7bce33e)
- api/types.ContainerListOptions (deprecated in 9670d93)
- api/types.ContainerLogsOptions (deprecated in ebef4ef)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah marked this pull request as ready for review January 24, 2024 00:27
Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

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

🥳

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.

None yet

2 participants