Skip to content

chore(deps): upgrade to latest stable#238

Merged
onmax merged 3 commits intomainfrom
chore/deps-latest-stable
Mar 1, 2026
Merged

chore(deps): upgrade to latest stable#238
onmax merged 3 commits intomainfrom
chore/deps-latest-stable

Conversation

@onmax
Copy link
Collaborator

@onmax onmax commented Mar 1, 2026

Summary

  • upgrade workspace dependencies to latest stable versions in one branch/PR
  • keep @better-auth/cli on 1.5.0-beta.13 by explicit exception
  • remove obsolete overrides for better-call and reka-ui
  • remove no-longer-needed patches for prisma@5.22.0 and safer-buffer@2.1.2
  • keep only required patch for edge/runtime compatibility:
    • @peculiar/x509@1.14.3

Breaking-Change Fixes Applied

  • Nuxt 4.3 route-rules compatibility updates:
    • route rules alias/template generation updates in module runtime
    • middleware matcher fallback hardening
    • hook typing compatibility adjustments
  • playground auth stack stabilization for preview/runtime compatibility:
    • removed @better-auth/infra server/client plugin usage (dash() / sentinelClient())
    • keeps signup flow reliable on Cloudflare preview worker with origin/referrer checks enabled

Overrides / Patch Cleanup

  • removed pnpm.overrides entries for better-call and reka-ui
  • removed patches/prisma@5.22.0.patch
  • removed patches/safer-buffer@2.1.2.patch
  • verified transitive resolution via pnpm -r why

Docs Updates

  • clarify that auth route rules can be configured under either routeRules or nitro.routeRules
  • document precedence when both are present (nitro.routeRules is used)
  • add trusted-origin guidance for preview environments (*.workers.dev style origins)
  • update API/types docs examples to include nitro.routeRules usage

Validation

  • pnpm lint
  • pnpm typecheck
  • pnpm prepack
  • BETTER_AUTH_SECRET=... pnpm dev:build
  • pnpm test (36 files, 215 tests passed)
  • BETTER_AUTH_SECRET=... pnpm -C playground build
  • pnpm -C docs build

Preview Deploy

  • deployed isolated preview worker (no production routes):
  • used preview D1 database id 73b379be-1532-46f5-9d37-cf783c144d1d
  • account-level D1 create limit was reached (7406), so existing preview D1 was reused and migrated

Browser Signup Verification (agent-browser)

  • opened /register on preview
  • submitted new account with unique email
  • verified success toast and redirect to authenticated /app
  • verified authenticated UI with created user email shown on /app
  • local evidence screenshots:
    • /tmp/better-auth-preview-signup-success-app-final.png
    • /tmp/better-auth-preview-signup-success-app.png

Related

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 1, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@onmax/nuxt-better-auth@238

commit: 8b4d8f2

@onmax onmax merged commit 6633010 into main Mar 1, 2026
2 checks passed
@onmax onmax deleted the chore/deps-latest-stable branch March 1, 2026 10:42
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