This repository was archived by the owner on Apr 27, 2026. It is now read-only.
v2.1.0
Update with composer global update
Changes since v2.0.7
- Short option names:
--projectand--environmentcan now be abbreviated as-pand-e. - The
platform buildcommand has been improved:- use the
--copyoption 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
--sourceand--destinationoptions - 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 initcommand has been improved: it now accepts a project ID via--project. So you can useinitfrom repository even if it doesn't yet have a Platform.sh Git remote. - Everywhere a project is specified with
--project, a--hostcan 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
2if there is no project root. - Support for using an API token via the
PLATFORMSH_CLI_API_TOKENenvironment variable. - Proxy support via
http_proxyand/orhttps_proxyenvironment 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