chore: sync upstream v1.6.5 + bump @btst to v2.2.2#41
Draft
cursor[bot] wants to merge 50 commits into
Draft
Conversation
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
…ter-auth#9072) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
…r-auth#8389) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
Co-authored-by: leonardo2204 <1509421+leonardo2204@users.noreply.github.com> Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
…gin (better-auth#8982) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: Taesu <bytaesu@gmail.com> Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
better-auth#8926) Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
…lidation grep -coP outputs "0" to stdout on no matches but exits 1, causing the || echo 0 fallback to append a second "0". The resulting "0\n0" value fails the -lt integer comparison. Use || true instead since grep -c already outputs the correct count.
…orization code validation (better-auth#9118)
…on (better-auth#7231) Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
…h#9109) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Taesu <bytaesu@gmail.com> Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
…ter-auth#9078) Co-authored-by: Taesu <bytaesu@gmail.com> Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
…ns (better-auth#9145) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
…better-auth#9165) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Signed-off-by: Gautam Manchandani <manchandanigautam@gmail.com> Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
* Add tests reproducing GHSA-xr8f-h2gw-9xh6 * Fix GHSA-xr8f-h2gw-9xh6 * Move clientPrivilege assertion to shared helper * chore: add oauth-provider changeset for GHSA-xr8f-h2gw-9xh6 --------- Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Weekly upstream sync with
better-auth/better-authv1.6.5 (from v1.6.2).Upstream changes included (v1.6.3 → v1.6.5)
fix: honor forceAllowId UUIDs on postgres adapters(fix: honor forceAllowId UUIDs on postgres adapters better-auth/better-auth#9068)fix(two-factor): revert enforcement broadening(fix(two-factor): revert enforcement broadening from #9122 better-auth/better-auth#9205)fix(two-factor): updated backup codes respect storeBackupCodes option(fix(two-factor): updated backup codes respectstoreBackupCodesoption better-auth/better-auth#7231)fix(client): trigger $sessionSignal for session-rotating endpoints(fix(client): trigger $sessionSignal for session-rotating endpoints better-auth/better-auth#9087)fix(client): prevent isMounted race condition causing many rps(fix(client): preventisMountedrace condition causing many rps better-auth/better-auth#9078)fix(auth): harden dynamic baseURL resolution(fix(auth): harden dynamic baseURL resolution better-auth/better-auth#9131)fix: resolve dynamic baseURL for direct auth.api calls(fix: resolve dynamic baseURL for directauth.apicalls better-auth/better-auth#9113)fix(stripe): prevent prototype pollution via user-supplied metadata(fix(stripe): prevent prototype pollution via user-supplied metadata better-auth/better-auth#9164)fix(oauth-provider): graceful DCR override for unauthenticated confidential clients(fix(oauth-provider): graceful DCR override for unauthenticated confidential clients better-auth/better-auth#9123)chore(adapters): require patched drizzle-orm and kysely peer versions(chore(adapters): require patched drizzle-orm and kysely peer versions better-auth/better-auth#9165)@BTST changes
@btst/*packages from2.2.1→2.2.2(patch bump — pure upstream sync, no new @BTST features)scripts/sync-upstream.tsHEADER_COMMENT to prevent Biome lint failures on future syncsConflicts resolved
docs/content/blogs/1-5.mdx— accepted upstreampnpm-lock.yaml— accepted upstream, re-ranpnpm install --no-frozen-lockfileCI checks
pnpm lint(Biome)pnpm lint:spell(cspell)pnpm format:check(remark)pnpm lint:types(attw + tsc)pnpm --filter "@btst/*" exec tsc --noEmit@btst/dbtests — all pass@btst/adapter-memorytests — all pass@btst/clischema-conversion.test.ts— all pass@btst/cligenerate-all-orms.test.ts— 20 tests pass, no snapshot changes@btst/clie2e-cli.test.ts— fails as expected (needs live Postgres + MySQL, CI-only)Post-merge release steps
After merging to main: