Skip to content

v3.0.0-beta.4

Pre-release
Pre-release

Choose a tag to compare

@lane711 lane711 released this 18 Jun 23:30
· 12 commits to main since this release

Changes

  • fix: Admin seeding now works — rewrote generated seed to use raw SQL (Drizzle was injecting schema columns missing from the migration, causing auth_user has no column named password_reset_token)
  • fix: Admin login now works — seed now creates auth_account record that Better Auth needs for credential verification
  • fix: Auto-generate .dev.vars with BETTER_AUTH_SECRET on project creation (was causing 500 on every auth request)
  • fix: Password hashed with PBKDF2 matching the auth system's expected format
  • chore: npm run deploy shown as the deploy command (replaces wrangler commands in post-install output)
  • chore: --admin-email / --admin-password flags for non-interactive installs

Installation

npm create sonicjs@latest my-app