v1.7.5 Release
This release adds database schema name support for direct PostgreSQL connections and includes multiple bug fixes across better-auth packages, including improvements to server-side logging, database migrations, index validation, and adapter initialization.
better-auth
Features
- Added
database.schemaNamesupport for direct PostgreSQL connections. (#11203)
Bug Fixes
- Improved server-side logging for Cloudflare Turnstile verification failures. (#11283)
- Fixed PostgreSQL migrations incorrectly identifying tables and views across schemas. (#11270)
- Fixed MySQL index validation for existing string columns. (#11272)
- Removed the unused optional
better-sqlite3peer dependency to prevent installation conflicts. (#11209)
For detailed changes, see CHANGELOG
@better-auth/core
Features
- Added
database.schemaNamesupport for direct PostgreSQL connections. (#11203)
Bug Fixes
- Fixed database option type inference outside Cloudflare Workers. (#11290)
For detailed changes, see CHANGELOG
@better-auth/cimd
Bug Fixes
- Fixed unnecessary pacing of consecutive CIMD OAuth requests when metadata cannot be cached. (#11161)
For detailed changes, see CHANGELOG
@better-auth/drizzle-adapter
Bug Fixes
- Fixed lazy database initialization when using Drizzle relations. (#11263)
For detailed changes, see CHANGELOG
@better-auth/kysely-adapter
Features
- Added
database.schemaNamesupport for direct PostgreSQL connections. (#11203)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
@bytaesu, @dshukertjr, @siam923
Full changelog: v1.7.4...v1.7.5
Source: original entry ↗
More from Better Auth
Follow Better Auth to get its new changes in your feed and email digest.
Magic Link upgrade and critical security fixes
Better Auth v1.7.7 addresses a critical Magic Link account-takeover vulnerability and multiple security issues including OAuth/SAML sign-in bugs and missing JSON headers in error responses. Magic Link requires a server upgrade with verification storage coordination, but no database migration is needed.
v1.7.6
Better Auth v1.7.6 adds support for customizable banned user messages and Vercel BotID captcha provider for authentication. This release fixes critical bugs including React hydration mismatches, password length validation, overlapping auth query requests, model identity issues across multiple adapters, and OAuth social account linking.
Fixed database option type inference for non-Cloudflare projects
Fixed database option type inference for projects that do not use Cloudflare Workers, improving compatibility for diverse deployment environments.