Releases: platformsh/legacy-cli
v4.19.2
Changes since v4.19.1:
- Improve handling of
push --activate
with a code source integration. - Avoid prompting to delete inactive branches when an integration with
prune_branches
is enabled. - Avoid an unnecessary fetch when an environment does not exist.
- Avoid selecting an SSH key if a certificate exists.
- Fix SSH error in fish shell: "Missing argument at index 3".
- Expose the
integration:activities
alias in help. - Support SSH step-up authentication features.
- Accommodate API tokens when showing step-up auth messages.
- Disable the PHP memory limit (if any).
- Bump giggsey/libphonenumber-for-php from 8.13.37 to 8.13.39.
SHA-256 checksum for platform.phar
:
cf13d86fafe92b90c0b82e26845b6548083197e8aa2d0a1c0a478d8efa81bd2d
v4.19.1
Changes since v4.19.0:
- Fix misleading "More recent authentication is required" message
- Preserve left indent for all lines in a table
SHA-256 checksum for platform.phar
:
5d91ce0b6d6dfae34369e27eb96c37b9d42af0fac02dda2e912f0f7eccf24d72
v4.19.0
Changes since v4.18.1:
New features:
- Add options for listing environments by status:
- Add
--status
filter option to theenvironment:list
command. - Add
--status
,--only-status
and--exclude-status
options to the
environment:delete
command.
- 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:restore
command. - 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
--type
filter to theintegration: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.
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_enabled
andsso_enabled
columns to theorg: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
, 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:release
command. - 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-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
todetection.cluster_header
and make
it optional. - Remove the need for a
service.slug
config 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-branch
on 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