@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
135 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.4.22
16 Mar 2026Reading the note…
1.4.21
1 Mar 2026Update workspace dependency ranges to
workspace:*expo: Support Expo SDK 55 new versioning scheme
Bug Fixes
Update workspace dependency ranges to
workspace:*expo: Support Expo SDK 55 new versioning scheme
1.4.20
28 Feb 2026cookie: Add deprecated
optionsalias for backward compatibility
1.4.19
23 Feb 2026Skip sending email verification to already verified users without a session
Improve Headers detection with instanceof check and cross-realm fallback
Safely coerce date values from DB in OAuth provider plugin
Bug Fixes
Skip sending email verification to already verified users without a session
Improve Headers detection with instanceof check and cross-realm fallback
Safely coerce date values from DB in OAuth provider plugin
Correct error redirect URL construction
Encode callbackURL in delete-user verification email
Add error handling for id token verification in Apple and Google providers
cli: Add
.env.localto dotenvorganization: Prevent deletion of roles assigned to members
organization: Remove unreachable null check in
acceptInvitation
1.4.18
29 Jan 2026Add
disableImplicitLinkingto accountLinkingMark
/forget-password/email-otpas deprecationCorrectly handle OAuth callback and Apple email field
Features
Add
disableImplicitLinkingto accountLinkingMark
/forget-password/email-otpas deprecation
Bug Fixes
Correctly handle OAuth callback and Apple email field
Centralize cookie parsing and handle Expires dates correctly
Refresh
account_datacookie when session is refreshedRemove duplicate secondary storage writes from setSessionCookie
Set default logger level to "warn"
Respect the explicitly set
sendOnSignUpoptionHandle serial and false cases in generateId
Log error when misconfigured
Update google oauth endpoints
Consistent api version for facebook provider
Check jsconfig.json in getPathAliases
cli: Use inkeep remote mcp url
cli: Update MCP URL from Chonkie to Inkeep
core: Consolidate rateLimit table schema definition
mcp: Remove local mpc
Performance
Fix infinite typecheck
1.4.17
21 Jan 2026Set default ipv6 subnet to 64
1.4.16
20 Jan 2026admin: Make password field optional on create user
oauth: Set account cookie on re-login when
updateAccountOnSignInis falseorganization: Missing
activeTeamIdfield when dynamic access control is enabled
Features
admin: Make password field optional on create user
Bug Fixes
oauth: Set account cookie on re-login when
updateAccountOnSignInis falseorganization: Missing
activeTeamIdfield when dynamic access control is enabledrate-limit: Support IPv6 address normalization and subnet
1.4.15
18 Jan 2026Update TanStack imports to use server subpath
client: Deep merge plugin actions to preserve all methods
1.4.14
17 Jan 2026Add
skipTrailingSlashesoption to advanced configstripe: Add support for
localeoption to upgradeSubscriptionTanStack Start cookie plugins for React and Solid.js
Features
Add
skipTrailingSlashesoption to advanced configstripe: Add support for
localeoption to upgradeSubscription
Bug Fixes
TanStack Start cookie plugins for React and Solid.js
Centralize schema parsing for API responses
Update Figma provider default scope and oauth endpoints
Allow empty name on email sign-up
1.4.13
15 Jan 2026core: Add version in
AuthContextShould return dates for expiration fields
Preserve attributes when expiring cookies
1.4.12
13 Jan 2026core: Remove dual module warning
1.4.11
12 Jan 2026- Security
core: Separate CSRF and origin checks
Add
auth.api.verifyPasswordFilter null values from dynamic trusted origins
Features
Add
auth.api.verifyPassword
Bug Fixes
Filter null values from dynamic trusted origins
Call hooks on
change-email-verificationflowClean up expired rate-limit entries on memory storage
Set Location header on redirected responses
api-key: Remove strict length pre-check in
verifyApiKeyapi-key: Remove double stringify/parse of metadata field
api-key: Log key verification errors
core: Detect dual module error
- Security
core: Separate CSRF and origin checks
1.4.10
31 Dec 2025Support form data for email sign-in/sign-up and fallback to checking fetch Metadata for first login
Correct
accountLinkingdefault totrueAdd supportsArrays to memory and mongodb adapters
Features
Support form data for email sign-in/sign-up and fallback to checking fetch Metadata for first login
Bug Fixes
Correct
accountLinkingdefault totrueAdd supportsArrays to memory and mongodb adapters
Sync
updateSessionchanges to secondary storage and active-sessions listorganization: Remove unnecessary type re-export
1.4.9
23 Dec 2025- Breaking
admin: Prevent impersonating admins by default
- Deprecated
sso: Deprecate trustEmailVerified
Add
ctx.isTrustedDomainhelper
Features
Add
ctx.isTrustedDomainhelperDrizzle pg supports JSON
Add Refresh Token Support to Kick OAuth Provider
Add
additionalFieldsoption in verification table schemaAdd patreon social provider
Add a global backgroundTasks config option to defer actions like sending email and updates to run after response is sent
- Breaking
admin: Prevent impersonating admins by default
admin: Add support role with permissions for user updates and enforce role change validation
saml: Assertion timestamp validation with per-provider clock skew
saml: Validate SAML crypto algorithms during initial phase
saml: Enforce one-time use of SAML assertions
saml: Reject deprecated SAML signature and digest algorithms
saml: Reject deprecated SAML signature and digest algorithms
Bug Fixes
Add helper types to exports
Avoid throwing on client side
Export organization plugin types
Pathname should be normalized when basePath is set to root
Prematurely deleting active sessions in secondary storage
Make sure non-chunked session data cookie is cleared
Array field handling across adapters and schema generation
StoreStateStrategy default to database if provided
Should always remove 2FA verification token after successful verification
Prevent stateless refresh with database configured
Revert token masking in listSessions route
Compatible with openapi 3.1
Properly merge updated data in account cookie
Preserve
=padding in parsed cookiesUnify SSO/OAuth account linking and add domain-based org assignment to all sign-in flows
Respect BETTER_AUTH_TRUSTED_ORIGINS env variable
Delete verifications with hooks
Respect IP headers in dev/test environments
Trusted origins resolving
Update-user breaking during stateless auth
Export necessary adapter types
Use operator in list members where clause
Don't set state query param if state is not provided
Correct wildcard pattern matching for
trustedOriginscli:
secretgenerates emptycli: Deduplicate drizzle schema relationships
cli: Cmd
info --jsonunexpected exit with 1cli: Cmd
info --jsonunexpected exit with 1core: Allow returning null in getUserInfo in provider options
saml: Enforce trusted provider check
saml: Remove signature validation bypass
sso: Safely parse provider configs on registration
- Deprecated
sso: Deprecate trustEmailVerified
sso: Enforce domain verification in assignOrganizationByDomain
Performance
Add index on organizations slug field
1.4.8
23 Dec 20251.4.7
14 Dec 2025Prevent stateless refresh with database configured
saml: Remove signature validation bypass
Add index on organizations slug field
1.4.6
9 Dec 2025- Breaking
admin: Prevent impersonating admins by default
Add
ctx.isTrustedDomainhelperDrizzle pg supports JSON
Features
Add
ctx.isTrustedDomainhelperDrizzle pg supports JSON
Add Refresh Token Support to Kick OAuth Provider
- Breaking
admin: Prevent impersonating admins by default
Bug Fixes
Avoid throwing on client side
Export organization plugin types
Prematurely deleting active sessions in secondary storage
Pathname should be normalized when basePath is set to root
Make sure non-chunked session data cookie is cleared
Array field handling across adapters and schema generation
StoreStateStrategy default to database if provided
Should always remove 2FA verification token after successful verification
cli:
secretgenerates emptycli: Deduplicate drizzle schema relationships
core: Allow returning null in getUserInfo in provider options
1.4.5
3 Dec 20251.4.4
30 Nov 2025Reading the note…
1.4.3
26 Nov 2025Reading the note…
1.4.2
25 Nov 2025Reading the note…
1.4.1
22 Nov 2025Reading the note…
1.4.0
22 Nov 2025- Deprecated
Deprecate
options.advanced.generateIdtype - Removed
Remove deprecated
ssoClientexport from client plugin - Removed
Remove deprecated forgetPassword endpoints
Features
Bypass transaction with async local storage
Add
returnHeaderstogetSessionWaku integration guide
Add support for custom callback for authorization url
Additional fields on account
Add support for custom callback for token url
Enum support for drizzle schema
Nextjs 16 guide
Add
storeStateStrategyEnhance PostgreSQL support for non-public schema by respecting
search_pathconfigurationAdd polar oauth provider
Session store chunking
Stateless session management
Esm only
Implement automatic server-side IP detection
Async import in
getAdapterImproved API error page
Add request state
Add support for uuids
Auto-index CLI
Expose additional http methods
better-auth/minimalAdd support for custom response status codes
Support pass raw function as middleware
Support pass raw function as middleware "
Adapter join support
Refactor fetch plugins config disableDefaultFetchPlugins to include userAgentPlugin
Utilize database joins across better-auth
Support storing account data in a cookie
Adding support for SCIM provisioning
Add support for organization slug on list members
cli: Add mcp client configs from
clicli: Support Cloudflare Workers virtual module imports
core: Replace ZodType with
@standard-schema/spec
Bug Fixes
Device authorization plugin
Device authorization plugin
Reduce any type in generator.ts
Refresh secondary storage sessions on user update
Allow disable database transaction
Wrap
Math.flooraround the division when calculating TTLTtl sessions list expiration
Tests failing due to clock drift
Refresh secondary storage sessions on user update
Refresh secondary storage sessions on user update
Support compressed ipv6 format
Add required constraint to slug filed in org plugin
Use consistent messaging on
requestPasswordResetCookie size limit shouldn't throw error
Handle symbols in proxy get trap to prevent TypeError
Ttl for rate limited secondary storage
Properly encode callback url for email verificaiton
Session update database hook should expect partial session type
- Deprecated
Deprecate
options.advanced.generateIdtype Api keys should properly check if a request is from client or server
Refactor account deletion functions to trigger database hooks
Improve username transformation logic
Ensure falsy values are valid default values
Import
node:async_hooksdirectlyUndeclared variable reference on docs
Argument
whereof type TwoFactorWhereUniqueInput needs at least one ofidargumentsMobile ai search responsiveness
Type compatibility with
exactOptionalPropertyTypes- Removed
Remove deprecated
ssoClientexport from client plugin GetAcccessToken refresh should properly refresh when oauth tokens are encrypted
Resolve custom URL scheme origin matching with wildcards
Respect additionalFields returned config for user data when setting cookie cache
Correct type
HookEndpointContextandInternalContextAdd optional chaining for process.platform
User-agent requirement when fetching from clients
Unused peer dependency
Rename
shatobranchand made itcanaryby default- Removed
Remove deprecated forgetPassword endpoints
Respect onAPIError.errorURL in OAuth callback flow
Call db hooks when calling
deleteUserAllow user update to handle additional fields and validation
Missing email validation
Urls without protocol shouldn't be able to satisfy a wildcard origin
Use standard validator
Add
undefinedtype for optional property typesType mismatch for 'banned' on UserWithRole
Delete duplicate email existence check in changeEmail endpoint
Add missing userId in listAccounts response
Trigger use session on revoke sessions
stringinference for additionalFieldsUnsanitized endpoints provided dates will cause DB insert failure
Update hooks return should merge with original data
Dont trigger session refresh on magic-link sign-in
Treat generateId "serial" as numeric ID and correct UUID column types across adapters
Validate baseURL protocol and improve error messages
Use
ctxoverrequestin plugin optionsUse
identityinstead ofserialfor pg schemaZoom refresh token
/change-emailshould trigger session signalResolve SESSION_IS_NOT_FRESH error with cookieCache
Preserve provided string IDs in the MongoDB adapter when they are not valid ObjectId
GenericOAuth and SSO ignore discoveryUrl for authorization
Remove active session requirement for change email verification
api-key: Cascade api keys on user deletion
api-key: Cascade api keys on user deletion
api-key: Calling client on server side
api-key: Correct refill interval time calculation
api-key: Shouldn't issue api key a mock session by default
api-key: Don't update the
lastRequestwhen calling updateApiKeyapi-key: Remove incorrect usage tracking in updateApiKey
- Deprecated
cli: DefaultNow is deprecated in schema for Drizzle with SQLite
cli: Timestamp in schema for Drizzle with SQLite
cli: Move type dependencies to devDependencies
core: Correctly set typesVersions paths
organization: Decouple client and server permission checks
organization: Decouple client and server permission checks
organization: Membership check for organizations with large member counts
- Removed
organization: Remove
autoCreateOnSignUpoption as it's not implemented yet organization: Pass
ctxto DB hooksorganization: Allow passing id through
beforeCreateOrganizationorganization: Prevent empty name and slug in create/update
organization: Certain parameters not showing in client types
organization: Prevent duplicate slug on organization update
organization: Compatibility with declaration on tsconfig.json
organization: Compatibility with
exactOptionalPropertyTypesorganization: Typecheck node exceeds the maximum length
organization: Fix the schema type
organization: RemoveTeamMember breaks for prisma
organization: Correct migration order when dynamicAccessControl is enabled
organization: Deleting member from org doesn't delete them from teams
organization: All endpoints should properly infer additional fields
organization: ActiveOrgId no longer inferred after enabling dynamic AC
passkey: Remove
emailfrom querypasskey: Atom listeners not working
passkey: Passkey breaks with
throw: truepasskey: Wrong Session type being used on passkey
passkey: Filter delete passkey with userId
passkey: Ensure addPasskey returns passkey data instead of undefined
sso: Safe json parsing for saml/oidc configs
sso: Prevent duplicate SSO provider creation with same providerId
sso: OIDC scopes should fallback to provider scopes
sso: Add deprecated flag to the old
ssoplugin exportsso: Move oauth2-mock-server dep into devDependencies for sso package
sso: Use the internalAdapter for user queries to avoid skipping database hooks
sso: Respect disableImplicitSignUp in SAML callback
sso: Prevent server instance from leaking to client
sso: Export SSOProvider type
stripe: OnCustomerCreate should be called even if update user isn't returned
stripe: Update with an existing subscription
stripe: Sync customer email on db change
stripe:
getCustomerCreateParamsnot actually being calledstripe: Throw error if event failed to be constructed
stripe: Check for reference IDs inside during Stripe reference validation
stripe: Stripe error codes should be returned from the plugin
stripe: Remove TS error suppression updating getCheckoutSessionParams
stripe: Prevent duplicate customer creation on signup
stripe: Return updated subscription in onSubscriptionUpdate callback
stripe: Throw error if query.referenceId is defined
stripe: Cancel subscription fails with Prisma
types: Include null in getSession return type
Performance
Improve type
AuthLazy load create telemetry
Lazy load create telemetry "
1.3.34
29 Oct 2025Reading the note…
1.3.33
28 Oct 2025Reading the note…
1.3.32
25 Oct 2025Reading the note…
1.3.31
25 Oct 2025Reading the note…
1.3.30
24 Oct 2025Reading the note…
1.3.29
22 Oct 2025Reading the note…
1.3.28
19 Oct 2025Reading the note…
1.3.27
7 Oct 2025Reading the note…
1.3.26
3 Oct 2025Reading the note…
1.3.25
2 Oct 2025Reading the note…
1.3.24
30 Sep 2025Reading the note…
1.3.23
28 Sep 2025Reading the note…
1.3.22
28 Sep 2025Reading the note…
1.3.18
25 Sep 2025Reading the note…
1.3.17
24 Sep 2025Reading the note…
1.3.16
23 Sep 2025Reading the note…
1.3.15
23 Sep 2025Reading the note…
1.3.14
22 Sep 2025Reading the note…
1.3.13
19 Sep 2025Reading the note…
1.3.12
18 Sep 2025Reading the note…
1.3.11
16 Sep 2025Reading the note…
1.3.10
15 Sep 2025Reading the note…
1.3.9
8 Sep 2025Reading the note…
1.3.8
4 Sep 2025Reading the note…
1.3.7
17 Aug 2025Reading the note…
1.3.6
13 Aug 2025Reading the note…
1.3.5
11 Aug 2025Reading the note…
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.