Add browse=true to the npm and Cargo search APIs. Reuse hosted discovery, routing, authorization, result projection, and pagination. Skip upstream search in browse mode. Preserve ordinary empty-search behavior. Cover pagination and totals, named registry mounts, registry and package access restrictions, routed-away packages, and zero upstream requests. Document the endpoints and add a pnpr minor release note. Serialize capped libsql registration transactions on the shared connection. Use immediate transactions and bounded retries for SQLite lock conflicts across independent backends. Retain the atomic counter as the user-limit authority. Cache the bcrypt hash within each registration request. Test independent databases opening the same file, lock release, extended SQLite error codes, and retry behavior through the real libsql HTTP client. Close temporary-file handles before atomic replacement and retry transient Windows file locks. This fixes concurrent task-cache publication failures. Add registration and Windows cache-write patch release notes.
148 B
148 B
@pnpm/pnpr
| @pnpm/pnpr |
|---|
| patch |
Fixed failed registrations when multiple users sign up concurrently with a libsql backend and a configured user limit.