Releases: platformsh/legacy-cli
v4.11.4
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
SHA-256 checksum for platform.phar
:
5ba4c30a8ba438c0d143a865323cd9b5ab654136ff8d14285b2511b7c71d3880
v4.11.3
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.
SHA-256 checksum for platform.phar
:
b6f6156ddf21129fd4dbc14c74df3fc8bf3029b52b11ea4efddf58ad82bc732e
v4.11.2
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.
SHA-256 checksum for platform.phar
:
3297bffb9e08d61cedb156eb63037403c2b0fe5f2f572350280cd54eddea6869
v4.11.1
v4.11.0
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 thepush
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 variablePLATFORMSH_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)
SHA-256 checksum for platform.phar
:
797402c3706d364a9a4e4a6399a3b853f52e016099e5ec9f4ad0b26f5886c069
v4.10.4
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)
SHA-256 checksum for platform.phar
:
956155f62daf7665d9306db3514276291160b4ca9ed4f2ca8491cf407e050860
v4.10.3
v4.10.2
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 theservice.available_plans
config option.
SHA-256 checksum for platform.phar
:
e3cc8c2df5e5bf800288a4aba4ca71770a3c7b0d07c9ed360e953145ff2f2863
v4.10.1
Changes since v4.10.0:
- Fix detection of diskless services in
resources
commands. - Loosely validate profile sizes in
resources:set
command.
(Allow.5
to match0.5
,4
to match4.0
, etc.) - Fix runtime operations error message.
SHA-256 checksum for platform.phar
:
01d25edd1f3d9644695e404eaa06a519644d7e13b350213823adc7e123c55c9b
v4.10.0
Changes since v4.9.0:
- Add sizing API support (when available) via
resources
commands. These
commands are hidden by default, and shown ifapi.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).
SHA-256 checksum for platform.phar
:
2bbbdfc25b47ad70a168aa8fcc991829aab36e393e8d703f1c7066816b9b6888