Skip to content

deps: upgrade Better Auth to 1.6.30 - #156

Open
adelrodriguez wants to merge 1 commit into
mainfrom
t3code/upgrade-better-auth-1-6-30
Open

deps: upgrade Better Auth to 1.6.30#156
adelrodriguez wants to merge 1 commit into
mainfrom
t3code/upgrade-better-auth-1-6-30

Conversation

@adelrodriguez

Copy link
Copy Markdown
Collaborator

We wanted to move to Better Auth 1.7, but the Convex component blocks it: @convex-dev/better-auth@0.12.5 (the latest release) pins its peer dependency to better-auth >=1.6.11 <1.7.0, and its adapter doesn't implement the atomic consumeOne/incrementOne operations that 1.7 requires — forcing 1.7 would break authentication in the Convex backend at runtime. Support is in progress upstream in get-convex/better-auth#430 but hasn't been released.

So this takes us to 1.6.30 instead, the latest release the Convex component supports, picking up the patch and security fixes shipped since 1.6.25. better-auth, @better-auth/expo, and @better-auth/drizzle-adapter move together in packages/auth.

When a @convex-dev/better-auth release supports >=1.7.1, the remaining 1.7 migration for this repo is small: we use none of the plugins with breaking changes (no oidcProvider, two-factor, SCIM, SSO, or MCP). The main items will be the Expo integration's move to async SecureStore reads and the Convex account-issuer data migration.

Verified with a clean bun install (no peer warnings) and a passing adamantite check; the lockfile diff touches only Better Auth packages and their transitive dependencies (better-call, rou3, @better-auth/utils).

Changes made by Claude Fable 5 via Claude Agent SDK.

🤖 Generated with Claude Code

Latest release compatible with @convex-dev/better-auth, which pins
better-auth <1.7.0. The 1.7 upgrade is blocked upstream until
get-convex/better-auth#430 lands.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
init Ready Ready Preview Aug 27, 2026 1:18pm
init-docs Ready Ready Preview Aug 27, 2026 1:18pm

Request Review

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes Reviewed the coordinated Better Auth patch upgrade, its resolved dependency graph, and its authentication consumers.

  • Package versions: Moves better-auth, @better-auth/expo, and @better-auth/drizzle-adapter together from 1.6.25 to 1.6.30 in @init/auth.

  • Resolved graph: Updates the Better Auth package family and the expected better-call, rou3, and nested @better-auth/utils dependencies in bun.lock.

  • Compatibility: Keeps the Convex adapter within its declared peer range and requires no schema, migration, or configuration change for the Better Auth surfaces used by the template.

Pullfrog  | View workflow run | Using GPT Sol𝕏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant