Skip to content

Remove API deprecations #5479

Closed
Closed

Description

@helderco

All current API deprecations are pretty old:

  • Container.exec (replaced by Container.withExec since v0.3.6)
  • Container.fs (replaced by Container.rootfs since v0.3.6)
  • Container.withFS (replaced by Container.withRootfs since v0.3.6)
  • Host.workdir (replaced by Host.directory(path: ".") since v0.3.6)
  • File.secret (replaced by Client.setSecret since v0.5.0)
  • HostVariable.secret (replaced by Client.setSecret since v0.5.0)

This one is new:

  • Container.exitCode (superseded by Client.sync since v0.5.3 but deprecated in v0.6.4)

We forgot to deprecate this a while ago, but decided to also remove it:

  • Host.envVariable (use your SDK's access to the host env variables instead)

Warning
This is meant for the next breaking change release:

Activity

  1. added
    area/engine
    kind/breaking
    on Jul 18, 2023
  2. changed the title [-]Remove old deprecations[/-] [+]Remove deprecations[/+] on Jul 18, 2023
  3. changed the title [-]Remove deprecations[/-] [+]Remove API deprecations[/+] on Jul 18, 2023
  4. self-assigned this
    on Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/enginekind/breaking

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions