Skip to content

fix(api-key): match v1.7.1 verification semantics - #113

Draft
salasebas wants to merge 3 commits into
mainfrom
salasebas/fix-api-key-v1-7-1-verification-parity
Draft

fix(api-key): match v1.7.1 verification semantics#113
salasebas wants to merge 3 commits into
mainfrom
salasebas/fix-api-key-v1-7-1-verification-parity

Conversation

@salasebas

Copy link
Copy Markdown
Owner

Summary

  • align scoped and unscoped validator/configuration resolution with Better Auth v1.7.1
  • match permission, expiration, exhaustion, cleanup, persistence-error, and metadata-migration behavior
  • match deferred pure-secondary writes and fallback cache semantics, with focused regressions and updated documentation

Upstream reference

Better Auth v1.7.1 at 2344536054f9164ca5d1670c270d299049ee233e.

Validation

  • BETTER_AUTH_URL=http://localhost:3000 rbenv exec bundle exec rake test — 239 runs, 1,032 assertions, 0 failures/errors
  • rbenv exec bundle exec standardrb
  • git diff --check

Notes

  • HTTP/server-only route visibility is intentionally unchanged.
  • Shared database/Redis-backed integration suites were not run.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
better-auth Ignored Ignored Aug 20, 2026 10:13pm

Regenerate docs parity metadata after the verification documentation changes so the docs CI check sees the current line count.
@salasebas
salasebas force-pushed the salasebas/fix-api-key-v1-7-1-verification-parity branch from f6ba26f to 8f912f6 Compare August 20, 2026 21:22
# Conflicts:
#	packages/better_auth-api-key/README.md
#	packages/better_auth-api-key/lib/better_auth/api_key/adapter.rb
#	packages/better_auth-api-key/lib/better_auth/api_key/routes/verify_api_key.rb
#	packages/better_auth-api-key/lib/better_auth/api_key/validation.rb
#	packages/better_auth-api-key/test/better_auth/api_key/routes/verify_api_key_test.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant