v2.1.0
Update with composer global update
Changes since v2.0.7
- Short option names:
--project
and--environment
can now be abbreviated as-p
and-e
. - The
platform build
command has been improved:- use the
--copy
option to build, copying (instead of symlinking) repository contents to the build (particularly useful for vanilla projects which define build hooks) - the build command now no longer requires login to build a project.
- it can now be used to build outside the context of a project, with new
--source
and--destination
options - default Drush concurrency is back up to 4
- default DB host (for new Drupal builds) is 127.0.0.1 instead of localhost
- use the
- All non-essential output now goes to stderr (while essential output still goes to stdout), for the same reasoning as this Composer issue. Still, the exit code should be checked (as
0
) before relying on output. - Minor autocomplete improvements.
- Minor testing improvements.
Other changes since v2.0.0
- The
platform init
command has been improved: it now accepts a project ID via--project
. So you can useinit
from repository even if it doesn't yet have a Platform.sh Git remote. - Everywhere a project is specified with
--project
, a--host
can be specified too. This bypasses the projects list check and fetches the project information directly. - Added
environment:set-remote
: allows you to specify the remote environment for the local Git branch (if the branch names do not match). - Standard exit code of
2
if there is no project root. - Support for using an API token via the
PLATFORMSH_CLI_API_TOKEN
environment variable. - Proxy support via
http_proxy
and/orhttps_proxy
environment variables. - A fix for building Composer-based projects on Windows.
- Accommodate non-default document roots in
platform drush
. - Other minor fixes.
See also: v.2.0.0 release notes