Repository navigation
v0.1.0-alpha.4
Pre-release
Pre-release
·
620 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- Local user management.
create usercreates a local user and its password in one step; the server hashes the password, never the CLI.create password-change-requestchanges a password. Both read the password from stdin only (--password-stdin; there is no--passwordflag) and never print it in any output format. On servers too old for this workflow they refuse up front withCAPABILITY_UNSUPPORTED(exit 11) instead of failing halfway through. - OIDC client management.
create oidc-clientplusadd-secret,regenerate-secret, andremove-secret. A client secret is shown once, at creation, and cannot be retrieved later; the output says so. - Server registration.
config add-serverandconfig update-serverregister and re-point servers.auth loginnow takes the server name (rancher auth login prod) and--urlregisters a new one.config get-serversis nowconfig list-servers. - Prime awareness. The CLI detects the server edition. The features table shows which features are Prime-only, and a command that needs a Prime-only or disabled feature says so before sending anything, rather than passing along a confusing server error after the fact.
inspect user. Identity, group memberships, and roles in one call.- Better tables.
-o wideworks everywhere, every resource table has an AGE column, and numbers sort as numbers.get usershides Rancher's system accounts unless you pass--include-system. - Per-pod logs.
logs --podselects one replica's logs, and the log target argument tab-completes. - Color. Help, schema, and command output share one styling layer with a
--colorflag (auto,always,never). Piped output stays plain.
Changed
- Output is now predictable. Errors print as plain text by default (
error (CODE): ...on stderr) and as a structured document under-o jsonor-o yaml. Every command declares what it prints, and warnings arrive the same way in every format. Five commands work differently by design:completion,kubeconfig, andcreate kubeconfigare table-only, andauth get-tokenandtokenprint a raw ExecCredential for kubectl. - A failure can no longer look like success or like nothing. Any internal failure prints a diagnostic before a non-zero exit. A command that already changed the server cannot exit 1 with empty output anymore.
- Tab completion for
-ooffers only formats the command accepts, and the schema now correctly marks login and server registration as commands that use the network.
Security
- Logins are harder to subvert. Every https login checks the TLS certificate before anything is saved and reports certificate problems as a
TLS_TRUSTerror that names the actual issue. A pasted or piped token is verified against the server before it is stored.auth login --urlrefuses to silently re-point a registered server, and--skip-verifyis gone fromauth get-token. - Credentials stay out of output. The response printed after create, patch, and
project create-secretis scrubbed of password and secret fields. Previously a patched User could echo its password hash and a created project secret its payload. - Auth cannot hang. Every login and token request has a timeout, so an unresponsive server no longer stalls a credential refresh forever. Ctrl-C during a password prompt exits immediately and restores terminal echo.
- Releases are built more safely. Tests and third-party tooling no longer run with release credentials, two runs for the same tag can no longer race each other into a duplicate release, and tests now catch a platform missing from the published assets.
- Fuzz testing runs weekly and already paid for itself: it found a bug where a server URL with a percent-escaped host (an IPv6 zone id) produced a broken stored identity. Fixed.
Fixed
- Support bundles from large installations no longer risk running out of memory. The archive is written as data is collected instead of all at once, and per-namespace events are capped at the newest 500 (the manifest notes when truncation happened).
- The Windows install instructions are complete. They now cover renaming both downloaded executables to the names the CLI expects (
rancher.exeandrancher-credential-vault.exe) and checksum-verifying both before putting them onPATH. Previously they ended at "download the assets". - The migration guide is accurate again. Legacy
server delete,clusters create, andclusters deletepoint at their real replacements (config delete-server,create cluster,delete provisioning-cluster) where it previously claimed there were none. config set-completionconfirms what it did rather than exiting silently, an interrupted prompt leaves the cursor on a fresh line, andcreate kubeconfigrejects output formats it cannot honor where it used to ignore them.