Releases: platformsh/legacy-cli
Releases · platformsh/legacy-cli
v2.4.4
Minor changes since v2.4.3:
- Improve Markdown help
- Show the command examples
- Generally nicer formatting, with fewer lists
- Allow listing more than 10 backups with a
--limitoption - Prefix SQL dump with environment name automatically (thanks to @mglaman)
- Add
--no-inactiveor-Ioption toenvironment:list - Ensure that
getCurrentEnvironment()only succeeds for the current project - Get correct project for autocomplete when specified via
-p
v2.4.3
Changes since v2.4.1:
- Switch API URL from marketplace.commerceguys.com to accounts.platform.sh
- Show the project owner in the users list
- Clear environments cache instead of refreshing it, for environment-related commands
- Add a
--no-waitoption toenvironment:delete
v2.4.2
Release v2.4.2
v2.4.1
A couple of minor bug fixes since v2.4.0:
- Drush aliases: also merge in the current alias file when the group changes
- For safety when building outside project context, don't look for apps in 'builds'
- Restructured codebase a little, separating command namespaces into subdirectories
v2.4.0
Changes since v2.3.2:
- Improvements to
platform getusability:- Default project directory will be a slug of the project title, instead of the ID.
- Default Drush alias group will be the same as the directory name.
- The created aliases are shown in the output of
get. - You can use
getwhen the specified directory already exists (you will be asked if you want to overwrite it). - Removed unnecessary
--include-inactiveoption.
- Improvements to
platform drush-aliases - The
restrict_robotsproperty is now writable viaplatform environment:metadata. - Better messages for confusing OAuth errors (HTTP 400 and 401).
v2.3.2
- Fixed issue with choice-based questions - downgrade Symfony Console to 2.6 (it breaks from 2.7)
- Fixed: for Vanilla / Composer builds, build in the build directory, not the web root (except where the web root is
/, AKA/public)
v2.3.1
Changes since v2.3.0:
- Fix a bug where files such as
robots.txtmay be deleted in the repository (and replaced by an invalid symlink). - Add support for a new configuration file format.
v2.3.0
Changes since v2.2.0:
- Support for YAML-format Drush Make files (with Drush 7+).
- Fix for the default build directory in Composer and Symfony-based builds (helps with running build hooks).
v2.2.0
Adding Phar installation/build capability (not yet released) - no other changes
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