Repository navigation
Features
lint(alsovalidate): a new command that checks project configuration and reports all problems at once (#108, #224, #230, #232, #234)resources:set: allow--countfor services that support horizontal scaling, such as database replicas (#185)variable:create,variable:update:--app-scopeaccepts worker and task names as well as apps (#190)- The
upsunCLI now detects local projects set up by theplatformone (from aplatformGit remote or a.platform/local/project.yamlfile) (#223)
In development
These are off by default, and not ready for general use yet.
- Authentication is moving from PHP to Go, behind the
UPSUN_CLI_GO_AUTH=1flag (#203, #197) environment:logscan read logs from the Observability API, with--severity,--since,--until,--serviceand--format, behindUPSUN_CLI_LOG_PROTOCOL=auto. Logs are still read over SSH by default (#189, #216)
Fixes
organization:billing:profile,organization:billing:address: support organizations on the new billing system (#184)environment:activate,environment:branch,resources:set: fix a crash on projects with guaranteed resources enabled (#220)variable:create --update: keep--levelwhen updating an existing variable (#199)- Composable images and Upsun projects:
- Unknown commands are reported as such, instead of with an error about an unrelated disabled command such as
project-variables(#228) ssh --all: list the SSH URLs of every app without asking for one, so it works non-interactively in projects with several apps (#240)tunnel:open,tunnel:single: report the port of a tunnel that is already open (#241)mount:download: fix a crash when--targetis a relative directory that doesn't exist yet (#233)autoscaling:get: fix a crash with--format csv,tsvorplainwhen some settings are not set (#236)environment:http-access: fix a crash when HTTP access has no credentials, and show validation errors without stray<error>tags (#238)environment:set-remote: fix an error when a branch's Git upstream is the environment (#238)- Authentication:
- Fix unexpected logouts when several commands refresh the access token at the same time (#194)
- Cached API data is kept per user, so data cached with one account or token is no longer shown with another (#212)
- Don't offer a browser login when an API token is set via config or an environment variable (#213)
login: stop asking to rewrite~/.ssh/configwhen it already includes the CLI's SSH configuration in a different form (#180)
- Installation and updates:
- Scoop: drop the
vcredist2022dependency, so theextrasbucket is no longer needed. The README now says Scoop needs Git (#204) - Update checks are no longer lost after short commands such as
--version(#205) config:install: shims use absolute paths, so alternative CLIs work under cron and CI. Update notices for alternative CLIs give the right upgrade command (#215)
- Scoop: drop the
- Installer script:
- Shell completion of command and option names is faster, as it no longer starts PHP (#209)
loginopens the browser on Windows from WSL (#206)- The embedded PHP is now 8.5.11 (#217)
Removed
- The legacy PHP installer and the
self:update,self:releaseandself:statscommands, which were no longer used since 5.x (#186)
New Contributors
- @dephekt made their first contribution in #199
- @shawnplatform made their first contribution in #180
Full Changelog: v5.13.0...v5.14.0