[PR #9210] chore: sync main to next #25406

Open
opened 2026-04-15 22:52:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9210
Author: @better-release[bot]
Created: 4/15/2026
Status: 🔄 Open

Base: nextHead: main


📝 Commits (4)

  • 0538627 fix(client): trigger $sessionSignal for session-rotating endpoints (#9087)
  • 09005a9 docs: add mention to self service directory sync (#9194)
  • 25c8f59 docs: fix wrong AutumnProvider usage in docs (#9176)
  • 938dd80 docs(test-utils): clarify production usage (#9119)

📊 Changes

10 files changed (+155 additions, -16 deletions)

View changed files

.changeset/clarify-test-utils-production-usage.md (+5 -0)
.changeset/fix-client-matcher-rotation-paths.md (+5 -0)
📝 docs/app/enterprise/enterprise-client.tsx (+5 -4)
📝 docs/content/blogs/1-5.mdx (+4 -2)
📝 docs/content/docs/plugins/autumn.mdx (+2 -3)
📝 docs/content/docs/plugins/scim.mdx (+17 -0)
📝 docs/content/docs/plugins/test-utils.mdx (+33 -4)
📝 packages/better-auth/src/client/config.ts (+3 -1)
📝 packages/better-auth/src/client/proxy.test.ts (+70 -0)
📝 packages/better-auth/src/plugins/test-utils/index.ts (+11 -2)

📄 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 stable fixes from main into next, updating better-auth to refetch the session after session-rotating endpoints like /change-password and /revoke-other-sessions.

  • Bug Fixes

    • Extend default matcher in getClientConfig() to include /change-password and /revoke-other-sessions, toggling $sessionSignal to refetch the session.
    • Add tests for matcher coverage and proxy-triggered signal on /change-password.
    • Add changeset: patch release for better-auth.
  • Migration

    • Merge using “Create a merge commit” (no squash or rebase).
    • On conflicts in package.json, keep next’s versions.

Written for commit 05386271ca. 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/9210 **Author:** [@better-release[bot]](https://github.com/apps/better-release) **Created:** 4/15/2026 **Status:** 🔄 Open **Base:** `next` ← **Head:** `main` --- ### 📝 Commits (4) - [`0538627`](https://github.com/better-auth/better-auth/commit/05386271ca143d07416297611d3b31e6c20e2f2a) fix(client): trigger $sessionSignal for session-rotating endpoints (#9087) - [`09005a9`](https://github.com/better-auth/better-auth/commit/09005a974d3bee0f2a43092484921bb50dce63d0) docs: add mention to self service directory sync (#9194) - [`25c8f59`](https://github.com/better-auth/better-auth/commit/25c8f59069b2df2af1485738f4417a044640acad) docs: fix wrong AutumnProvider usage in docs (#9176) - [`938dd80`](https://github.com/better-auth/better-auth/commit/938dd80e2debfab7f7ef480792a5e63876e779d9) docs(test-utils): clarify production usage (#9119) ### 📊 Changes **10 files changed** (+155 additions, -16 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/clarify-test-utils-production-usage.md` (+5 -0) ➕ `.changeset/fix-client-matcher-rotation-paths.md` (+5 -0) 📝 `docs/app/enterprise/enterprise-client.tsx` (+5 -4) 📝 `docs/content/blogs/1-5.mdx` (+4 -2) 📝 `docs/content/docs/plugins/autumn.mdx` (+2 -3) 📝 `docs/content/docs/plugins/scim.mdx` (+17 -0) 📝 `docs/content/docs/plugins/test-utils.mdx` (+33 -4) 📝 `packages/better-auth/src/client/config.ts` (+3 -1) 📝 `packages/better-auth/src/client/proxy.test.ts` (+70 -0) 📝 `packages/better-auth/src/plugins/test-utils/index.ts` (+11 -2) </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 stable fixes from `main` into `next`, updating `better-auth` to refetch the session after session-rotating endpoints like `/change-password` and `/revoke-other-sessions`. - **Bug Fixes** - Extend default matcher in `getClientConfig()` to include `/change-password` and `/revoke-other-sessions`, toggling `$sessionSignal` to refetch the session. - Add tests for matcher coverage and proxy-triggered signal on `/change-password`. - Add changeset: patch release for `better-auth`. - **Migration** - Merge using “Create a merge commit” (no squash or rebase). - On conflicts in `package.json`, keep `next`’s versions. <sup>Written for commit 05386271ca143d07416297611d3b31e6c20e2f2a. 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:52:21 -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#25406