Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.27

7 Oct 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

1 deprecated1 new9 fixed

  • Deprecated

    Deprecate options.advanced.generateId type

Security

14 advisories affect 1.3.27; 1.7.0 fixes them

9 more

Release note

Bug Fixes

  • Session update database hook should expect partial session type

  • Deprecated

    Deprecate options.advanced.generateId type

  • Api keys should properly check if a request is from client or server

  • Improve username transformation logic

  • api-key: Shouldn't issue api key a mock session by default

  • organization: Prevent empty name and slug in create/update

  • sso: OIDC scopes should fallback to provider scopes

  • sso: Add deprecated flag to the old sso plugin export

  • stripe: Throw error if event failed to be constructed

  • telemetry: Avoid async import if telemetry disabled, fix for esbuild

  • url: Handle empty and root path in withPath, prevent double slashes, add tests

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.