Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.21

11 Nov 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

8 fixed

Release note

The section about better-auth of a note shared by several packages.

better-auth

Bug Fixes

  • Fixed plugin packages importing from the better-auth root, so bundlers no longer emit unused Kysely chunks when used with better-auth/minimal

  • core: Use ObjectId-shaped derived ids for Prisma ObjectId columns

  • Fixed the device approval page showing a valid code as invalid when the same signed-in user looked it up twice at once, such as under React Strict Mode

  • Fixed sign-ins with a genericOAuth provider using discoveryUrl and OAuth provider requests using resources hanging on Cloudflare Workers

  • Fixed Generic OAuth to send authorizationHeaders on access token refresh, added an optional headers input to refreshAccessToken and refreshAccessTokenRequest, and prevented invalid combined headers with differently cased client authentication headers

  • generic-oauth: Send discoveryHeaders to same-origin JWKS and keep them on the discovery origin

  • Fixed intermittent schema does not exist and relation does not exist errors on PostgreSQL during the startup schema check and npx auth@latest migrate when other schemas are dropped concurrently

  • sign-up: Send sign-up emails after the transaction commits

  • Fixed SIWE verification to stop exposing internal error messages in its 401 response and log them on the server instead

For detailed changes, see CHANGELOG

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.