Releases: platformsh/legacy-cli
v3.3.6
Changes since v3.3.5
- Use a separate session ID for API tokens
- More reliably exclude
.platform/local
from Git - Report progress during Git clone (
platform get
) - Fix: empty projects did not have their project ID is written to config after
platform get
- Explicitly check the PHP version and fail if it is below the supported 5.5.9 [@Crell]
- Fix: SSH and Drush commands silently dropping arguments
SHA-1 checksum for platform.phar
: e1e574f6a4701569346d8200a284fbee2cf5a3a5
v3.3.5
Changes since v3.3.4
- Fixed two bugs which caused
platform ssh
to freeze without output:-
Removed buggy command-line parsing to find the SSH command (#485). This means commands such as
platform ssh ls -l
will have to be quoted, e.g.platform ssh 'ls -l'
-
Use a direct
proc_open()
rather thanpassthru()
(#484). This solves problems when the SSH process is asking for confirmation, e.g. when the host key needs to be approved.
-
- Updated dependencies, including
guzzlehttp/guzzle
. Theoretically this fixes a potential "httpoxy" CVE-2016-5385 vulnerability (although that was only a problem if the CLI's source code is being used directly by a web process running under CGI/FastCGI). This update also fixes a PHP 7.1 compatibility problem.
SHA-1 checksum for platform.phar
: 104bfe33f3239ab259890c2057a85f01aab15a5b
v3.3.4
Fixing two regressions in v3.3.3
- Update client to fix reporting all empty responses as failure (even 200 responses)
- Assume Drush is installed if the command resolved (fixes a bad test for Drush existence, which caused issue #477)
SHA-1 checksum for platform.phar
: f2908ce8e92347a6ed7e6a421500edf3994ebef7
v3.3.3
v3.3.2
Changes since v3.3.1
(all small bug fixes)
- Account for orphaned environments in
environment:list
- Correct service name for
project:get
with empty repo - Suppress "Usage" message for
welcome
command errors (e.g. when just runningplatform
) - Report more error detail for DELETE requests (e.g. in
project:delete
)
SHA-1 checksum for platform.phar
: 54b90d9c30ead6dc8b2c049fb6ac680a364cfdb8
v3.3.1
Changes since v3.3.0
- Pass verbosity options on to Composer during build
- Add autocompletion and other improvements for
user:role
- Shared mount symlinks now overwrite existing files in the build
- Fix apparent bug in finding the project root with legacy project structures
- Ignore whitespace in the user-specified API token file
SHA-1 checksum for platform.phar
: 300c51300f54edaf598d42dec240303ed1f120e7
v3.3.0
Changes since v3.2.2
- Allow the API token to be set via a file specified in
~/.platformsh/config.yaml
(#472) - Create a settings.local.php for Drupal + Composer (#471)
- Use chmod to force deleting builds even when files are read-only (#469)
- Symlink all mounts, from the build to shared directories (#470)
- Remove minimum Drush version check (#464)
- Fix: the
--copy
option toplatform build
caused dot files to be copied
SHA-1 checksum for platform.phar
: a1db582f4041f946fbb0cd9ec680af5246acb745
v3.2.2
v3.2.1
v3.2.0
Changes since v3.1.2:
New features:
-
Allow the update check interval to be overridden via
~/.platformsh/config.yaml
:updates: check: true check_interval: 86400
-
Sort projects and environments in
project:list
andenvironment:list
- adds new--sort
and--reverse
options -
Add
platform multi
command, to execute arbitrary commands on multiple projects -
Add
platform create
command - enable this via~/.platformsh/config.yaml
:experimental: enable_create: true
Bug fixes:
- In
platform build
, only remove the previous build when the new one completes - Fix: Git exclude info not added for empty projects
- Fix whether an environment is required in the
activity:list
command - Update default Drupal settings.php and settings.local.php files
SHA-1 checksum for platform.phar
: 0de7d49c8010658b0819672c5cbaf21d5522e46f