Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.7

17 Aug 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

8 new12 fixed

Security

14 advisories affect 1.3.7; 1.6.22 fixes them

9 more

Release note

Features

  • Add disableRedirect to linkSocial

  • admin: Add control to prevent admin users from deleting themselves

  • cli: Resolves tsconfig references for path aliases

  • cli: Support sveltekit $ imports in CLI generate cmd

  • email-otp: Add check verification otp endpoint

  • jwt: Sign with jwt for artbitrary payload

  • vk: Add user name mapping by default

Bug Fixes

  • Throw proper error if session is null when deleting organization

  • Prevent file system access when telemetry is disabled

  • Memory leak in custom session plugin

  • Use wider types for database hooks payloads

  • admin: ImpersonatedBy not appearing in client (type fix)

  • cli: Clean up unused pg and mysql import in drizzle schema generator

  • cli: Add FK onDelete cascade and CURRENT_TIMESTAMP defaults on generation

  • cli: Clean up unused pg and mysql import in drizzle schema generator

  • organization: Prevent fk constraint violation when creating invitation without teams

  • organization: Resend invitation should reuse existing invitation instead of creating duplicate

  • sso: [⚠︎Security] - membership check should be required before allowing users to create sso for an organization

  • stripe: Prevent undefined assignment to optional properties

  • sveltekit: Use permissive typing for RequestEvent params

  • telemetry: process referenced on non-nodejs runtime

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.