v1.7.6
denizsafak/abogenv1.7.6Sep 24, 2026by better-release[bot]
Upgrading?
AI Summary
Version 1.7.6 introduces support for a custom ban message function and a Vercel BotID captcha provider, alongside critical bug fixes for React hydration and database schema validation across multiple adapters. It also adds new CLI commands for on-demand schema validation and resolves issues with OAuth proxy linking.
Key Highlights
- Added `bannedUserMessage` function to provide details like ban reasons during sign-in errors.
- Added Vercel BotID as a captcha provider for protected authentication routes.
- Fixed React hydration mismatches when session or plugin auth queries resolve before component hydration.
- Fixed model identity issues across all adapters (Prisma, Kysely, Drizzle, etc.).
- Fixed schema validation for Cloudflare D1 and SQLite generated primary keys.
New Features
- Support for `bannedUserMessage` function.
- Vercel BotID captcha provider.
- New `check` and `check schema` CLI commands for schema validation.
Full Release Notes
## `better-auth` ### Features - Added support for a `bannedUserMessage` function that receives the banned user, allowing sign-in errors to include details such as the ban reason. ([#11325](https://github.com/better-auth/better-auth/pull/11325)) - Added Vercel BotID as a captcha provider for protected authentication routes. ([#11016](https://github.com/better-auth/better-auth/pull/11016)) ### Bug Fixes - Passwords over `maxPasswordLength` are now rejected with `PASSWORD_TOO_LONG` before hashing or verification. ([#11324](https://github.com/better-auth/better-auth/pull/11324)) - Fixed React hydration mismatches when session or plugin auth queries resolve before streamed components hydrate. ([#11316](https://github.com/better-auth/better-auth/pull/11316)) - Prevented older auth-query responses from overwriting newer results when requests overlap. ([#11376](https://github.com/better-auth/better-auth/pull/11376)) - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) - Fixed schema validation for Cloudflare D1 when the Kysely dialect cannot introspect the database. ([#11366](https://github.com/better-auth/better-auth/pull/11366)) - Fixed social account linking through the OAuth Proxy plugin. ([#11268](https://github.com/better-auth/better-auth/pull/11268)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/better-auth/CHANGELOG.md) ## `@better-auth/kysely-adapter` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) - Fixed schema validation for SQLite-generated primary keys, including `INTEGER PRIMARY KEY` columns without `AUTOINCREMENT`. ([#11374](https://github.com/better-auth/better-auth/pull/11374)) - Fixed schema validation for Cloudflare D1 when the Kysely dialect cannot introspect the database. ([#11366](https://github.com/better-auth/better-auth/pull/11366)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/kysely-adapter/CHANGELOG.md) ## `@better-auth/prisma-adapter` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) - Fixed schema validation for capitalized custom Prisma model names. ([#11319](https://github.com/better-auth/better-auth/pull/11319)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/prisma-adapter/CHANGELOG.md) ## `@better-auth/core` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/core/CHANGELOG.md) ## `@better-auth/drizzle-adapter` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/drizzle-adapter/CHANGELOG.md) ## `@better-auth/memory-adapter` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/memory-adapter/CHANGELOG.md) ## `@better-auth/mongo-adapter` ### Bug Fixes - Fixed model identity when a custom model name matches another schema key. ([#11333](https://github.com/better-auth/better-auth/pull/11333)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/mongo-adapter/CHANGELOG.md) ## `@better-auth/stripe` ### Bug Fixes - Fixed automatic seat updates after an organization resubscribes, even when canceled subscriptions remain in its history. ([#11347](https://github.com/better-auth/better-auth/pull/11347)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/stripe/CHANGELOG.md) ## `auth` ### Features - Added read-only `check` and `check schema` commands to validate your configured adapter schema on demand. ([#11314](https://github.com/better-auth/better-auth/pull/11314)) For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/6bb9dbab0b7f351b44dd929e3254c5962e9f8af1/packages/cli/CHANGELOG.md) ## Contributors Thanks to everyone who contributed to this release: @bytaesu, @davbrito, @rwieruch, @Smidge, @Wadiou, @XXMOHAMED012 **Full changelog:** [`v1.7.5...v1.7.6`](https://github.com/better-auth/better-auth/compare/v1.7.5...v1.7.6)
Related Repositories
public-apis/public-apis★ 491,191
A collective list of free APIs
NousResearch/hermes-agent★ 256,046
The agent that grows with you
yt-dlp/yt-dlp★ 200,216
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,539
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,699
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.