Skip to content

feat(nuxt-better-auth): request-scoped app session context#140

Merged
onmax merged 19 commits intomainfrom
feat/136-app-session-context
Feb 15, 2026
Merged

feat(nuxt-better-auth): request-scoped app session context#140
onmax merged 19 commits intomainfrom
feat/136-app-session-context

Conversation

@onmax
Copy link
Collaborator

@onmax onmax commented Feb 15, 2026

Summary

  • add server utility
  • memoize session resolution on per request
  • keep and behavior source-compatible by routing through request cache
  • add h3 event context typing for
  • document new server helper and auto-import
  • add tests for memoization, concurrent dedupe, and existing 401/403 behavior

Closes #136

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 15, 2026

Open in StackBlitz

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

commit: cd79dbf

@onmax onmax merged commit d22b511 into main Feb 15, 2026
3 checks passed
@onmax onmax deleted the feat/136-app-session-context branch February 15, 2026 11:25
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.

feat(nuxt-better-auth): expose built-in event-level app session context

1 participant