Release Notes
Added
sreg yank <eco> <name> <version> and sreg delete <eco> <name> (<version> | --all) are
back, for composer, npm, cargo, nuget, generic, swift and maven. They
authenticate with the token, with GitHub Actions OIDC (--oidc, --oidc-project; _
lets the registry find the project, an admin credential included) or by signing in
through the browser (--login).
sreg login --yank, --delete and --delete-package ask the registry for a short-lived
admin token that may yank or delete exactly the listed versions or packages (needs a
registry that supports the yank and delete login purposes, docs/api.md 6.20).
- The client can replace the
scope of a secret: Client::update_secret sends
PATCH …/secrets/<id> with a description and/or a scope (UpdateSecretRequest);
describe_secret keeps working and sends only the description.
sreg whoami lists the operations of a yank or delete login token (ops in the registry's
answer, also in --json) instead of reporting that it has no grants, and the package
versions a publish login token may publish (scopes).
Install sreg-cli 0.2.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.2.3/sreg-cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.2.3/sreg-cli-installer.ps1 | iex"
Download sreg-cli 0.2.3