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

0.5.0

18 Oct 2024Where it was published

0.8.8 is the newest release of 0.5.x.

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

In short

19 new36 fixed

Release note

Features

  • Multi session plugin

  • JWT & JWKS Plugin

  • Change email flow

  • admin plugin: Add filter support for listing users

  • Custom id generation

  • Add support plural flag for mongo db adapter

  • Support useSession ssr for nuxt

  • Kysley generate and orm migrations

  • Support magic link signup

  • Infer trusted origins from env

  • Move to noble hash scrypt impl

  • Kysley generate and orm migrations

  • Move two factor plugin to use a secondary table

  • Dynamic table name support for plugins

  • Use secondary storage as primary for sessions

  • Bearer token encrypted value support

  • Resolve sveltekit $env modules, add lib/server to possible config paths

  • Add onError and throw error options for APIError

  • Admin plugin options

Bug Fixes

  • BasePath should be inferred on for vue client

  • Only create a response if there are after plugins

  • Forget-password token should be infered on the server

  • Magic link should verify user email

  • Facebook provider

  • Verify email shouldn't require credential account

  • Csrf token verification

  • Add picture claim for twitch

  • Remove csrf token from cache

  • Send verification before creating session on signup

  • Email verified should not be infered from a trusted provider

  • False prod env detection

  • Infer redirect and respect redirect uri

  • OAuth flow errors

  • Verify email redirection

  • Missing header on APIError

  • Field names

  • Custom account-fields

  • Support creating credential account on forget password

  • Twofactor id constriant fail

  • Move admin plugin to use ctx json response

  • Env missing on migrate

  • Inforce callback origins

  • Move redirect url protection to a middleware

  • Missing export

  • Additional fields plugin breaking client api inference

  • Dont require a header on sign-in

  • Plugin api failing on empty context

  • Prisma update failing on multiple where clauses

  • Nextjs adapter type error on additional fields

  • Assert state is short enough to be stored in cookie

  • Dbhooks should apply to secondary storages

  • Session should be returned manually from secondary storage

  • Change the verification email option

  • Session max age being overriden by old values

  • Global db hooks should be added last

  • Missing export

  • Remove remember me from generic oauth

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.