Skip to content

Releases: platformsh/legacy-cli

v2.4.4

01 Sep 07:25

Choose a tag to compare

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 --limit option
  • Prefix SQL dump with environment name automatically (thanks to @mglaman)
  • Add --no-inactive or -I option to environment:list
  • Ensure that getCurrentEnvironment() only succeeds for the current project
  • Get correct project for autocomplete when specified via -p

v2.4.3

21 Aug 10:40

Choose a tag to compare

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-wait option to environment:delete

v2.4.2

21 Aug 10:26

Choose a tag to compare

Release v2.4.2

v2.4.1

30 Jul 18:31

Choose a tag to compare

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

25 Jul 15:55

Choose a tag to compare

Changes since v2.3.2:

  • Improvements to platform get usability:
    • 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 get when the specified directory already exists (you will be asked if you want to overwrite it).
    • Removed unnecessary --include-inactive option.
  • Improvements to platform drush-aliases
  • The restrict_robots property is now writable via platform environment:metadata.
  • Better messages for confusing OAuth errors (HTTP 400 and 401).

v2.3.2

14 Jul 10:29

Choose a tag to compare

  • 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

11 Jul 12:42

Choose a tag to compare

Changes since v2.3.0:

  • Fix a bug where files such as robots.txt may be deleted in the repository (and replaced by an invalid symlink).
  • Add support for a new configuration file format.

v2.3.0

07 Jul 11:31

Choose a tag to compare

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

02 Jul 16:40

Choose a tag to compare

Adding Phar installation/build capability (not yet released) - no other changes

v2.1.0

22 Jun 10:10

Choose a tag to compare

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
  • 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 use init 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/or https_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