v4.8.0
Changes since v4.7.2:
New features:
- Support runtime operations:
- Add an
op:list
(ops
) command to list operations. - Add an
op:run
command to execute an operation.
- Add an
- Allow a dot (
.
) to select the default environment in the
--environment
(-e
) option. - Config improvements:
- Add more defaults for generic values.
- Document defaults in the config.yaml file.
- Support
CLI_CONFIG_FILE
to override the config (for internal use).
- Custom (non-production) domains improvements:
- Present an interactive choice of domain to attach.
- Warn about attached domains on deletion.
- Compatibility with project system version 22 (omit
type
parameter when
creating a domain). - Remove beta messaging.
- Change
--replace
to--attach
.
Other changes:
- Improve printing of the selected project and environment.
- Split list/array args by commas (not just the first arg).
- Bump giggsey/libphonenumber-for-php from 8.13.15 to 8.13.17.
- Add organization metadata in the
org:user:projects
command. - Improvements to the
project:get
(get
) command:- Always display Git errors.
- Allow the
build
command to be disabled. - Remove the recommendation to build after cloning.
- Improve activity log handling:
- Handle multiple activities on environment actions.
- Prioritize displaying the log if there is one non-integration activity.
- Display activity descriptions before waiting for them.
- Improve elapsed time formatting.
- Suggest exclusions in the
activity:list
command. - Add shortcuts for
--exclude-type
(-x
) and--type
(-t
) to more
activity commands. - Fix quoting of SSH arguments when multiple are given on the command line.
For example the following command will now work:platform ssh -- sed -n '/04\/Aug\/2023\:09\:40/, /04\/Aug\/2023\:09\:45/p' /var/log/access.log
- Improve Drupal app detection via composer packages.
- Improvements to the
branch
command, including removing the--force
option. - Recommend
project:create
fromproject:list
. - Fix interactive selection of project-level variables.
- Fix "Link not found: #manage-variables" when the user has read-only variables access.
- Alias
project:set-remote
asset-remote
- Allow paused environments to be deactivated.
- Update the legacy region condition in
backup:restore
.
SHA-256 checksum for platform.phar
:
4cef2642df849f0e71bd5abfbd7fcf51dab52a59ba8a35b994b3bbc3fbead23d