Changelog
All notable changes to radosgw-admin are documented here and on the GitHub Releases page.
v0.2.2
Released: October 21, 2026
If your code passes userCaps to users.modify(), those capabilities are now actually granted. Before v0.2.2, RGW silently ignored them, so the call succeeded without changing anything. Your code does not need to change — the SDK now sends the caps to RGW's dedicated caps endpoint — but the same call now has a real effect. Audit those calls, especially broad grants like users=* or buckets=*, before upgrading. See #86.
New Features
- users.addCaps(uid, caps) / users.removeCaps(uid, caps) (#86) — grant and revoke admin capabilities (for example
usage=readfor a billing exporter) without recreating the user. Both return the user's full updated caps list. See Grant and Revoke Capabilities.
Bug Fixes
-
users.modify({ userCaps })now actually changes capabilities (#86) — RGW ignores capabilities on its Modify User operation, so previously the call succeeded but the caps never changed. They are now added (merged with existing caps) through the caps endpoint. PassinguserCapstomodify()is deprecated — useaddCaps()/removeCaps(). -
SigV4 signature fix for special characters (#83) — any request whose parameters contained
!,',(,)or*(for example a display name likeBackup (prod)) was rejected by RGW withRGWAuthError/SignatureDoesNotMatch. The request signer now percent-encodes these characters as AWS Signature V4 requires and sorts query parameters in byte order. No API changes — affected calls now simply succeed.
Deprecations
userCapsoption ofusers.modify()— useusers.addCaps()/users.removeCaps()instead. It keeps working (adding caps, never replacing them); v0.3.0 will add a runtime deprecation warning, and it will be removed in v1.0.
Compatibility
- Node.js requirement corrected to >= 20.18.1 — the package previously declared Node.js >= 18, but its
undici7 dependency (added in v0.2.1) already required Node.js 20.18.1, so Node.js 18 never worked. Nothing that worked before stops working. Node.js 20 is end-of-life upstream; v0.3.0 will move to Node.js 22+.
v0.2.1
Released: March 28, 2026
Bug Fixes
- TLS race condition fix —
insecure: truemode previously setNODE_TLS_REJECT_UNAUTHORIZED=0as a process-wide environment variable, causing concurrent requests from other client instances (withinsecure: false) to inadvertently skip TLS verification. Fixed by replacing the global env var mutation with a scopedundiciAgentdispatcher, which confines the TLS setting to a singlefetch()call. This is a safe, backwards-compatible change — theinsecure: trueAPI is unchanged.
Dependencies
- Added
undicias a runtime dependency (1 package, 0 transitive dependencies).undiciis the HTTP client library maintained by the Node.js core team and used internally by Node.js itself for its built-infetch. It was selected specifically to avoid adding any third-party supply chain risk.
v0.2.0
Released: March 18, 2026
New Features
- Request hooks —
onBeforeRequestandonAfterResponsecallbacks onClientConfig. Hooks run on every request across all modules. Errors in hooks are swallowed (never break requests). - Health check —
rgw.healthCheck()returnsPromise<boolean>by callinginfo.get()internally. - Custom User-Agent —
userAgentoption onClientConfig. Default:radosgw-admin/<version> node/<nodeVersion>. - AbortSignal support —
signalfield onRequestOptionsfor external request cancellation. Combined with internal timeout signal (Node 18 compatible). - Retry with jitter — Full jitter on exponential backoff (
base + random * base). Prevents thundering herd.
Improvements
- Improved error handling across all modules
- Better TypeScript type exports
- Enhanced input validation
v0.1.0
Released: March 12, 2026
Initial Release
- 8 modules: Users, Keys, Subusers, Buckets, Quota, Rate Limits, Usage, Info
- 40+ methods covering every RGW Admin Ops endpoint
- No third-party dependencies — AWS SigV4 signing uses only
node:crypto - Full TypeScript support with strict types
- ESM + CommonJS dual output
- Works with Rook-Ceph, OpenShift Data Foundation, and bare-metal Ceph clusters
- Typed error hierarchy:
RGWNotFoundError,RGWValidationError,RGWAuthError,RGWConflictError,RGWRateLimitError,RGWServiceError snake_case↔camelCaseautomatic transformation for API compatibility