Skip to content

Releases: platformsh/legacy-cli

v4.11.1

30 Nov 23:54

Choose a tag to compare

Changes since v4.11.0:

  • Revert "Forward dynamic options when running a sub command"
    This reverts commit 1fcd5a9
    as it caused errors such as: The "host" option does not exist.

v4.11.0...v4.11.1

SHA-256 checksum for platform.phar:
e86b66c0ec19ad771d2bc5f5b561fa67cb05de69e8b5030a59961f42bda42e4a

v4.11.0

30 Nov 23:40

Choose a tag to compare

Changes since v4.10.4:

New features for Upsun projects (those using flexible resources):

  • Add --resources-init option for code source integrations (bitbucket,
    bitbucket_server, github, and gitlab).
  • Add --resources-init option to the push command when Git push options are
    enabled (they are currently disabled by default).
  • Show a link to resources docs in command help.
  • Show the container profile name when setting profile sizes.
  • Default to size 0.5, disk 512 MB when setting resources.
  • Validate against the service's minimum sizes.

Other changes:

  • Lock while refreshing OAuth2 tokens or SSH certificates.
    This behavior can be disabled using the environment variable PLATFORMSH_CLI_DISABLE_LOCKS=1.
  • Filter the interactive choice of environments, to avoid suggesting
    environments that are in the wrong state.
  • Improve error message when the current deployment is not found, when this is
    caused by the environment being inactive.
  • Forward dynamic options when running a sub command (reverted in 4.11.1)
  • Bump giggsey/libphonenumber-for-php from 8.13.22 to 8.13.26 (#1350)

v4.10.4...v4.11.0

SHA-256 checksum for platform.phar:
797402c3706d364a9a4e4a6399a3b853f52e016099e5ec9f4ad0b26f5886c069

v4.10.4

27 Oct 11:16

Choose a tag to compare

Changes since v4.10.3:

  • Fix failure to push to a "dirty" environment with push --activate
  • Confirm before changing a project in set-remote
  • Improve project:create (create) command:
    • Hide timeout options in help
    • Wait and retry while fetching the project
    • Recommend the get command afterwards
    • Avoid fetching /regions twice
  • Clarify when the SSO session expired
  • Add varnish to the list of "diskless" services for the resources:set command
  • Bump giggsey/libphonenumber-for-php from 8.13.21 to 8.13.22 (#1334)

v4.10.3...v4.10.4

SHA-256 checksum for platform.phar:
956155f62daf7665d9306db3514276291160b4ca9ed4f2ca8491cf407e050860

v4.10.3

28 Sep 15:36

Choose a tag to compare

Changes since v4.10.2:

  • Avoid an exception if resources commands are used on an inactive environment
  • Bump giggsey/libphonenumber-for-php from 8.13.20 to 8.13.21 (#1329)

v4.10.2...v4.10.3

SHA-256 checksum for platform.phar:
5637426951cd219844f1ab4ec0685d3b597277141064a74a619f3baa93a3f7fb

v4.10.2

22 Sep 14:19

Choose a tag to compare

Changes since v4.10.1:

  • Show simpler command names in help (usage and examples sections).
  • Fix --host option on the projects list, and replace it with --region.
  • Fixes relating to paused environments in two commands:
    • push --activate: when the environment is paused activation will not be
      attempted (it will automatically reactivate on deployment).
    • environment:activate: no error when the environment is paused. When
      possible it will now prompt for resuming the environment.
  • Filter the projects list by vendor, if configured.
  • Default to --set-remote in the project:create (create) command (if no
    remote project is already set).
  • Improve the plans default in the project:create (create) command. This
    removes the service.available_plans config option.

v4.10.1...v4.10.2

SHA-256 checksum for platform.phar:
e3cc8c2df5e5bf800288a4aba4ca71770a3c7b0d07c9ed360e953145ff2f2863

v4.10.1

20 Sep 12:37

Choose a tag to compare

Changes since v4.10.0:

  • Fix detection of diskless services in resources commands.
  • Loosely validate profile sizes in resources:set command.
    (Allow .5 to match 0.5, 4 to match 4.0, etc.)
  • Fix runtime operations error message.

v4.10.0...v4.10.1

SHA-256 checksum for platform.phar:
01d25edd1f3d9644695e404eaa06a519644d7e13b350213823adc7e123c55c9b

v4.10.0

13 Sep 16:30

Choose a tag to compare

Changes since v4.9.0:

  • Add sizing API support (when available) via resources commands. These
    commands are hidden by default, and shown if api.sizing is enabled.
  • Add an api.projects_list_new option - disabled by default - which uses a
    newer /users/{user_id}/extended-access API to list projects.
  • Use newer APIs for showing basic user account information.
  • Fix errors when service.app_config_file is not defined.
  • Bump giggsey/libphonenumber-for-php from 8.13.19 to 8.13.20 (#1319).

v4.9.0...v4.10.0

SHA-256 checksum for platform.phar:
2bbbdfc25b47ad70a168aa8fcc991829aab36e393e8d703f1c7066816b9b6888

v4.9.0

06 Sep 19:18

Choose a tag to compare

Changes since v4.8.6:

New features:

  • Improvements to the push command:
    • Allow the current directory not to be mapped to a project - it need only be
      a Git repository.
    • Also allow pushing to a different project (other than the one mapped to the
      directory).
    • Add or change the Git remote if --set-upstream is given; recommend
      set-remote otherwise.
    • State what will happen and then ask for confirmation before pushing in all
      interactive cases (not just when pushing to production).
    • Use Git Push Options if available to activate the environment or set its
      parent (disabled by default).
    • Add a configuration option detection.push_deploy_error_messages which
      lists messages that indicate a deployment error, for example "Error
      building project" or "Environment redeployment failed". If one of these
      error messages is found in the Git push log, report it and return a
      non-zero (failure) exit code, 87. Note this is only possible on the push
      that causes the initial deployment error; a subsequent push without a new
      commit would result in "Everything up-to-date" and a 0 (success) exit
      code.
  • Improve tunnel commands:
    • Add the 'url' as a property of each service in tunnel:info.
    • Deprecate table-related options that were unused in tunnel:info.
    • Add the tunnel 'url' as an optional table column in tunnel:list.
  • Add a --bytes (-B) option to the metrics command.

Other changes:

  • Improvements to the web command:
    • Build the correct Console URL where relevant.
    • Allow for no environment to be selected.
    • Improve the command description.
    • Fix the error when no project is selected and no service.accounts_url is
      configured.
  • Update SSH certificate support:
    • Reduce the expiry buffer from 5 to 2 minutes.
    • Refresh the certificate after a failed connection if it is invalid.
    • Ensure the certificate matches necessary access token claims.
    • Fix extension decoding in ssh-cert:info.
  • Bump composer/ca-bundle from 1.3.6 to 1.3.7 (#1317)
  • Add two more activity types to the list
  • Add the environment commit to the local environment variables cache key
    • Lowers the risk of a stale cache for commands such as "relationships"
    • Removes the cache clear after the "push" command
  • Bump giggsey/libphonenumber-for-php from 8.13.18 to 8.13.19 (#1312)
  • Remove the minimum interval in metrics commands
  • Show command signature in help for "You must specify a project" error
  • Clarify 403 errors that may or may not be project-related
  • Filter by permissions (HAL link) when auto-selecting a project organization
  • Make the logo configurable for browser login
  • Use --include before --exclude in rsync commands (#1304)

v4.8.6...v4.9.0

SHA-256 checksum for platform.phar:
c52a0dca5026626f2707a7dabc0cf565368e62b843cfd4e1af9e31dbd8389d76

v4.8.6

21 Aug 13:21

Choose a tag to compare

Changes since v4.8.5:

  • Fix undefined BadResponseException class in variable:create command
  • Fix a PHP < 7.3 incompatibility in mount:size command
  • Fix TypeError in "create" command when fetching available regions

v4.8.5...v4.8.6

SHA-256 checksum for platform.phar:
33b672f57ccd9b6717cd1637a810f7122525caffd5779e61ef7035a4c114f05f

v4.8.5

18 Aug 23:49

Choose a tag to compare

Changes since v4.8.4:

  • Fix "Configuration not defined: application.tmp_sub_dir" when the user config dir is not writable

v4.8.4...v4.8.5

SHA-256 checksum for platform.phar:
a25cbe11b7689cf387972d409ad3671ca150a38b428917fb127834840b86f8f3