Skip to content

Releases: platformsh/legacy-cli

v4.19.0

31 May 13:45

Choose a tag to compare

Changes since v4.18.1:

New features:

  • Add options for listing environments by status:
    • Add --status filter option to the environment:list command.
    • Add --status, --only-status and --exclude-status options to the
      environment:delete command.
  • Add commands to get and set build resources:
    • resources:build:get (or build-resources:get)
    • resources:build:set (or build-resources:set)

Other changes:

  • Allow local OAuth listener to succeed on an alternative port.
  • Support RFC 9470 step-up authentication.
  • Disable wrapping on status and type columns in the environment list.
  • Remove YAML formatting when displaying floats.
  • Avoid misidentifying sessions from alternative configs.
  • Improve SSH/MFA error message.
  • Remove legacy region check in backup:restore command.
  • Bump giggsey/libphonenumber-for-php from 8.13.34 to 8.13.37.

v4.18.1...v4.19.0

SHA-256 checksum for platform.phar:
af8bdf2e13b1482a22bd5f1c795a33295ccedebc08b63853d6fa4365b3d8cd3e

v4.18.1

21 Apr 23:52

Choose a tag to compare

Changes since v4.18.0:

  • Add --type filter to the integration:list command.
  • Fix deployment type detection in metrics commands.
  • Fix loading a subscription through the wrong org.
  • Avoid prompting for self:install when not the only instance.
  • Fix --gateway-ports option in tunnel commands.

v4.18.0...v4.18.1

SHA-256 checksum for platform.phar:
5933787472548eb6d298deb226c0b05db132825e68386d3f41fe14efd28ea8a2

v4.18.0

10 Apr 21:31

Choose a tag to compare

Changes since v4.17.0:

New features:

  • Add --no-code option to backup:restore, and deprecate --restore-code

Other changes:

  • Improvements to disk sizing in the resources:set command:
    • Use the API to validate whether a service can have a disk
    • Allow a disk size of 0
  • Fix "No access token found" after auto-login in auth:token command
  • Bump giggsey/libphonenumber-for-php from 8.13.32 to 8.13.34

v4.17.0...v4.18.0

SHA-256 checksum for platform.phar:
7564e35386b53ee2223b7d553e39946a3d9b1f59ea36d965b1f003d7bbff91cb

v4.17.0

22 Mar 18:05

Choose a tag to compare

Changes since v4.16.0:

Significant changes:

  • Add mfa_enabled and sso_enabled columns to the org:users command.
  • In the push command, do not set a parent if none is specified.
    This also removes the interactive questions for the environment parent and
    type.
  • Remove manual value from --resources-init in 3 commands.
    Affects Upsun only, in commands: activate, backup:restore, and branch.

