Skip to content

Releases: platformsh/legacy-cli

v4.6.1

24 May 12:48
Compare
Choose a tag to compare

Changes since v4.6.0:

  • On integration:add set "prune_branches": false if "fetch_branches": false
    to work around a validation problem in the API.
  • Add aliases and examples to JSON-formatted help.
  • Format dates consistently in metrics command messages.
  • Report subcommands similarly to shell commands in -vv output.
  • Increase cache reuse in repo commands.
  • Set a default environment in the variable:create command.
  • Fix TypeError while detecting Drupal in projects containing index.php.
  • Improve PHP version detection for the local build warning.
  • Bump giggsey/libphonenumber-for-php from 8.13.11 to 8.13.12 (#1262)

v4.6.0...v4.6.1

SHA-256 checksum for platform.phar:
0d2d0d468232f6a1631369864819e7eea0ec8972f843cc0b07d7ef5993b7055c

v4.6.0

12 May 11:26
Compare
Choose a tag to compare

Changes since v4.5.0:

New features:

  • Support the httplog generic log forwarding integration (when available).
  • Add a --tmp option to the disk command to show temporary disk columns.
  • Add a --pipe option to the apps, services and workers commands,
    making it easier to obtain a list of service names.
  • Allow selecting an organization by project ID in org commands.

Other changes:

  • Implement hidden aliases, options and namespaces in the json and md
    formats for the list command.
  • Fix integration:activities:list (int:ac:list) command table output.
  • Explain when no values are found after filtering in the metrics command.
  • Tweak the description of --replace in the domain:add command.

v4.5.0...v4.6.0

SHA-256 checksum for platform.phar:
a217e96be9786a7b7af56149045d98125b8a5619ac2cfefc2bbb99f6861f7483

v4.5.0

03 May 19:20
Compare
Choose a tag to compare

Changes since v4.4.1:

Add new metrics commands: metrics, cpu, and mem

This adds "beta"-level support for:

  • Reading CPU and memory metrics (and all metrics at once in the metrics
    command).
  • Viewing metrics for all services at once.
  • Viewing temporary disk usage (as well as persistent).
  • A metrics:curl command to help debug the API for an environment's metrics
    (intended for internal use; hidden from the command list).

It also changes the output of the disk command, which could require updates to
scripts for compatibility:

  • New default columns "Service" (service) and "/tmp %" (tmp_percent).
  • The command reports data for multiple services by default, if no --service
    (-s) option is given.
  • The --type and --service options can support selecting multiple services with
    a wildcard or providing multiple arguments.
  • If there are multiple data points per timestamp (if multiple services are
    displayed), the rows are separated with dashes.
  • Other columns relating to temporary disks are available (tmp_used, tmp_limit,
    etc.). See the command help for more information.
  • The default interval is now 1/5th of the default range instead of 1/10th. By
    default, the range is 10min, so the interval is now 2min instead of 1min.

Other changes

  • Add an --update option to var:create (update if the variable exists).
  • Fix validation of --format when used with -h.
    This also marks the xml help format as deprecated, and explains when the
    simplexml extension is not installed.
  • Changes to -vv and -vvv logging:
    • Only print exception traces in debug mode
    • Avoid printing the same exception message twice
    • Print Guzzle request and response summaries in very-verbose mode
    • Turn off cURL debugging entirely, as it is somewhat uncontrollable, and the
      debug output may be copied and pasted without realising the consequences
      (some headers contain private information, in particular Authorization).
    • Avoid ProgressMessage overwriting previous lines in very-verbose mode
    • Only print shell commands in very-verbose mode
    • Only print extra shell command info in debug mode
    • Prefix shell command info with # and HTTP requests with > or < symbols
    • Print a debug message when loading from cache.
    • Improve output of selected environment (avoid printing twice).
  • Fix path column in apps command.
  • Warn when verbose mode is enabled in :curl commands.
  • Preload ConsoleTerminateEvent before forking in tunnel:open.
  • Fix error in tunnel:open when tunnels are already open.
  • Show beta commands in the command list.
  • Prefer the production environment over the default branch, when selecting a
    default environment.
  • Support * as a wildcard character.
    Different characters are convenient in different shells depending whether they
    need quoting. A * needs to be quoted in ZSH but not in Bash.
  • Support wildcards for table columns.

v4.4.1...v4.5.0

SHA-256 checksum for platform.phar:
cdb2cf7d37652751b8fce3041cc47623f5ed6faa58135fa5bcc10cf4e018bfd3

v4.4.1

04 Apr 13:57
Compare
Choose a tag to compare

Changes since v4.4.0:

  • Update client: fix unavailable "#edit" operation for environment type access.
  • Update backup:restore command --target filter for migrated regions.
  • Bump giggsey/libphonenumber-for-php from 8.13.7 to 8.13.8.
  • Add configuration option api.write_user_ssh_config to control whether
    ~/.ssh/config will be modified, overridden by the environment variable
    PLATFORMSH_CLI_API_WRITE_USER_SSH_CONFIG. The possible values are:
    • unset (or YAML null) (the default): ask to create/update ~/.ssh/config
    • truthy ("1" or YAML true): create/update automatically without asking
    • falsy ("0" or YAML false): don't create/update, display suggested config

v4.4.0...v4.4.1

SHA-256 checksum for platform.phar:
00b21f0e8fec71b2219102900b44a61d3129fb643138fb629f0e12a9b3539166

v4.4.0

23 Mar 14:12
Compare
Choose a tag to compare

Changes since v4.3.0:

New features:

  • Add backup:get and backup:delete commands.

Other changes:

  • Show Git progress output during the push command.
  • Add new or missing activity types (for exclude and wildcard matching):
    environment.merge-pr, environment.pause, environment.resume, maintenance.upgrade, project.clear_build_cache.
  • Fix indenting of command output with carriage returns
    (e.g. in the Git progress output of get and push).
  • Fix suggested commands for non-production domains in the domains command.
  • Invalidate the environment variable cache on redeployment.
    This means relationships data is more likely to be up-to-date.

v4.3.0...v4.4.0

SHA-256 checksum for platform.phar:
22f5eaa2ee35a6688584a86db8846371e0076438873c76098b3e9fb2549c8e54

v4.3.0

15 Mar 19:49
Compare
Choose a tag to compare

Changes since v4.2.1:

Add support for non-production environment domains.

This feature is only available to Enterprise and Elite customers and is currently in beta.
If you're an Enterprise or Elite customer, contact support to become a beta tester.
Otherwise, contact sales first to upgrade your plan.

v4.2.1...v4.3.0

SHA-256 checksum for platform.phar:
1f203b442f1924e44e26d9169bdd9723f1cc34eb08041f7cf3ce7c7a0861a4b3

v4.2.1

10 Mar 13:26
Compare
Choose a tag to compare

Changes since v4.2.0:

  • Fix config to enable the org:user:projects command

v4.2.0...v4.2.1

SHA-256 checksum for platform.phar:
174d06e93b38f31972f1601a4cc0644d71deb28d3ee8e79dc7adf9519197461b

v4.2.0

09 Mar 13:55
Compare
Choose a tag to compare

Changes since v4.1.2:

  • Add org:user:projects (oups) command to list projects per user.
  • Mark the current project's org in the org:list (orgs) command.
  • Auto-select the organization of the current project, for organization-related
    commands.
  • Quieten debug output:
    • Reduce blank lines in very-verbose/debug shell output.
    • Reduce debug message noise when finding the CA bundle.
    • Suppress PHP deprecation notices by default.
  • Explain the SSH error from the project:get (get) command.
  • Add more detail to variable:create help.
  • Bump giggsey/libphonenumber-for-php from 8.13.6 to 8.13.7 (#1239)

v4.1.2...v4.2.0

SHA-256 checksum for platform.phar:
795a3b7f239a9ff3bbd657465d6f6a5406a227058faf51ad49eaa3c38d6e8c51

v4.1.2

22 Feb 12:34
Compare
Choose a tag to compare

Changes since v4.1.1:

  • Add iconv and mbstring polyfills to Composer dependencies.
    Fixes the iconv() function not being found during some commands, on systems
    without the mbstring PHP extension.

v4.1.1...v4.1.2

SHA-256 checksum for platform.phar:
d4aff4ca47a18f24a5510031fd9576e4e1541150c25b297410b44a5bd5073d9a

v4.1.1

21 Feb 20:24
Compare
Choose a tag to compare

Changes since v4.1.0:

  • Do not require --base-url for GitHub and GitLab integrations.
    N.B. with apologies for the potential compatibility break, this changes the
    option name --base-url to --bitbucket-url for creating or updating
    Bitbucket Server integrations, which was necessary to fix the bug with GitHub
    and GitLab.
  • Fix failure to refresh token in create command resulting in an eventual
    error message "Property not found: status".

v4.1.0...v4.1.1

SHA-256 checksum for platform.phar:
07956aeb526ae34150432983b08a482c50938362dceff39872e7fb98cc1b33f3