better-auth
Features
- Added support for pre-binding device codes to a specific user in the device authorization plugin (#9995)
Bug Fixes
- Fixed headerless session checks (#10053)
- Fixed cookie cache fallback lookup (#9348)
- Fixed
sendVerificationEmailerrors not being surfaced to the client (#8863) - Fixed auth client return types not being emitted correctly in TypeScript declaration builds (#10071)
- Fixed session and account cache cookies being silently dropped when near the browser's per-cookie size limit by splitting them into chunks (#10088)
- Fixed single-use verification flows (such as magic-link) hanging on connection-limited database adapters by reusing active transactions (#10070)
- Fixed the domain not being included when clearing cross-subdomain cookies in the
last-login-methodplugin (#9319) - Fixed the
oauth-popupplugin leaking internal OAuth state keys intoadditionalData(#10067) - Reverted the headerless session check fix (#10074)
For detailed changes, see CHANGELOG
auth
Bug Fixes
- Fixed the
generatecommand not handling a directory path passed to--output(#9564) - Fixed array
additionalFielddefault values not being serialized correctly in the Drizzle schema generator (#10048)
For detailed changes, see CHANGELOG
@better-auth/drizzle-adapter
Bug Fixes
- Fixed password reset tokens not working with the Drizzle MySQL adapter after being consumed (#10081)
For detailed changes, see CHANGELOG
@better-auth/mongo-adapter
Bug Fixes
- Fixed guarded state transitions (token rotation, revocation, two-factor backup-code regeneration, device-code claiming, and organization invitation acceptance) failing on Prisma and on MongoDB servers older than 5.0 (#10086)
For detailed changes, see CHANGELOG
@better-auth/passkey
Bug Fixes
- Fixed invalid OpenAPI output for callback, session, and passkey routes so client generators can consume the schema (#9555)
For detailed changes, see CHANGELOG
@better-auth/scim
Bug Fixes
- Stopped logging SCIM user filter values when listing users (#10087)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
@brone1323, @bytaesu, @ChrisMGeo, @ElGauchooooo, @gustavovalverde, @ping-maxwell, @tsushanth, @Tushar-Khandelwal-2004
Full changelog: v1.6.18...v1.6.19