Packages

@better-auth/cli

1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.What to use instead
Your version

1.3.8

4 Sep 2025Where it was published

1.4.22 is the newest release of 1.x.

npm marks 1.3.8 as deprecated: Package no longer supported. Contact Support at npmjs.com/support for more info.

In short

17 new27 fixed

Release note

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

Features

  • Support to infer error types from endpoint

  • Support node:sqlite

  • Remote sign a jwt payload

  • Support device authorization

  • Support custom schema merging in SIWE plugin

  • Add figma provider

  • Enhance Microsoft Entra ID type definitions

  • Add onUpdate field on db schema generation

  • Add onInvitationAccepted callback for org invitations

  • Add query parameter to useSession().refetch() for cache control consistency

  • Add last login method plugin

  • Check endpoint conflits

  • Add json field type

  • Add @default and @updatedAt for prisma generator

  • Use defaultNow() for drizzle timestamp fields

  • cli: Add info script

Bug Fixes

  • Constant time compare

  • Secondary storage should allow returning both string and parsed json

  • Telemetry should be opt in not opt out

  • Show error stack in debug mode

  • Move stack check into inner function

  • Check x-api-key for all auth endpoint

  • Avoid general oauth flow duplicate user

  • Small dx for device login

  • Invalid pages on docs throw a 500 server error instead of 404

  • Make zod as dependency

  • Device authorization interval

  • Schema onUpdate not working

  • Member not exist on org

  • Never type still requires setting clientId to never

  • Team id zod schema meta property for array type

  • Resolve field naming inconsistency in account listing endpoint

  • Changelogs incorrect mentions

  • Leave error from fetch API as-is

  • Update organization requiring all additional fields for update payload

  • Prevent build error for node:sqlite

  • Prevent undefined from passed to adapter in username plugin

  • Add missing defaultValue on core schema

  • Strict social provider type

  • cli: Check for undefined defaultValue instead of truthy value when generating drizzle schema

  • cli: generate throws error with default export

  • cli: Incorrect drizzle schema gen

  • cli: Simplify and correct comma insertion logic in plugin array

  • organization: Was possible to remove sole org owner

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.