Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.11

12 Jan 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

1 security7 new20 fixed1 internal

  • Security

    core: Separate CSRF and origin checks

Security

13 advisories affect 1.4.11; 1.7.7 fixes them

8 more

Release note

Features

  • Add auth.api.verifyPassword

  • anonymous: Delete anonymous user endpoint

  • generic-oauth: Add Gumroad login support

  • saml: Reject SAML responses containing multiple assertions

  • stripe: Enhance stripe plugin with organization customer support

Bug Fixes

  • Filter null values from dynamic trusted origins

  • Call hooks on change-email-verification flow

  • Clean up expired rate-limit entries on memory storage

  • Set Location header on redirected responses

  • anonymous: Prevent Convex cleanup from deleting fresh sessions

  • api-key: Remove strict length pre-check in verifyApiKey

  • api-key: Remove double stringify/parse of metadata field

  • api-key: Log key verification errors

  • core: Detect dual module error

  • Security

    core: Separate CSRF and origin checks

  • email-otp: Call afterEmailVerification hook on verification

  • email-verification: Sending email verification of another user fails with EMAIL_ALREADY_VERIFIED

  • mcp: Restore ctx.query from cookie in OAuth flow

  • one-tap: Respect user dismiss actions in prompt retry logic

  • open-api: Correctly infer type for ZodDefault fields

  • organization: Use opts pattern to enable hook injection

  • passkey: Add error logs during client verification error

  • prisma-adapter: Lift eq AND conditions to root so update detects unique where field

  • stripe: Improve error handling and subscriptionSuccess route

  • stripe: Pass metadata to subscription object in upgrade method

  • stripe: Prevent duplicate subscription creation when a subscription already exists

  • two-factor: Prisma issue

  • two-factor: Add missing POST endpoints to client pathMethods

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.