v1.5.6
🚀 Features
- Agent auth plugin - by @Bekacru in https://github.com/better-auth/better-auth/issues/8696 <samp>(a0b53)</samp>
- core: Add experimental opentelemetry instrumentation - by @jonathansamines and @bytaesu in https://github.com/better-auth/better-auth/issues/8027 <samp>(1ed42)</samp>
- email-otp: Add
resendStrategyoption to reuse existing OTP - by @bytaesu in https://github.com/better-auth/better-auth/issues/8560 <samp>(98c8e)</samp> - magic-link: Add request metadata to sendMagicLink - by @mrgrauel in https://github.com/better-auth/better-auth/issues/8571 <samp>(cb240)</samp>
- mongo-adapter: Store UUIDs as native BSON UUID - by @bytaesu in https://github.com/better-auth/better-auth/issues/8681 <samp>(d1bff)</samp>
- oauth-provider: Public client prelogin endpoint - by @dvanmali in https://github.com/better-auth/better-auth/issues/8214 <samp>(a0eb1)</samp>
- organization: Explicit
organizationIdin team endpoints - by @xiaoyu2er and @himself65 in https://github.com/better-auth/better-auth/issues/5062 <samp>(8f470)</samp> - social-provider: Add wechat social provider - by @Eric-Song-Nop, Claude and @himself65 in https://github.com/better-auth/better-auth/issues/5189 <samp>(c4402)</samp>
- stripe: Allow customizable
prorationBehaviorper plan - by @bytaesu in https://github.com/better-auth/better-auth/issues/8525 <samp>(98cea)</samp> - test-utils: Export adapter test suites from
@better-auth/test-utils/adapter- by @bytaesu in https://github.com/better-auth/better-auth/issues/8564 <samp>(6be0f)</samp> - two-factor: Add
twoFactorPagein config - by @wuzgood98 in https://github.com/better-auth/better-auth/issues/5329 <samp>(4f41b)</samp>
🐞 Bug Fixes
- Handle
skipOriginCheckarray - by @jslno in https://github.com/better-auth/better-auth/issues/8582 <samp>(331c4)</samp> - Prevent revoked sessions from being restored via database fallback - by @bytaesu in https://github.com/better-auth/better-auth/issues/8708 <samp>(d4efa)</samp>
- api:
- Return Response for HTTP request contexts - by @gustavovalverde in https://github.com/better-auth/better-auth/issues/7521 <samp>(9e3e8)</samp>
- client:
- Handle
throw:truein session refresh - by @bytaesu in https://github.com/better-auth/better-auth/issues/8610 <samp>(275ca)</samp>
- Handle
- core:
- Prioritize generateId "uuid" over adapter customIdGenerator - by @bytaesu in https://github.com/better-auth/better-auth/issues/8679 <samp>(fc0bc)</samp>
- docs:
- Improve AI chat security and cleanup - by @himself65 in https://github.com/better-auth/better-auth/issues/8597 <samp>(5c0c8)</samp>
- Add missing Encore icon to sidebar icons - by @himself65 in https://github.com/better-auth/better-auth/issues/8663 <samp>(cd5b8)</samp>
- electron:
- Handle safeStorage encryption failures gracefully - by @jslno in https://github.com/better-auth/better-auth/issues/8530 <samp>(04766)</samp>
- oauth-provider:
- Support prompt=none - by @dvanmali in https://github.com/better-auth/better-auth/issues/8554 <samp>(812fd)</samp>
- Improve allowed paths for oauth_query for client plugin - by @dvanmali in https://github.com/better-auth/better-auth/issues/8320 <samp>(ccded)</samp>
- Fix dist declaration type errors - by @gustavovalverde in https://github.com/better-auth/better-auth/issues/8701 <samp>(ec79f)</samp>
- organization:
- Filter null organizations in listUserInvitations - by @raihanbrillmark and Raihan Sharif in https://github.com/better-auth/better-auth/issues/8694 <samp>(a62cb)</samp>
- sso:
- Use namespace import for samlify to fix ESM compatibility - by @himself65 in https://github.com/better-auth/better-auth/issues/8697 <samp>(71f70)</samp>
- stripe:
- Replace
{CHECKOUT_SESSION_ID}placeholder in success callbackURL - by @bytaesu in https://github.com/better-auth/better-auth/issues/8568 <samp>(32704)</samp> - Improve organization customer search by adding customerType check - by @bytaesu in https://github.com/better-auth/better-auth/issues/8609 <samp>(74ec7)</samp>
- Replace
View changes on GitHub
Fetched May 1, 2026
