Skip to content

Releases: platformsh/legacy-cli

v4.11.4

06 Dec 14:21
Compare
Choose a tag to compare

Changes since v4.11.3:

  • Fix: always attempt to choose a default environment when asking interactively (#1358)
    This should now apply again even when filtering is active, e.g. for the 'ssh'
    command.
  • Fix PHP <7.3 incompatibilities in ResourcesSetCommand

v4.11.3...v4.11.4

SHA-256 checksum for platform.phar:
5ba4c30a8ba438c0d143a865323cd9b5ab654136ff8d14285b2511b7c71d3880

v4.11.3

06 Dec 09:45
Compare
Choose a tag to compare

Changes since v4.11.2:

  • Respect resource limits, where flexible resources are used.

    This prevents adding resources that exceed the organization limit which could
    lead to a broken environment. It calculates if the requested update will
    exceed the current limit and if it does, it stops the operation. In case the
    user wants to proceed, they can use the --force argument.

  • Fix typo in reading --resources-init option.

  • Improve file locking on MacOS (using fsync or fflush).

  • Fix check for whether the SSO session expired - improves error message.

v4.11.2...v4.11.3

SHA-256 checksum for platform.phar:
b6f6156ddf21129fd4dbc14c74df3fc8bf3029b52b11ea4efddf58ad82bc732e

v4.11.2

01 Dec 00:26
Compare
Choose a tag to compare

Changes since v4.11.1:

  • Fix push command when push options are disabled.
    This fixes an error with the message: The "resources-init" option does not exist.

v4.11.1...v4.11.2

SHA-256 checksum for platform.phar:
3297bffb9e08d61cedb156eb63037403c2b0fe5f2f572350280cd54eddea6869

v4.11.1

30 Nov 23:54
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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