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