Skip to content

Releases: platformsh/legacy-cli

v4.8.6

21 Aug 13:21
Compare
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
Compare
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

v4.8.4

17 Aug 16:45
Compare
Choose a tag to compare

Changes since v4.8.3:

Changes to internals:

  • Simplify configuration by introducing a defaults file
  • Allow any configuration to be overridden in the user-specific config file
    (though please note that local overrides can make updates more complex)
  • Remove old release note format from manifest.json

And some minor bug fixes:

  • Fix type of http_build_query() argument in oauth-listener/index.php
  • Fix notice when additional sessions are active, 'Undefined array key "session_id"'

v4.8.3...v4.8.4

SHA-256 checksum for platform.phar:
5cd9ff5919410c30b56b1ffdb0d15980635c45a9d3a278efb85d6a1f40fe29e0

v4.8.3

14 Aug 21:18
Compare
Choose a tag to compare

Changes since v4.8.2:

  • Fix SSH command quoting on Windows.
  • Handle only one available plan in the project:create (create) command
    (use it as the default).
  • Fix message when no runtime operations are found in the ops command.
  • Remove extra newline in env:delete command output.
  • Bump giggsey/libphonenumber-for-php from 8.13.17 to 8.13.18 (#1302)

v4.8.2...v4.8.3

SHA-256 checksum for platform.phar:
d27b3dadbfe49873580fa71c886f3a7849cc2c382919467a8321f1630a3f3218

v4.8.2

08 Aug 15:27
Compare
Choose a tag to compare

Changes since v4.8.1:

  • Fix activity:cancel state error message
  • Fix PHP < 7.3 compatibility (parse error for RuntimeOperation\ListCommand.php)

v4.8.1...v4.8.2

SHA-256 checksum for platform.phar:
7c7065b79f8448514735010e346e2ff6e61c19816c14e6ca82efb4340df79aa5

v4.8.1

07 Aug 20:41
Compare
Choose a tag to compare

Changes since v4.8.0:

  • Fix quoting an ssh command when provided as a single arg

v4.8.0...v4.8.1

SHA-256 checksum for platform.phar:
16873c481278d19dd6686b443b3d1e2a78d4553542bda22e2081e06c8fd6d687

v4.8.0

04 Aug 08:17
Compare
Choose a tag to compare

Changes since v4.7.2:

New features:

  • Support runtime operations:
    • Add an op:list (ops) command to list operations.
    • Add an op:run command to execute an operation.
  • Allow a dot (.) to select the default environment in the
    --environment (-e) option.
  • Config improvements:
    • Add more defaults for generic values.
    • Document defaults in the config.yaml file.
    • Support CLI_CONFIG_FILE to override the config (for internal use).
  • Custom (non-production) domains improvements:
    • Present an interactive choice of domain to attach.
    • Warn about attached domains on deletion.
    • Compatibility with project system version 22 (omit type parameter when
      creating a domain).
    • Remove beta messaging.
    • Change --replace to --attach.

Other changes:

  • Improve printing of the selected project and environment.
  • Split list/array args by commas (not just the first arg).
  • Bump giggsey/libphonenumber-for-php from 8.13.15 to 8.13.17.
  • Add organization metadata in the org:user:projects command.
  • Improvements to the project:get (get) command:
    • Always display Git errors.
    • Allow the build command to be disabled.
    • Remove the recommendation to build after cloning.
  • Improve activity log handling:
    • Handle multiple activities on environment actions.
    • Prioritize displaying the log if there is one non-integration activity.
    • Display activity descriptions before waiting for them.
    • Improve elapsed time formatting.
  • Suggest exclusions in the activity:list command.
  • Add shortcuts for --exclude-type (-x) and --type (-t) to more
    activity commands.
  • Fix quoting of SSH arguments when multiple are given on the command line.
    For example the following command will now work:
    platform ssh -- sed -n '/04\/Aug\/2023\:09\:40/, /04\/Aug\/2023\:09\:45/p' /var/log/access.log
    
  • Improve Drupal app detection via composer packages.
  • Improvements to the branch command, including removing the --force option.
  • Recommend project:create from project:list.
  • Fix interactive selection of project-level variables.
  • Fix "Link not found: #manage-variables" when the user has read-only variables access.
  • Alias project:set-remote as set-remote
  • Allow paused environments to be deactivated.
  • Update the legacy region condition in backup:restore.

v4.7.2...v4.8.0

SHA-256 checksum for platform.phar:
4cef2642df849f0e71bd5abfbd7fcf51dab52a59ba8a35b994b3bbc3fbead23d

v4.7.2

10 Jul 09:41
Compare
Choose a tag to compare

Changes since v4.7.1:

  • Add support for checking whether ticket-based user verification is required.
  • Fix "Incorrectly nested style tag found" error. This was caused by bad
    formatting for the "login required" exception message when wrapped for
    narrower terminals (platformsh/cli#85)

v4.7.1...v4.7.2

SHA-256 checksum for platform.phar:
7df2eb82ab34d8f6e9de9e7a572c8e65a33463ae9ed34cc8d2a154accb7ec768

v4.7.1

28 Jun 17:19
Compare
Choose a tag to compare

Changes since v4.7.0:

  • Restore the check to prevent deleting parent environments.
    The check had been imprudently removed in v4.7.0.
    This adds an option --allow-delete-parent as a way to skip the check.
  • Improve singular/plural output formatting in env:delete.
  • Improve the check for the production environment in the push command.
  • Only check for updates if the containing directory is writable (for legacy
    only-Phar installations).
  • Dependency updates:
    • Bump giggsey/libphonenumber-for-php from 8.13.12 to 8.13.15
    • Bump composer/ca-bundle from 1.3.5 to 1.3.6
  • SSH error handling improvements:
    • Avoiding recommending ssh-keyscan as it could be confusing.
    • Improve SSH error message when an environment is inactive.
    • Set timeout on test SSH connection.

v4.7.0...v4.7.1

SHA-256 checksum for platform.phar:
8fe85b3e00508fa7f38bd361a3d0466a6946b3abebc21346cca608e48409acf7

v4.7.0

14 Jun 15:31
Compare
Choose a tag to compare

Changes since v4.6.1:

New features:

  • Add env:pause and env:resume commands.

    Development environments will be automatically paused after two weeks of inactivity to save resources and reduce carbon emissions (when this feature is available). These commands add some manual control.

Other changes:

  • Make first part of activity type name optional in --type and
    --exclude-type, e.g. "cron" will match "environment.cron".
  • Warn when an activity --exclude-type value is not recognized.
  • Fix non-interactive use of env:delete --inactive.
  • In env:delete, group environments together for confirmation questions (based
    on their status), instead of asking per environment.
  • Improve login required help message to suit non-interactive use.
  • Fix session loading for a non-default file storage location.
  • Remove warning when app config not found during command loading.

v4.6.1...v4.7.0

SHA-256 checksum for platform.phar:
ab2c8d5911a0d17839b4ee72e3e0a6488f933926cf12dc159879c4629e35e508