NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4985 most downloaded on npm
The most comprehensive authentication framework for TypeScript.
Latest stable
1.7.20
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
957 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Resolves tsconfig references for path aliases - by @ericc-ch in https://github.com/better-auth/better-auth/issues/3764 (c5d10)
$ imports in CLI generate cmd - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4042 <samp>(9a6a8)</samp>Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add disableRedirect to linkSocial - by @frectonz in https://github.com/better-auth/better-auth/issues/4014 (00f4f)
disableRedirect to linkSocial - by @frectonz in https://github.com/better-auth/better-auth/issues/4014 <samp>(00f4f)</samp>$ imports in CLI generate cmd - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4042 <samp>(9a6a8)</samp>pg and mysql import in drizzle schema generator - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3974 <samp>(68f00)</samp>pg and mysql import in drizzle schema generator - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3974 <samp>(19933)</samp>process referenced on non-nodejs runtime - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4007 <samp>(aa19d)</samp>Resolves tsconfig references for path aliases - by @ericc-ch in https://github.com/better-auth/better-auth/issues/3764 (c5d10)
$ imports in CLI generate cmd - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4042 <samp>(9a6a8)</samp>Use wider types for database hooks payloads - by @Bekacru (ed57f)
Add disableRedirect to linkSocial - by @frectonz in https://github.com/better-auth/better-auth/issues/4014 (ff405)
disableRedirect to linkSocial - by @frectonz in https://github.com/better-auth/better-auth/issues/4014 <samp>(ff405)</samp>disableRedirect to linkSocial - by @frectonz in https://github.com/better-auth/better-auth/issues/4014 <samp>(00f4f)</samp>pg and mysql import in drizzle schema generator - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3974 <samp>(19933)</samp>process referenced on non-nodejs runtime - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4007 <samp>(aa19d)</samp>process referenced on non-nodejs runtime - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/4007 <samp>(8023a)</samp>email-otp: Add check verification otp endpoint - by @jasongerbes in https://github.com/better-auth/better-auth/issues/1149 (95f59)
pg and mysql import in drizzle schema generator - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3974 <samp>(68f00)</samp>Nothing published for this version
Prevent static nodejs imports and lazy import for non-nodejs env - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3947 (f6b57)
Allow getUserInfo to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 (722bc)
getUserInfo to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 <samp>(722bc)</samp>client to getAdditionalUserInfoClaim callback - by @grant0417 in https://github.com/better-auth/better-auth/issues/3790 <samp>(9aebc)</samp>ctx in middleware - by @himself65 in https://github.com/better-auth/better-auth/issues/3783 <samp>(d313d)</samp>exactOptionalPropertyTypes enabled in ts-config - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3769 <samp>(32662)</samp>basic auth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3753 <samp>(fc677)</samp>Added --yes for generate/migrate, deprecated --y - by @nktnet1 in https://github.com/better-auth/better-auth/issues/3542 (e11c5)
generateId callback to imply database-generated ID - by @aleclarson in https://github.com/better-auth/better-auth/issues/3723 <samp>(b2722)</samp>getUserInfo to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 <samp>(84b5d)</samp>client to getAdditionalUserInfoClaim callback - by @grant0417 in https://github.com/better-auth/better-auth/issues/3790 <samp>(b2ac8)</samp>loginHint to Microsoft oauth URL - by @widavies in https://github.com/better-auth/better-auth/issues/3663 <samp>(29c0d)</samp>ctx in middleware - by @himself65 in https://github.com/better-auth/better-auth/issues/3783 <samp>(1bbdc)</samp>exactOptionalPropertyTypes enabled in ts-config - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3769 <samp>(24540)</samp>--yes option does not work on @better-auth/cli generate - by @phanect in https://github.com/better-auth/better-auth/issues/3749 <samp>(2d8d0)</samp>allowUserToCreateOrganization to support custom fields - by @TimurBas in https://github.com/better-auth/better-auth/issues/3600 <samp>(7fa90)</samp>basic auth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3753 <samp>(669ce)</samp>isUsernameAvailable should validate usernames - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3680 <samp>(e60f7)</samp>isUsernameAvailable should validate usernames " - by @Bekacru in https://github.com/better-auth/better-auth/issues/3680 and https://github.com/better-auth/better-auth/issues/3730 <samp>(4d85d)</samp>Remove deep array merge when merging hooks context - by @Adityakk9031 in https://github.com/better-auth/better-auth/issues/3160 (f3636)
Add telemetry - by @frectonz, Kinfe123 and @himself65 in https://github.com/better-auth/better-auth/issues/3822 (2915e)
Remove revoked session from active sessions list - by @himself65 in https://github.com/better-auth/better-auth/issues/3820 (c956a)
basic auth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3753 <samp>(fc677)</samp>generic-oauth: Set account id from mapped user fields when creating account - by @charlietlamb in https://github.com/better-auth/better-auth/issues/36
Allow getUserInfo to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 (722bc)
getUserInfo to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 <samp>(722bc)</samp>client to getAdditionalUserInfoClaim callback - by @grant0417 in https://github.com/better-auth/better-auth/issues/3790 <samp>(9aebc)</samp>Support multiple aud for apple oauth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3710 (c7267)
ctx in middleware - by @himself65 in https://github.com/better-auth/better-auth/issues/3783 <samp>(d313d)</samp>exactOptionalPropertyTypes enabled in ts-config - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3769 <samp>(32662)</samp>--yes option does not work on @better-auth/cli generate - by @phanect in https://github.com/better-auth/better-auth/issues/3749 <samp>(2d8d0)</samp>allowUserToCreateOrganization to support custom fields - by @TimurBas in https://github.com/better-auth/better-auth/issues/3600 <samp>(7fa90)</samp>isUsernameAvailable should validate usernames - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3680 <samp>(e60f7)</samp>isUsernameAvailable should validate usernames " - by @Bekacru in https://github.com/better-auth/better-auth/issues/3680 and https://github.com/better-auth/better-auth/issues/3730 <samp>(4d85d)</samp>Added listMembers API with pagination, sorting, and filtering.
freeTrialCast dates from db to Date when using date methods - by @erquhart in https://github.com/better-auth/better-auth/issues/3611 (4094b)
List organization memebrs with pagination and filter queries - by @Bekacru in https://github.com/better-auth/better-auth/issues/3581 (7a6bf)
cli: Added --yes for generate/migrate, deprecated --y - by @nktnet1 in https://github.com/better-auth/better-auth/issues/3542 (e11c5)
sso: Support disabling setting email verified from a provider - by @Bekacru in https://github.com/better-auth/better-auth/issues/3551 (dea64)
Improve setting active org performance - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3497 (bc88a)
Changed the Twitter provider to use "post" authentication instead of "basic" when validating the authorization code - by @dagmawibabi in https://githu
Changed the Twitter provider to use "post" authentication instead of "basic" when validating the authorization code - by @dagmawibabi in https://githu
Sveltekit cookie helper plugin - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3049 (4e386)
sendOnSignIn option to make sending verification link in sign in route explicit - by @kmate19 in https://github.com/better-auth/better-auth/issues/2422 <samp>(991e2)</samp>inferAuth to infer plugin types and more on the client without needing client plugins - by @Bekacru in https://github.com/better-auth/better-auth/issues/3313 <samp>(378eb)</samp>rememberMe option to signUpEmail - by @aleclarson in https://github.com/better-auth/better-auth/issues/3325 <samp>(1c6a1)</samp>requireName to enforce name on keys - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3129 <samp>(79f5f)</samp>listUserInvitations adds the ability to list all invitations for a given user - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3121 <samp>(3547c)</samp>image option to signUpEmail types and schema - by @acusti in https://github.com/better-auth/better-auth/issues/3357 <samp>(78351)</samp>/remove-user is invalid - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3271 <samp>(32d83)</samp>ctx to user create db hook - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2521 <samp>(65152)</samp>useNumberId is enabled - by @ismi-abbas in https://github.com/better-auth/better-auth/issues/3228 <samp>(12e15)</samp>useNumberId is enabled - by @ismi-abbas in https://github.com/better-auth/better-auth/issues/3228 <samp>(4a5d7)</samp>+ - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3303 <samp>(8e7ee)</samp>refresh_token_expires_in field - by @0xCodeMaieutics in https://github.com/better-auth/better-auth/issues/3167 <samp>(9bf74)</samp>unknown - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3243 <samp>(b08d1)</samp>callbackURL option to signInUsername - by @aleclarson in https://github.com/better-auth/better-auth/issues/3324 <samp>(63921)</samp>*No significant changes* ##### View changes on GitHub
No significant changes
Add an option to encrypt oauth tokens by default - by @Bekacru in https://github.com/better-auth/better-auth/issues/2552 (7d034)
ctx to user create db hook - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2521 <samp>(65152)</samp>requireName to enforce name on keys - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3129 (79f5f)
requireName to enforce name on keys - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3129 <samp>(79f5f)</samp>listUserInvitations adds the ability to list all invitations for a given user - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3121 <samp>(3547c)</samp>image option to signUpEmail types and schema - by @acusti in https://github.com/better-auth/better-auth/issues/3357 <samp>(78351)</samp>Add rememberMe option to signUpEmail - by @aleclarson in https://github.com/better-auth/better-auth/issues/3325 (1c6a1)
rememberMe option to signUpEmail - by @aleclarson in https://github.com/better-auth/better-auth/issues/3325 <samp>(1c6a1)</samp>+ - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3303 <samp>(8e7ee)</samp>refresh_token_expires_in field - by @0xCodeMaieutics in https://github.com/better-auth/better-auth/issues/3167 <samp>(9bf74)</samp>callbackURL option to signInUsername - by @aleclarson in https://github.com/better-auth/better-auth/issues/3324 <samp>(63921)</samp>Add sendOnSignIn option to make sending verification link in sign in route explicit - by @kmate19 in https://github.com/better-auth/better-auth/issues
sendOnSignIn option to make sending verification link in sign in route explicit - by @kmate19 in https://github.com/better-auth/better-auth/issues/2422 <samp>(991e2)</samp>inferAuth to infer plugin types and more on the client without needing client plugins - by @Bekacru in https://github.com/better-auth/better-auth/issues/3313 <samp>(378eb)</samp>Add encryption for OTPs and other verification information - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3164 (00d1e)
/remove-user is invalid - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3271 <samp>(32d83)</samp>jwt: Allow to generate JWKS with other algorithm than the default one - by @LightTab2 in https://github.com/better-auth/better-auth/issues/3219 (f9b19
Sveltekit cookie helper plugin - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3049 (4e386)
useNumberId is enabled - by @ismi-abbas in https://github.com/better-auth/better-auth/issues/3228 <samp>(12e15)</samp>useNumberId is enabled - by @ismi-abbas in https://github.com/better-auth/better-auth/issues/3228 <samp>(4a5d7)</samp>unknown - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3243 <samp>(b08d1)</samp>Sveltekit cookie helper plugin - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3049 (4e386)
createSchema if implemented - by @taivo in https://github.com/better-auth/better-auth/issues/3006 <samp>(552ea)</samp>set-auth-token - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3029 <samp>(93d5b)</samp>null type on /get-session when throw:true is set - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3026 <samp>(47547)</samp>Add placeholder URL for type inference in linkSocialAccount response - by @Bekacru in https://github.com/better-auth/better-auth/issues/3199 (c1d4f)
getModelName should apply plural to custom model names - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3084 <samp>(3119c)</samp>api-key: Update should only use by ID - by @Kinfe123 (58919)
Allow passing id in DB hook create - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3048 (97141)
id in DB hook create - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3048 <samp>(97141)</samp>createSchema if implemented - by @taivo in https://github.com/better-auth/better-auth/issues/3006 <samp>(552ea)</samp>set-auth-token - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3029 <samp>(93d5b)</samp>null type on /get-session when throw:true is set - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3026 <samp>(47547)</samp>Support "ne" (not equal) filter in Prisma adapter - by @matteovava in https://github.com/better-auth/better-auth/issues/2993 (c91c6)
Support bun sqlite by default - by @Bekacru in https://github.com/better-auth/better-auth/issues/2551 (62ed1)
forgetPassword APIs to requestPasswordReset - by @Bekacru in https://github.com/better-auth/better-auth/issues/2947 <samp>(eaf80)</samp>Add getCookieCache helper and update session handling - by @Bekacru (5eb3c)
forgetPassword APIs to requestPasswordReset - by @Bekacru in https://github.com/better-auth/better-auth/issues/2947 <samp>(eaf80)</samp>passkey: AAGUID field support - by @s3f5 in https://github.com/better-auth/better-auth/issues/2189 (8e4cd)
stripe: Inconsistency preventing subscription upgrades - by @rgodha24 in https://github.com/better-auth/better-auth/issues/2864 (2fe2b)
Demo build & upgrades - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/2848 (06ca6)
Add promise support for custom user info claims - by @zackify in https://github.com/better-auth/better-auth/issues/2766 (ccb56)
Support bun sqlite by default - by @Bekacru in https://github.com/better-auth/better-auth/issues/2551 (62ed1)
Make update account on signin optional - by @Bekacru in https://github.com/better-auth/better-auth/issues/2350 (89cee)
getActions from client plugins to include clientOptions in get user client config - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2333 <samp>(fb130)</samp>id in create method - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2518 <samp>(79ff4)</samp>getAccessToken should be available on the client - by @BlankParticle in https://github.com/better-auth/better-auth/issues/2662 <samp>(7eb1b)</samp>getModelname - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2647 <samp>(c717d)</samp>getActions from client plugins to include clientOptions in get user client config - by @ping-maxwell in https://github.com/better-auth/better-auth/iss
getActions from client plugins to include clientOptions in get user client config - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2333 <samp>(fb130)</samp>id in create method - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/2518 <samp>(79ff4)</samp>Add default refreshAccessToken for microsoft provider - by @BlankParticle in https://github.com/better-auth/better-auth/issues/2583 (97ea9)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per month.