unstale

npm / @napi-rs/keyring

@napi-rs/keyring

What changed in @napi-rs/keyring 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

5 breaking1 new APIs and options1 tooling2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@napi-rs/keyring 29 changes

Breaking changes 5

  • The async return type now includes null for missing entries, so callers can account for absent passwords.

    2.1.1release notes

  • Returns false only when the credential did not exist; other delete failures now throw or reject.

    2.0.0release notes

  • As a delete alias, returns false only when the credential did not exist; other delete failures now throw or reject.

    2.0.0release notes

  • Returns null only when the credential is missing; other credential-store errors now throw or reject instead of being silenced.

    2.0.0release notes

  • Returns the absent result only when the credential is missing; other credential-store errors now throw or reject instead of being silenced.

    2.0.0release notes

New APIs and options 1

  • Adds the ability to select the Linux credential store explicitly.

    2.1.0release notes

Tooling 1

  • macOS prebuilt binaries are now signed and notarized, which may affect how developers assess or deploy them.

    2.1.2release notes

Fixes and other changes 2

  • The async return type now includes null for missing entries, so callers can account for absent secrets.

    2.1.1release notes

  • The async alias is now declared as Promise<boolean> instead of Promise<unknown>, narrowing its TypeScript return type.

    2.0.0release notes