Releases: platformsh/legacy-cli
v4.19.0
Changes since v4.18.1:
New features:
- Add options for listing environments by status:
- Add
--statusfilter option to theenvironment:listcommand. - Add
--status,--only-statusand--exclude-statusoptions to the
environment:deletecommand.
- Add
- Add commands to get and set build resources:
resources:build:get(orbuild-resources:get)resources:build:set(orbuild-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:restorecommand. - Bump giggsey/libphonenumber-for-php from 8.13.34 to 8.13.37.
SHA-256 checksum for platform.phar:
af8bdf2e13b1482a22bd5f1c795a33295ccedebc08b63853d6fa4365b3d8cd3e
v4.18.1
Changes since v4.18.0:
- Add
--typefilter to theintegration:listcommand. - Fix deployment type detection in
metricscommands. - Fix loading a subscription through the wrong org.
- Avoid prompting for
self:installwhen not the only instance. - Fix
--gateway-portsoption in tunnel commands.
SHA-256 checksum for platform.phar:
5933787472548eb6d298deb226c0b05db132825e68386d3f41fe14efd28ea8a2
v4.18.0
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
SHA-256 checksum for platform.phar:
7564e35386b53ee2223b7d553e39946a3d9b1f59ea36d965b1f003d7bbff91cb
v4.17.0
Changes since v4.16.0:
Significant changes:
- Add
mfa_enabledandsso_enabledcolumns to theorg:userscommand. - In the
pushcommand, do not set a parent if none is specified.
This also removes the interactive questions for the environment parent and
type. - Remove
manualvalue from--resources-initin 3 commands.
Affects Upsun only, in commands:activate,backup:restore, andbranch.
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:releasecommand. - Dependency updates:
SHA-256 checksum for platform.phar:
61119e2562731648296ed81cf05f610c7c972e0ba99811ac53adae9e94f50619
v4.16.0
Changes since v4.15.3:
New features:
- Add a confirmation step before creating a backup.
Non-interactive scripts must use-yor--yesor--no-interaction.
For more detail, see: #1414 - Use MariaDB-specific command names in "db:" commands.
- Make
push --activateensure 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_prefixtodetection.cluster_headerand make
it optional. - Remove the need for a
service.slugconfig key.
- Move config
- 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
SHA-256 checksum for platform.phar:
b9840ed75a77ae107a7872c46a06a3e4940b4ff7705aff880c25d6007165f19b
v4.15.3
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-branchon an
inactive environment.
SHA-256 checksum for platform.phar:
a85e78ba49a3abbfe895530cc208a74ad992104d94fb8f90f43a5f05702259fc
v4.15.2
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
SHA-256 checksum for platform.phar:
d4291f6f5de70af4cdc6a6f0fb589ffb792fc2ceb41835d84d64c12708d71129
v4.15.1
Changes since v4.15.0:
- Fix TypeError on pushing to a new target environment
SHA-256 checksum for platform.phar:
f8fbf33e6bd71406edeb08216b4574a70fdcbbf5517910c65a11dff8d4135e13
v4.15.0
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:restoreenvironment:activateenvironment: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 --activateensure 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.
SHA-256 checksum for platform.phar:
1754d4441cafb2bde07bb49890b36f416708ccf7684a9801b72883028f72b1be
v4.14.2
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.
SHA-256 checksum for platform.phar:
794f94d1ad3415d2dca0f2bf001eaa1c59d8233e3eecf1f98ddee5aa6af1d209