[PR #9074] [CLOSED] chore: sync main to next #25320

Closed
opened 2026-04-15 22:49:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9074
Author: @better-release[bot]
Created: 4/9/2026
Status: Closed

Base: nextHead: main


📝 Commits (10+)

  • 83ed1fe fix(ci): prevent label explosion on PRs targeting the next branch (#9071)
  • a2fbe07 refactor(ci): simplify release notes to one-line entries (#9067)
  • 41679fa docs: add database table names (#9062)
  • 6ce30cf fix: incorrect operationId in password reset callback endpoint (#9072)
  • f6428d0 fix(open-api): correct get-session nullable schema for OAS 3.1 (#8389)
  • 099ee48 chore(docs): format markdown including mdx files (#9085)
  • d141a3b docs: fix PostgreSQL Prisma native type typo (#9090)
  • 5f84335 feat(stripe): support Stripe SDK v21 and v22 (#9084)
  • 684154d chore: replace z.union with z.xor for permission schemas in admin plugin (#8982)
  • c5066fe fix(stripe): omit quantity for metered prices in checkout and upgrades (#8926)

📊 Changes

220 files changed (+20186 additions, -18627 deletions)

View changed files

.changeset/fix-password-reset-callback-operation-id.md (+5 -0)
.changeset/honest-regions-jam.md (+5 -0)
.changeset/pr-8926.md (+5 -0)
.changeset/pr-9032.md (+5 -0)
.changeset/pr-9084.md (+5 -0)
.changeset/sso-saml-hardening.md (+25 -0)
📝 .github/prompts/release-notes-rewrite.md (+51 -67)
📝 .github/scripts/release-notes.ts (+91 -52)
📝 .github/workflows/auto-label.yml (+7 -1)
📝 .github/workflows/release.yml (+59 -24)
📝 .vscode/settings.json (+2 -1)
📝 CLAUDE.md (+2 -2)
📝 demo/expo/src/app/forgot-password.tsx (+3 -3)
📝 demo/expo/src/app/index.tsx (+2 -2)
📝 demo/nextjs/app/(auth)/forgot-password/page.tsx (+2 -2)
📝 demo/nextjs/components/forms/forgot-password-form.tsx (+10 -10)
📝 demo/nextjs/components/forms/sign-in-form.tsx (+1 -1)
📝 demo/nextjs/package.json (+1 -1)
📝 demo/nextjs/pnpm-lock.yaml (+41 -27)
📝 docs/README.md (+6 -6)

...and 80 more files

📄 Description

Brings stable fixes from main into the next branch.

This PR must be merged by a maintainer using 'Create a merge commit' (not squash, not rebase). This preserves individual fix commits and their verified signatures.

If there are conflicts, resolve them by keeping next's versions for package.json files (next is always ahead of main in version numbers).


Summary by cubic

Syncs fixes and tooling from main into next. Adds Stripe SDK v21/v22 support and a metered‑price checkout fix, hardens SAML in @better-auth/sso, reduces label noise, improves release automation and docs, and updates the dev typecheck command.

  • Bug Fixes

    • auto-label.yml: Skip PRs with base next and actor better-release[bot].
    • OpenAPI: Align password‑reset callback operationId; use OAS 3.1 union for get‑session (type: ["object","null"]).
    • Stripe: Omit quantity for metered prices in checkout and upgrades.
    • Demos/Docs: Rename “forget password” routes to “forgot password” and use authClient.requestPasswordReset; fix PostgreSQL Prisma native type typo.
    • @better-auth/sso (SAML): Unify response processing; fix ACS URL providerId, defaultSSO parsing, and missing encryption fields; complete createSP/createIdP. Note: ACS error redirect codes are now UPPERCASE (e.g. SAML_MULTIPLE_ASSERTIONS).
    • auth CLI: Fix tsconfig path alias resolution for extended configs and mid‑path wildcards.
  • Refactors

    • Release automation: Use one‑line PR titles (prefer PR title), include changeset context and package CHANGELOG links, remove unused dist‑tag arg, fall back to raw notes, and rename release PR to “chore: release v{version}” with standardized title/commit.
    • Stripe: Support Stripe SDK v21 and v22; bump demo to stripe@^22.
    • Admin plugin: Replace z.union with z.xor for permission schemas.
    • Docs/MDX: Formatting pass for consistency; show database table names; disable MDX format‑on‑save in .vscode.
    • Dev docs: Update typecheck command to pnpm typecheck in CLAUDE.md.

Written for commit f32099449e. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/9074 **Author:** [@better-release[bot]](https://github.com/apps/better-release) **Created:** 4/9/2026 **Status:** ❌ Closed **Base:** `next` ← **Head:** `main` --- ### 📝 Commits (10+) - [`83ed1fe`](https://github.com/better-auth/better-auth/commit/83ed1fe3604a2cb20426e76c9eb34a2fc2b22b22) fix(ci): prevent label explosion on PRs targeting the next branch (#9071) - [`a2fbe07`](https://github.com/better-auth/better-auth/commit/a2fbe079f8eccc9dd9d9593f0d7706a6893c765a) refactor(ci): simplify release notes to one-line entries (#9067) - [`41679fa`](https://github.com/better-auth/better-auth/commit/41679fa81795a2305ddf5f70a9cba27ea483f33e) docs: add database table names (#9062) - [`6ce30cf`](https://github.com/better-auth/better-auth/commit/6ce30cf13853619b9022e93bd6ecb956bc32482d) fix: incorrect `operationId` in password reset callback endpoint (#9072) - [`f6428d0`](https://github.com/better-auth/better-auth/commit/f6428d02fcabc2e628f39b0e402f1a6eb0602649) fix(open-api): correct get-session nullable schema for OAS 3.1 (#8389) - [`099ee48`](https://github.com/better-auth/better-auth/commit/099ee48c4147bf0bacbb9cc9ae7ed35bed8f6589) chore(docs): format markdown including mdx files (#9085) - [`d141a3b`](https://github.com/better-auth/better-auth/commit/d141a3b190f710918f7f25298e94d58473a96253) docs: fix PostgreSQL Prisma native type typo (#9090) - [`5f84335`](https://github.com/better-auth/better-auth/commit/5f84335815d75410320bdfa665a6712d3416b04f) feat(stripe): support Stripe SDK v21 and v22 (#9084) - [`684154d`](https://github.com/better-auth/better-auth/commit/684154d3d10072b25a3f07aab7c2c24b43ca5a9e) chore: replace z.union with z.xor for permission schemas in admin plugin (#8982) - [`c5066fe`](https://github.com/better-auth/better-auth/commit/c5066fe5d68babf2376cfc63d813de5542eca463) fix(stripe): omit quantity for metered prices in checkout and upgrades (#8926) ### 📊 Changes **220 files changed** (+20186 additions, -18627 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/fix-password-reset-callback-operation-id.md` (+5 -0) ➕ `.changeset/honest-regions-jam.md` (+5 -0) ➕ `.changeset/pr-8926.md` (+5 -0) ➕ `.changeset/pr-9032.md` (+5 -0) ➕ `.changeset/pr-9084.md` (+5 -0) ➕ `.changeset/sso-saml-hardening.md` (+25 -0) 📝 `.github/prompts/release-notes-rewrite.md` (+51 -67) 📝 `.github/scripts/release-notes.ts` (+91 -52) 📝 `.github/workflows/auto-label.yml` (+7 -1) 📝 `.github/workflows/release.yml` (+59 -24) 📝 `.vscode/settings.json` (+2 -1) 📝 `CLAUDE.md` (+2 -2) 📝 `demo/expo/src/app/forgot-password.tsx` (+3 -3) 📝 `demo/expo/src/app/index.tsx` (+2 -2) 📝 `demo/nextjs/app/(auth)/forgot-password/page.tsx` (+2 -2) 📝 `demo/nextjs/components/forms/forgot-password-form.tsx` (+10 -10) 📝 `demo/nextjs/components/forms/sign-in-form.tsx` (+1 -1) 📝 `demo/nextjs/package.json` (+1 -1) 📝 `demo/nextjs/pnpm-lock.yaml` (+41 -27) 📝 `docs/README.md` (+6 -6) _...and 80 more files_ </details> ### 📄 Description Brings stable fixes from main into the next branch. **This PR must be merged by a maintainer using 'Create a merge commit'** (not squash, not rebase). This preserves individual fix commits and their verified signatures. If there are conflicts, resolve them by keeping next's versions for `package.json` files (next is always ahead of main in version numbers). <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Syncs fixes and tooling from `main` into `next`. Adds Stripe SDK v21/v22 support and a metered‑price checkout fix, hardens SAML in `@better-auth/sso`, reduces label noise, improves release automation and docs, and updates the dev typecheck command. - **Bug Fixes** - `auto-label.yml`: Skip PRs with base `next` and actor `better-release[bot]`. - OpenAPI: Align password‑reset callback `operationId`; use OAS 3.1 union for get‑session (`type: ["object","null"]`). - Stripe: Omit `quantity` for metered prices in checkout and upgrades. - Demos/Docs: Rename “forget password” routes to “forgot password” and use `authClient.requestPasswordReset`; fix PostgreSQL Prisma native type typo. - `@better-auth/sso` (SAML): Unify response processing; fix ACS URL `providerId`, `defaultSSO` parsing, and missing encryption fields; complete `createSP`/`createIdP`. Note: ACS error redirect codes are now UPPERCASE (e.g. `SAML_MULTIPLE_ASSERTIONS`). - `auth` CLI: Fix tsconfig path alias resolution for extended configs and mid‑path wildcards. - **Refactors** - Release automation: Use one‑line PR titles (prefer PR title), include changeset context and package `CHANGELOG` links, remove unused dist‑tag arg, fall back to raw notes, and rename release PR to “chore: release v{version}” with standardized title/commit. - Stripe: Support Stripe SDK v21 and v22; bump demo to `stripe@^22`. - Admin plugin: Replace `z.union` with `z.xor` for permission schemas. - Docs/MDX: Formatting pass for consistency; show database table names; disable MDX format‑on‑save in `.vscode`. - Dev docs: Update typecheck command to `pnpm typecheck` in `CLAUDE.md`. <sup>Written for commit f32099449ed7ab1e1e558feae2a51d9b148c8ceb. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:49:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25320