Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

v4.5.0

Choose a tag to compare

@pjcdawkins pjcdawkins released this 03 May 19:20
· 566 commits to main since this release

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