Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.10

31 Dec 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

8 new15 fixed

Security

13 advisories affect 1.4.10; 1.7.7 fixes them

8 more

Release note

Features

  • Support form data for email sign-in/sign-up and fallback to checking fetch Metadata for first login

  • expo: Add webBrowserOptions to openAuthSessionAsync

  • saml: Add XML parser hardening with configurable size limits

  • stripe: Flexible subscription cancellation and termination management

  • stripe: Handle customer.subscription.created webhook event

  • stripe: Add disableRedirect option for subscription and billing

Bug Fixes

  • Correct accountLinking default to true

  • Add supportsArrays to memory and mongodb adapters

  • Sync updateSession changes to secondary storage and active-sessions list

  • admin: Custom role type inference

  • admin: UserId check in /has-permission

  • anonymous: Missing path breaks anonymous hooks

  • api: Chain plugin onRequest hooks properly

  • client: Prevent duplicate signal processing in atom listeners

  • client: Apply rate limit focus refetch regardless of session state

  • expo: Improve parseSetCookieHeader

  • oauth-provider: Support jwksPath

  • oauth-provider: Only session db store currently supported

  • oauth-proxy: Point provider requests to production and fix cookie handling in non-HTTPS environments

  • organization: Remove unnecessary type re-export

  • passkey: Use data.id instead of challengeId in deleteVerificationValue

  • stripe: Add 'subscription/restore' to pathMethods

  • stripe: Prevent trial abuse by checking all user subscriptions

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.