Skip to content

v1.1.0 - Sliplane API 0.10.0

Choose a tag to compare

@rorychatt rorychatt released this 25 Oct 21:31
· 3 commits to main since this release
a7a1a98

Sliplane API 0.10.0

The CLI now covers all 77 operations of the Sliplane API (it was 65, spec 0.5.0).

New commands

  • ssh-keys list / create / delete - register a public key inline or from a file, optionally self-deleting with --expires-at. A private key is refused.
  • services ssh-keys / attach-ssh-key / detach-ssh-key - attach prints the host, port and username to connect with.
  • services attach-volume / update-volume / detach-volume and servers rename-volume. Attach, update and detach redeploy the service; a detached volume keeps its data.
  • postgres metrics, and pricing.

Fixes

  • services update --merge-env no longer blanks variables. API keys now have per-area scopes. Without secrets:read every env value reads back empty, plain ones too, and a plain variable sent back empty is overwritten. --merge-env now refuses (auth_required) when it would carry a plain variable over with such a key, and points to services set-env or a key with Secrets: Read. accounts add and accounts test warn when a key lacks secrets:read; sliplane me lists the scopes.
  • --from/--to on servers metrics and services metrics always failed with HTTP 400, because the default --range 1h was sent with them. --range now conflicts with --from/--to.
  • Clearer errors for maintenance mode (423) and for deleting an SSH key that is still attached (409).

Upgrading

Download the archive for your platform below, or build from source with cargo install --path . --locked. Config and stored keys are unchanged.