Releases: platformsh/legacy-cli
v4.21.0
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
--alloption to list all the teams in the organization. - Add the
granted_atcolumn (--columns +granted_at) to see when the team
was added to the project.
- The
Other changes:
- Print necessary output in
--quietmode:
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)
SHA-256 checksum for platform.phar:
0f816c972d728e1cd10fdc14c8e3b145c3a4ac2056c763a44f4290f0b431e86e
v4.20.5
Changes since v4.20.4:
- Fix environments listing by ID (bug introduced in v4.20.4)
SHA-256 checksum for platform.phar:
189f0b56743d636023137ecf22742705506b6e8145acc65364d06a45b2f4b7ac
v4.20.4
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_PATHStoraw.
(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
EnvironmentStateExceptionwhen generating Drush aliases. - Auto-censor the Authorization header in
curlcommands.
SHA-256 checksum for platform.phar:
ac4cea6b39b294515ec2702fa00248ebc05ac5e1a1124cc7dc19b4d05eb933ee
v4.20.3
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.
SHA-256 checksum for platform.phar:
552e7b702dbdab42a7bd928dcdaea155b9dd16b4730c1b675501a3c8cdff9b60
v4.20.2
Changes since v4.20.1:
- Explain failing to activate the default branch when it has no code
- Improvements to the
pushcommand:- 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.
- Omit the parent and type from the git push options if they are not specified.
SHA-256 checksum for platform.phar:
5f208a232102752e8ac93b371b32bca04ef3526daba3f1eee6e2a25c511755c2
v4.20.1
Changes since v4.20.0:
- Fix bug which flipped the stderr and stdout streams of subprocesses
SHA-256 checksum for platform.phar:
c5e4608722386bd1b877fe63bf43dae1d5c0b888f2eebc93b06a0ea034605c99
v4.20.0
Changes since v4.19.3:
- Update backup:restore command resources options (Upsun):
- Add a
--no-resourcesoption to avoid restoring resources from the backup. - Update the default for
--resources-inittobackup(previouslyparent).
- Add a
- 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)
SHA-256 checksum for platform.phar:
2d20c3b6e5914b52030fa4727950099b6e5469e9a2e17dab0293950bf5ea1fe7
v4.19.3
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)
SHA-256 checksum for platform.phar:
bacc7bf3bb7514a6cfde3b69e8ffcabdadd67cb927930a90085b1819af66fa44
v4.19.2
Changes since v4.19.1:
- Improve handling of
push --activatewith a code source integration. - Avoid prompting to delete inactive branches when an integration with
prune_branchesis 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:activitiesalias 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