Releases: platformsh/legacy-cli
v4.11.3
Changes since v4.11.2:
-
Respect resource limits, where flexible resources are used.
This prevents adding resources that exceed the organization limit which could
lead to a broken environment. It calculates if the requested update will
exceed the current limit and if it does, it stops the operation. In case the
user wants to proceed, they can use the--force
argument. -
Fix typo in reading --resources-init option.
-
Improve file locking on MacOS (using fsync or fflush).
-
Fix check for whether the SSO session expired - improves error message.
SHA-256 checksum for platform.phar
:
b6f6156ddf21129fd4dbc14c74df3fc8bf3029b52b11ea4efddf58ad82bc732e
v4.11.2
Changes since v4.11.1:
- Fix push command when push options are disabled.
This fixes an error with the message:The "resources-init" option does not exist.
SHA-256 checksum for platform.phar
:
3297bffb9e08d61cedb156eb63037403c2b0fe5f2f572350280cd54eddea6869
v4.11.1
v4.11.0
Changes since v4.10.4:
New features for Upsun projects (those using flexible resources):
- Add
--resources-init
option for code source integrations (bitbucket,
bitbucket_server, github, and gitlab). - Add
--resources-init
option to thepush
command 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
get
command afterwards - Avoid fetching
/regions
twice
- Clarify when the SSO session expired
- Add varnish to the list of "diskless" services for the
resources:set
command - 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
--host
option 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_plans
config option.
SHA-256 checksum for platform.phar
:
e3cc8c2df5e5bf800288a4aba4ca71770a3c7b0d07c9ed360e953145ff2f2863
v4.10.1
Changes since v4.10.0:
- Fix detection of diskless services in
resources
commands. - Loosely validate profile sizes in
resources:set
command.
(Allow.5
to match0.5
,4
to 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
resources
commands. These
commands are hidden by default, and shown ifapi.sizing
is enabled. - Add an
api.projects_list_new
option - 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_file
is 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
push
command:- 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-upstream
is given; recommend
set-remote
otherwise. - 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_messages
which
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 themetrics
command.
Other changes:
- Improvements to the
web
command:- 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_url
is
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