Skip to content

feat(convex-dev-better-auth): add pr329 cached token rotation patches#43

Merged
ramonclaudio merged 1 commit into
mainfrom
feat/convex-better-auth-pr329-cached-token
May 20, 2026
Merged

feat(convex-dev-better-auth): add pr329 cached token rotation patches#43
ramonclaudio merged 1 commit into
mainfrom
feat/convex-better-auth-pr329-cached-token

Conversation

@ramonclaudio

Copy link
Copy Markdown
Owner

Adds bun, npm, and pnpm patches for get-convex/better-auth#329 — drop the cached JWT when the active sessionId rotates.

You reopened the PR on 2026-05-20 with three repro repos. The user-visible Invalid session ID flicker on /change-password still reproduces in the Expo and TanStack apps even with this patch alone (suggests upstream convex-js holds its own cache), but the React-layer unit tests (convex-better-auth-329-repro) go 6/9 failing → 9/9 passing with the fix. Worth shipping for anyone hitting the bug at the hook layer while the upstream conversation continues.

Patches target @convex-dev/better-auth@0.12.2 (latest on npm). Regenerated dist/react/index.{js,js.map,d.ts.map} from the merged source via tsc --project tsconfig.build.json. Verified clean apply on a fresh 0.12.2 tarball for all three variants.

Adds an Open row pointing to the PR. Pairs naturally with the existing #368 row.

@ramonclaudio ramonclaudio merged commit 232e16e into main May 20, 2026
@ramonclaudio ramonclaudio deleted the feat/convex-better-auth-pr329-cached-token branch May 20, 2026 22:15
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