Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.16

5 Feb 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

3 new10 fixed

Security

Fixes 1 advisory that affected 1.1.15

17 advisories affect 1.1.16; 1.6.22 fixes them

12 more

Release note

Features

  • Add cookie helper for middlewares

  • Add refetch function for all client hooks

Bug Fixes

  • Trigger session update on delete user

  • Handle converting date on session parsing from cookie cache

  • Google IdToken auth issuer mismatch

  • Make session table optional when secondary storage is provided

  • anonymous: Add sign-up route to linking matcher

  • anonymous: Link account user and session type should be less strict

  • drizzle: Incorrect call to getModelName

  • drizzle: Drizzle adapter failing to return data on create and update when using mysql

  • oidc: Missing content type header on openId configuration endpoint

  • passkey: Use options base url for rpID

  • security: Santize query param on error page

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.