chore: sync upstream better-auth v1.6.9 + bump @btst to v2.2.2#42
Draft
cursor[bot] wants to merge 94 commits into
Draft
chore: sync upstream better-auth v1.6.9 + bump @btst to v2.2.2#42cursor[bot] wants to merge 94 commits into
cursor[bot] wants to merge 94 commits into
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#9149) Co-authored-by: Morgan PEYRE <morgan.peyre@brickcode.tech>
…uth#9211) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… is enabled (better-auth#4894) Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
…auth#9293) Co-authored-by: Menachem Hornbacher <mhornbacher@kiddom.co>
….api (better-auth#9244) Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
…etter-auth#5209) Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
…uth#9306) 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>
…eforeCreateInvitation` (better-auth#9253) Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ter-auth#9270) Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ter factory (better-auth#9340) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
…ync files - Fix HEADER_COMMENT and HEADER_COMMENT_WITH_PATCHES templates in sync-upstream.ts to use ' *' instead of ' * ' on blank comment lines (Biome lint compliance) - Re-run sync-upstream.ts to regenerate all vendored files with fixed headers - Fix import organization in kysely-adapter.ts and generators/prisma.ts - Add 'orms' to cspell tech-terms.txt
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 from
better-auth/better-authv1.6.9, covering releases v1.6.6 through v1.6.9 (all bug fix releases).Upstream changes (v1.6.6 → v1.6.9)
partitionedattribute preservation, SSO samlify ESM/CJS compat fix,mapConcurrentutility, various bug fixesmapProfileToUseremail fallback, phone number callback fix, API error header preservation, social providers array of Client IDsbeforeCreateTeam/beforeCreateInvitationid supportChanges in this PR
README.md, accepting upstream for all elsestarsling-ubuntu-24.04→ubuntu-latestine2e.ymlsync-upstream.ts— vendored updated adapter files (drizzle, prisma, memory, mongodb, kysely) and CLI utilities from their standalone packagessync-upstream.tsheader comments — removed trailing spaces from blank*lines in HEADER_COMMENT templates (Biome lint compliance; permanent fix)@btst/*packages from2.2.1→2.2.2(patch bump — pure upstream sync, no new @BTST functionality)ormsto cspell tech-terms.txtpnpm install --no-frozen-lockfileCI results (local)
pnpm lint✅pnpm lint:spell✅pnpm lint:types✅pnpm --filter "@btst/*" exec tsc --noEmit✅pnpm lint:dependencies✅pnpm lint:packages✅pnpm format:check✅@btst/dbtests: 28/28 ✅@btst/adapter-memorytests: 11/11 ✅@btst/clischema-conversion: 7/7 ✅@btst/cligenerate-all-orms: 20/20 ✅@btst/clie2e: expected failures (needs live Postgres/MySQL — CI only)Post-merge release steps
After PR is merged to
main: