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.0

19 Jul 2025Where it was published

1.4.22 is the newest release of 1.x.

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

In short

15 new17 fixed1 internal

Release note

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

Features

  • Sveltekit cookie helper plugin

  • SSO plugin with OIDC and SAML support

  • Linear social provider

  • Add encryption for OTPs and other verification information

  • Notion provider

  • Add sendOnSignIn option to make sending verification link in sign in route explicit

  • Add inferAuth to infer plugin types and more on the client without needing client plugins

  • Add rememberMe option to signUpEmail

  • Add slack social provider

  • Add an option to encrypt oauth tokens by default

  • OnPasswordReset callback

  • AfterEmailVerification callback

  • SIWE plugin

Bug Fixes

  • Import setCookie from tanstack start core package

  • Exclude current user from username update checks

  • Correct way detect facebook limited token jwt

  • Update Discord link to use the correct invite URL in blogs section

  • Linking accounts for anon users with one tap and passkey

  • Don't require email for account linking

  • Add image option to signUpEmail types and schema

  • Implement standard Base64 encoding for HTTP Basic Auth in token refresh and validation

  • Schema generation when using advanced.databse.useNumberId

  • Mysql foreign key constraints on generate

  • Zodv4 migration leftover due to conflict

  • Sso typecheck

  • Global onSuccess callback hook not being called

  • admin: Throw an error if user id in /remove-user is invalid

  • admin: Before create hook was not triggered when creating a user through the admin plugin

  • admin: Pass ctx to user create db hook

  • cli: Format drizzle schema output

  • drizzle-cli: Use serial as PK when useNumberId is enabled

  • drizzle-cli: Use serial as PK when useNumberId is enabled

  • phone-number: Verification value should be removed after successful password reset

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.