Smaller changes:

  • Fix "Variables cannot be bracketed" error with SSH in fish.
  • Fix resolution of variable name during variable:create --update.
  • Fix obtaining GitHub token in the self:release command.
  • Dependency updates:
    • Bump composer/ca-bundle from 1.4.1 to 1.4.2 (#1424)
    • Bump phpseclib/phpseclib from 2.0.31 to 2.0.47 in /vendor-bin/box (#1422)
    • Bump giggsey/libphonenumber-for-php from 8.13.31 to 8.13.32 (#1425)

v4.16.0...v4.17.0

SHA-256 checksum for platform.phar:
61119e2562731648296ed81cf05f610c7c972e0ba99811ac53adae9e94f50619

v4.16.0

04 Mar 17:55

Choose a tag to compare

Changes since v4.15.3:

New features:

  • Add a confirmation step before creating a backup.
    Non-interactive scripts must use -y or --yes or --no-interaction.
    For more detail, see: #1414
  • Use MariaDB-specific command names in "db:" commands.
  • Make push --activate ensure the environment status after pushing, whether or
    not new commits were pushed.

Other changes:

  • Use git push options always.
  • Configuration changes:
    • Move config service.header_prefix to detection.cluster_header and make
      it optional.
    • Remove the need for a service.slug config key.
  • Fix recommending an SSH key when not needed.
  • Bump giggsey/libphonenumber-for-php from 8.13.30 to 8.13.31
  • Bump composer/ca-bundle from 1.4.0 to 1.4.1

v4.15.3...v4.16.0

SHA-256 checksum for platform.phar:
b9840ed75a77ae107a7872c46a06a3e4940b4ff7705aff880c25d6007165f19b

v4.15.3

23 Feb 14:40

Choose a tag to compare

Changes since v4.15.2:

  • Fix support for the environment variable {PREFIX}SSH_WRITE_USER_CONFIG.
  • Skip automatic SSH auth when the host is external. This fixes an issue where
    the default SSH identity files (e.g. ~/.ssh/id_rsa) were not being used for
    external hosts, e.g. GitHub (it affected those not running an SSH agent). The
    problem was introduced in v4.12.0 (commit 3b8bfbf).
  • Improve SSH error reporting after authentication.
  • Revert "Print PHP built-in warnings by default (without needing -v)".
  • Hide the service image version.
  • Fix TypeError thrown when running env:delete --no-delete-branch on an
    inactive environment.

v4.15.2...v4.15.3

SHA-256 checksum for platform.phar:
a85e78ba49a3abbfe895530cc208a74ad992104d94fb8f90f43a5f05702259fc

v4.15.2

20 Feb 08:35

Choose a tag to compare

Changes since v4.15.1:

  • Fix another type warning in push command for new environments
  • Remove undefined variable in activate command
  • Fix warning about strpos() after pushing

v4.15.1...v4.15.2

SHA-256 checksum for platform.phar:
d4291f6f5de70af4cdc6a6f0fb589ffb792fc2ceb41835d84d64c12708d71129

v4.15.1

20 Feb 07:23

Choose a tag to compare

Changes since v4.15.0:

  • Fix TypeError on pushing to a new target environment

v4.15.0...v4.15.1

SHA-256 checksum for platform.phar:
f8fbf33e6bd71406edeb08216b4574a70fdcbbf5517910c65a11dff8d4135e13

v4.15.0

19 Feb 21:01

Choose a tag to compare

Changes since v4.14.2:

Features relating to the sizing API (Upsun):

  • Support "resources" in the environment:sync (sync) command.
  • Add --resources-init option to five more commands:
    • backup:restore
    • environment:activate
    • environment:branch (branch)
    • environment:merge (merge)
    • environment:synchronize (sync)
  • At "default" and "minimum" as keywords for the resources:set command (use
    the newly exposed defaults in the API).

Other changes:

  • Make push --activate ensure an environment is active, even when no changes
    were pushed.
  • Fix "Failed to extract zip" on Windows (by updating credential helpers).
  • Print PHP built-in warnings by default (without needing -v).
  • Avoid printing "Determined CA bundle path" more than once.
  • Bump giggsey/libphonenumber-for-php from 8.13.29 to 8.13.30.

v4.14.2...v4.15.0

SHA-256 checksum for platform.phar:
1754d4441cafb2bde07bb49890b36f416708ccf7684a9801b72883028f72b1be

v4.14.2

09 Feb 14:56

Choose a tag to compare

Changes since v4.14.1:

  • Skip rerunning SSH cert check when SSHing from the CLI.
  • Highlight green regions in the project:create (create) command.
  • Support IPV6 ip address validation (#1405) (thanks @hanoii).
  • Set SSH log level to DEBUG3 when the CLI is in debug mode.
  • Fix metrics for multi-instance grid hosting.
  • Use the new backups API for restoring.

v4.14.1...v4.14.2

SHA-256 checksum for platform.phar:
794f94d1ad3415d2dca0f2bf001eaa1c59d8233e3eecf1f98ddee5aa6af1d209