Releases: platformsh/legacy-cli
v4.11.1
v4.11.0
Changes since v4.10.4:
New features for Upsun projects (those using flexible resources):
- Add
--resources-initoption for code source integrations (bitbucket,
bitbucket_server, github, and gitlab). - Add
--resources-initoption to thepushcommand when Git push options are
enabled (they are currently disabled by default). - Show a link to resources docs in command help.
- Show the container profile name when setting profile sizes.
- Default to size 0.5, disk 512 MB when setting resources.
- Validate against the service's minimum sizes.
Other changes:
- Lock while refreshing OAuth2 tokens or SSH certificates.
This behavior can be disabled using the environment variablePLATFORMSH_CLI_DISABLE_LOCKS=1. - Filter the interactive choice of environments, to avoid suggesting
environments that are in the wrong state. - Improve error message when the current deployment is not found, when this is
caused by the environment being inactive. Forward dynamic options when running a sub command(reverted in 4.11.1)- Bump giggsey/libphonenumber-for-php from 8.13.22 to 8.13.26 (#1350)
SHA-256 checksum for platform.phar:
797402c3706d364a9a4e4a6399a3b853f52e016099e5ec9f4ad0b26f5886c069
v4.10.4
Changes since v4.10.3:
- Fix failure to push to a "dirty" environment with
push --activate - Confirm before changing a project in set-remote
- Improve
project:create(create) command:- Hide timeout options in help
- Wait and retry while fetching the project
- Recommend the
getcommand afterwards - Avoid fetching
/regionstwice
- Clarify when the SSO session expired
- Add varnish to the list of "diskless" services for the
resources:setcommand - Bump giggsey/libphonenumber-for-php from 8.13.21 to 8.13.22 (#1334)
SHA-256 checksum for platform.phar:
956155f62daf7665d9306db3514276291160b4ca9ed4f2ca8491cf407e050860
v4.10.3
v4.10.2
Changes since v4.10.1:
- Show simpler command names in help (usage and examples sections).
- Fix
--hostoption on the projects list, and replace it with--region. - Fixes relating to paused environments in two commands:
push --activate: when the environment is paused activation will not be
attempted (it will automatically reactivate on deployment).environment:activate: no error when the environment is paused. When
possible it will now prompt for resuming the environment.
- Filter the projects list by vendor, if configured.
- Default to --set-remote in the
project:create(create) command (if no
remote project is already set). - Improve the plans default in the
project:create(create) command. This
removes theservice.available_plansconfig option.
SHA-256 checksum for platform.phar:
e3cc8c2df5e5bf800288a4aba4ca71770a3c7b0d07c9ed360e953145ff2f2863
v4.10.1
Changes since v4.10.0:
- Fix detection of diskless services in
resourcescommands. - Loosely validate profile sizes in
resources:setcommand.
(Allow.5to match0.5,4to match4.0, etc.) - Fix runtime operations error message.
SHA-256 checksum for platform.phar:
01d25edd1f3d9644695e404eaa06a519644d7e13b350213823adc7e123c55c9b
v4.10.0
Changes since v4.9.0:
- Add sizing API support (when available) via
resourcescommands. These
commands are hidden by default, and shown ifapi.sizingis enabled. - Add an
api.projects_list_newoption - disabled by default - which uses a
newer /users/{user_id}/extended-access API to list projects. - Use newer APIs for showing basic user account information.
- Fix errors when
service.app_config_fileis not defined. - Bump giggsey/libphonenumber-for-php from 8.13.19 to 8.13.20 (#1319).
SHA-256 checksum for platform.phar:
2bbbdfc25b47ad70a168aa8fcc991829aab36e393e8d703f1c7066816b9b6888
v4.9.0
Changes since v4.8.6:
New features:
- Improvements to the
pushcommand:- Allow the current directory not to be mapped to a project - it need only be
a Git repository. - Also allow pushing to a different project (other than the one mapped to the
directory). - Add or change the Git remote if
--set-upstreamis given; recommend
set-remoteotherwise. - State what will happen and then ask for confirmation before pushing in all
interactive cases (not just when pushing to production). - Use Git Push Options if available to activate the environment or set its
parent (disabled by default). - Add a configuration option
detection.push_deploy_error_messageswhich
lists messages that indicate a deployment error, for example "Error
building project" or "Environment redeployment failed". If one of these
error messages is found in the Git push log, report it and return a
non-zero (failure) exit code,87. Note this is only possible on the push
that causes the initial deployment error; a subsequent push without a new
commit would result in "Everything up-to-date" and a0(success) exit
code.
- Allow the current directory not to be mapped to a project - it need only be
- Improve tunnel commands:
- Add the 'url' as a property of each service in
tunnel:info. - Deprecate table-related options that were unused in
tunnel:info. - Add the tunnel 'url' as an optional table column in
tunnel:list.
- Add the 'url' as a property of each service in
- Add a
--bytes(-B) option to themetricscommand.
Other changes:
- Improvements to the
webcommand:- Build the correct Console URL where relevant.
- Allow for no environment to be selected.
- Improve the command description.
- Fix the error when no project is selected and no
service.accounts_urlis
configured.
- Update SSH certificate support:
- Reduce the expiry buffer from 5 to 2 minutes.
- Refresh the certificate after a failed connection if it is invalid.
- Ensure the certificate matches necessary access token claims.
- Fix extension decoding in
ssh-cert:info.
- Bump composer/ca-bundle from 1.3.6 to 1.3.7 (#1317)
- Add two more activity types to the list
- Add the environment commit to the local environment variables cache key
- Lowers the risk of a stale cache for commands such as "relationships"
- Removes the cache clear after the "push" command
- Bump giggsey/libphonenumber-for-php from 8.13.18 to 8.13.19 (#1312)
- Remove the minimum interval in metrics commands
- Show command signature in help for "You must specify a project" error
- Clarify 403 errors that may or may not be project-related
- Filter by permissions (HAL link) when auto-selecting a project organization
- Make the logo configurable for browser login
- Use --include before --exclude in rsync commands (#1304)
SHA-256 checksum for platform.phar:
c52a0dca5026626f2707a7dabc0cf565368e62b843cfd4e1af9e31dbd8389d76
v4.8.6
Changes since v4.8.5:
- Fix undefined BadResponseException class in variable:create command
- Fix a PHP < 7.3 incompatibility in mount:size command
- Fix TypeError in "create" command when fetching available regions
SHA-256 checksum for platform.phar:
33b672f57ccd9b6717cd1637a810f7122525caffd5779e61ef7035a4c114f05f
v4.8.5
Changes since v4.8.4:
- Fix "Configuration not defined: application.tmp_sub_dir" when the user config dir is not writable
SHA-256 checksum for platform.phar:
a25cbe11b7689cf387972d409ad3671ca150a38b428917fb127834840b86f8f3