Repository navigation
0.1.1-beta.1 - 2026-10-28
Pre-release
Pre-release
Release Notes
Added
- The registry URL may carry the token in its userinfo, Composer style:
https://<login>:<password>@packages.example.com/(both parts percent-decoded). The
credentials need a login and a password, are refused over plainhttpexcept for
localhost/127.0.0.1, and are stripped from the URL before it is used or printed.
--oidcstill wins; an explicit--token/REGISTRY_TOKENthat differs from the URL's
credentials is an error.sreg authwrites the URL's credentials, and the GitHub
Action skips OIDC whenregistrycarries them. sreg generic get <name> <constraint>: a version that is not an exact semver version
(^1.2,">=1 <2",1.x) is a constraint resolved by the registry
(GET /generic/<name>/latest?version=<constraint>, with--prereleaseand the label
filters); the resolved version is printed on stderr and--jsonprints the feed
document.sreg generic get --sole: fail unless the label filter selects exactly one file. The
registry'sGET /generic/<name>/<version|latest>/-/downloadredirects to that file and
names it inX-Resolved-VersionandX-Resolved-File; the file is still verified
against the size and SHA-256 of its feed entry.409 ambiguouslists the candidate
files and exits with1;--outmay name a file path instead of a directory.- Bump and release workflow (
.github/workflows/bump-and-release.yml, started by hand
onmain): computes the next version (prerelease,patch,minor,release,
custom, …) with the dependency-freescripts/bump-version.mjs, sets it in
Cargo.tomlandCargo.lock, rollsCHANGELOG.md, commits and tagsv<version>and
starts the cargo-distReleaseworkflow for the tag. - cargo-dist post-announce job (
.github/workflows/release-action.yml): after a stable
release it starts the Release workflow of
kduma-OSS/serverless-registry-publish-actionwith the new version as the action's
defaultsreg-version, authenticated as a GitHub App (repository secrets
SERVERLESS_REGISTRY_RELEASE_APP_IDandSERVERLESS_REGISTRY_RELEASE_APP_PRIVATE_KEY).
Without them it only prints a notice; the action repository's hourly sync then picks
the release up.
Changed
- The GitHub Action moved to
kduma-OSS/serverless-registry-publish-action
(uses: kduma-OSS/serverless-registry-publish-action@v1), with its history; it is
versioned and released there, and theaction/directory andaction/VERSIONare gone.
Install sreg-cli 0.1.1-beta.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.1.1-beta.1/sreg-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.1.1-beta.1/sreg-cli-installer.ps1 | iex"Download sreg-cli 0.1.1-beta.1
| File | Platform | Checksum |
|---|---|---|
| sreg-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| sreg-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| sreg-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| sreg-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| sreg-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| sreg-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |