Skip to content

Releases: platformsh/legacy-cli

v4.22.0

22 Nov 13:24
Compare
Choose a tag to compare

Changes since v4.21.1:

New features:

  • Add --init-repo option for the create (project:create) command, as a
    shortcut for creating a project from code in a public repository.
  • Before creating a project, check the organization's permissions. This uses the
    can-create API endpoint, which supports more potential action prompts than
    the previous version (which only supported phone verification), e.g. to create
    a support ticket or to update the organization's billing details.

Other changes:

  • Make redis and ssh args consistent; allow multiple args in the redis command.
  • Fix error after creating a new organization from a project directory.
  • Fix the project list cache not clearing automatically.

v4.21.1...v4.22.0

SHA-256 checksum for platform.phar:
911a4b3420533b2eeecd5fa6e54c7c5bcb1baf41c170627f1c29ea3b6c7f7cf5

v4.21.1

15 Oct 13:38
Compare
Choose a tag to compare

Changes since v4.21.0:

  • Re-allow output from "ssh-cert:load --refresh-only", now that quiet mode works
  • After branching, only set the upstream if the remote exists
  • Skip the cache when updating an org via the org:info command
  • Do not require SSH permission to list mounts
  • Handle old envs with outdated "has_remote" in the env:delete command

v4.21.0...v4.21.1

SHA-256 checksum for platform.phar:
9048fa973e0a61590a02dec20f67faabb1ed552f3bf90669709d04da53e14a39

v4.21.0

02 Oct 12:35
Compare
Choose a tag to compare

Changes since v4.20.5:

New features:

  • Support listing teams for a single project.
    • The team:list (teams) command will now filter the teams list to those
      with access to the selected project, if any. The project is selected in the
      normal way, e.g. by --project (-p), or the current Git repository.
    • Use the --all option to list all the teams in the organization.
    • Add the granted_at column (--columns +granted_at) to see when the team
      was added to the project.

Other changes:

  • Print necessary output in --quiet mode:
    Previously, the --quiet (-q) flag hid ALL output, on stderr and stdout.
    It now only hides message/error output (stderr), and continues to print
    necessary output (stdout).
  • Cache organization data locally (for up to 10 minutes by default).
  • Display the project's organization in the welcome command.
  • Silence output from ssh-cert:load --refresh-only (in non-verbose mode).
  • Add debug info for session storage.
  • Explain various actions being unavailable with a code source integration:
    synchronizing code, branching and merging.
  • Explain synchronizing being unavailable when the env or its parent is inactive.
  • Explain SSH unavailability when an env is paused.
  • Fix and improve project suspension warnings.
  • Improve formatting of Solr and PostgreSQL URLs.
  • Bump giggsey/libphonenumber-for-php from 8.13.45 to 8.13.46 (#1490)

v4.20.5...v4.21.0

SHA-256 checksum for platform.phar:
0f816c972d728e1cd10fdc14c8e3b145c3a4ac2056c763a44f4290f0b431e86e

v4.20.5

17 Sep 13:28
Compare
Choose a tag to compare

Changes since v4.20.4:

  • Fix environments listing by ID (bug introduced in v4.20.4)

v4.20.4...v4.20.5

SHA-256 checksum for platform.phar:
189f0b56743d636023137ecf22742705506b6e8145acc65364d06a45b2f4b7ac

v4.20.4

16 Sep 15:54
Compare
Choose a tag to compare

Changes since v4.20.3:

  • Add Unix paths for OpenSSH on Windows.
    If Windows-style paths are added to SSH configuration, this also adds a
    Unix-style path, as OpenSSH appears to have no support for Windows paths.
    Restore the previous behavior by setting the environment variable
    PLATFORMSH_CLI_SSH_WINDOWS_PATHS to raw.
    (replace PLATFORMSH with UPSUN for Upsun)
  • Bump giggsey/libphonenumber-for-php from 8.13.42 to 8.13.45.
  • Extend the request timeout for /environments requests.
  • Fix invalid organization country code when picking a default.
  • Handle EnvironmentStateException when generating Drush aliases.
  • Auto-censor the Authorization header in curl commands.

v4.20.3...v4.20.4

SHA-256 checksum for platform.phar:
ac4cea6b39b294515ec2702fa00248ebc05ac5e1a1124cc7dc19b4d05eb933ee

v4.20.3

09 Aug 23:19
Compare
Choose a tag to compare

Changes since v4.20.2:

  • Fix 'The no-resources option does not exist.' in the backup:restore command.
  • Use stderr for showing current state in the resources:set command.

v4.20.2...v4.20.3

SHA-256 checksum for platform.phar:
552e7b702dbdab42a7bd928dcdaea155b9dd16b4730c1b675501a3c8cdff9b60

v4.20.2

08 Aug 17:42
Compare
Choose a tag to compare

Changes since v4.20.1:

  • Explain failing to activate the default branch when it has no code
  • Improvements to the push command:
    • Omit the parent and type from the git push options if they are not specified.
      This avoids an error when pushing to a non-default branch for the second
      time, when the default branch has no code.
    • Fix setting the type via git push options.

v4.20.1...v4.20.2

SHA-256 checksum for platform.phar:
5f208a232102752e8ac93b371b32bca04ef3526daba3f1eee6e2a25c511755c2

v4.20.1

04 Aug 08:21
Compare
Choose a tag to compare

Changes since v4.20.0:

  • Fix bug which flipped the stderr and stdout streams of subprocesses

v4.20.0...v4.20.1

SHA-256 checksum for platform.phar:
c5e4608722386bd1b877fe63bf43dae1d5c0b888f2eebc93b06a0ea034605c99

v4.20.0

02 Aug 13:22
Compare
Choose a tag to compare

Changes since v4.19.3:

  • Update backup:restore command resources options (Upsun):
    • Add a --no-resources option to avoid restoring resources from the backup.
    • Update the default for --resources-init to backup (previously parent).
  • Format the validation error message in the sync command.
  • Fix choice question autocomplete conflicting with index number.
  • Bump giggsey/libphonenumber-for-php from 8.13.40 to 8.13.42 (#1468)

v4.19.3...v4.20.0

SHA-256 checksum for platform.phar:
2d20c3b6e5914b52030fa4727950099b6e5469e9a2e17dab0293950bf5ea1fe7

v4.19.3

18 Jul 10:35
Compare
Choose a tag to compare

Changes since v4.19.2:

  • Convert environment variable types when applying config overrides.
  • Refresh the SSH cert if the JTI differs (for smoother MFA/SSO).
  • Avoid saying the API token is invalid for other refresh errors (e.g. SSO
    expiry).
  • Avoid updating SSH session config twice in the same command.
  • Bump giggsey/libphonenumber-for-php from 8.13.39 to 8.13.40 (#1463)
  • Bump composer/ca-bundle from 1.4.2 to 1.4.3 (#1464)

v4.19.2...v4.19.3

SHA-256 checksum for platform.phar:
bacc7bf3bb7514a6cfde3b69e8ffcabdadd67cb927930a90085b1819af66fa44