Skip to content

chore: sync upstream v1.6.5 + bump @btst to v2.2.2#41

Draft
cursor[bot] wants to merge 50 commits into
mainfrom
cursor/upstream-release-integration-73de
Draft

chore: sync upstream v1.6.5 + bump @btst to v2.2.2#41
cursor[bot] wants to merge 50 commits into
mainfrom
cursor/upstream-release-integration-73de

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented Apr 17, 2026

Summary

Weekly upstream sync with better-auth/better-auth v1.6.5 (from v1.6.2).

Upstream changes included (v1.6.3 → v1.6.5)

@BTST changes

  • Bumped all 8 @btst/* packages from 2.2.12.2.2 (patch bump — pure upstream sync, no new @BTST features)
  • Fixed trailing spaces in scripts/sync-upstream.ts HEADER_COMMENT to prevent Biome lint failures on future syncs

Conflicts resolved

  • docs/content/blogs/1-5.mdx — accepted upstream
  • pnpm-lock.yaml — accepted upstream, re-ran pnpm install --no-frozen-lockfile

CI checks

  • pnpm lint (Biome)
  • pnpm lint:spell (cspell)
  • pnpm format:check (remark)
  • pnpm lint:types (attw + tsc)
  • pnpm --filter "@btst/*" exec tsc --noEmit
  • @btst/db tests — all pass
  • @btst/adapter-memory tests — all pass
  • @btst/cli schema-conversion.test.ts — all pass
  • @btst/cli generate-all-orms.test.ts — 20 tests pass, no snapshot changes
  • ⚠️ @btst/cli e2e-cli.test.ts — fails as expected (needs live Postgres + MySQL, CI-only)

Post-merge release steps

After merging to main:

git checkout main && git pull
git tag btst-v2.2.2
git push origin btst-v2.2.2
# Then create GitHub Release from that tag
Open in Web View Automation 

gustavovalverde and others added 30 commits April 9, 2026 18:15
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.
…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>
gustavovalverde and others added 20 commits April 14, 2026 08:01
…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>
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.