Skip to content

Fix: add @better-auth/drizzle-adapter, bump better-auth to v1.5.3#8

Merged
teallarson merged 1 commit intomainfrom
teallarson/fix-screenshot-issue
Mar 4, 2026
Merged

Fix: add @better-auth/drizzle-adapter, bump better-auth to v1.5.3#8
teallarson merged 1 commit intomainfrom
teallarson/fix-screenshot-issue

Conversation

@teallarson
Copy link
Copy Markdown
Collaborator

Summary

  • better-auth v1.5.x split the Drizzle adapter into a separate package (@better-auth/drizzle-adapter)
  • Templates pinned to ^1.2.7 would resolve to a version that re-exports from the new package but doesn't install it, causing a Module not found: Can't resolve '@better-auth/drizzle-adapter' build error
  • Adds @better-auth/drizzle-adapter: ^1.5.3 and bumps better-auth to ^1.5.3 in both ai-sdk and mastra templates

Test plan

  • Scaffold ai-sdk template and run bun run build — should compile without module-not-found errors
  • Scaffold mastra template and run bun run build — same

🤖 Generated with Claude Code

better-auth v1.5.x split the Drizzle adapter into a separate peer
dependency (@better-auth/drizzle-adapter). Add it explicitly and bump
better-auth to ^1.5.3 in both ai-sdk and mastra templates to fix the
Module not found build error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@teallarson teallarson marked this pull request as ready for review March 4, 2026 19:35
@teallarson teallarson merged commit 23209f3 into main Mar 4, 2026
@teallarson teallarson deleted the teallarson/fix-screenshot-issue branch March 4, 2026 19:35
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