[PR #5044] [MERGED] v1.3.25 #5735

Closed
opened 2026-03-13 12:33:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5044
Author: @himself65
Created: 10/2/2025
Status: Merged
Merged: 10/2/2025
Merged by: @himself65

Base: v1.3.x-latestHead: v1.3.x-staging


📝 Commits (10+)

📊 Changes

96 files changed (+3222 additions, -1246 deletions)

View changed files

📝 .github/workflows/ci.yml (+1 -1)
📝 .github/workflows/e2e.yml (+2 -2)
📝 .github/workflows/preview.yml (+1 -1)
📝 docs/components/floating-ai-search.tsx (+168 -68)
📝 docs/components/search-dialog.tsx (+0 -11)
📝 docs/content/docs/concepts/plugins.mdx (+1 -0)
📝 docs/content/docs/integrations/nestjs.mdx (+20 -7)
📝 docs/content/docs/introduction.mdx (+31 -0)
📝 docs/content/docs/plugins/captcha.mdx (+4 -2)
📝 docs/content/docs/plugins/community-plugins.mdx (+2 -1)
📝 docs/content/docs/plugins/generic-oauth.mdx (+2 -0)
📝 docs/content/docs/plugins/last-login-method.mdx (+1 -1)
📝 docs/content/docs/plugins/oauth-proxy.mdx (+3 -1)
📝 docs/content/docs/reference/contributing.mdx (+22 -1)
📝 package.json (+1 -2)
📝 packages/better-auth/build.config.ts (+2 -0)
📝 packages/better-auth/package.json (+14 -1)
📝 packages/better-auth/src/adapters/adapter-factory/index.ts (+3 -2)
📝 packages/better-auth/src/adapters/adapter-factory/test/adapter-factory.test.ts (+67 -0)
📝 packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts (+10 -1)

...and 76 more files

📄 Description

Summary by cubic

Release v1.3.25 adds an MCP setup command to the CLI, CaptchaFox support, and stronger OAuth/OIDC flows, while fixing several adapter, rate limit, cookie, and Stripe issues.

  • New Features

    • CLI: mcp command to set up MCP for Cursor/Claude Code/Open Code or manual.
    • CaptchaFox provider added to the captcha plugin.
    • Generic OAuth: tokenUrlParams can be a function.
    • Lynx client export added.
    • Test utils: runWithUser and runWithDefaultUser helpers using async context.
  • Bug Fixes

    • OAuth/SSO: enforce OIDC consent; allow state check skip in proxy flows; block duplicate SSO provider IDs.
    • Adapters/DB: keep nullable foreign keys as null; use updated values in Drizzle WHERE; correct foreign key ID types.
    • Stripe: upgrade existing subscriptions instead of creating new ones; sync customer email; ensure getCustomerCreateParams is called with proper typing.
    • Stability: respect TTL with secondary rate-limit storage; log and skip cookie cache when too large; improved IPv6 parsing; client proxy ignores symbol traps.
    • Misc: required org slug; device-authorization error type fix; telemetry lazy-loaded and refactored; CI cache action and pnpm bumped.

🔄 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/5044 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/2/2025 **Status:** ✅ Merged **Merged:** 10/2/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `v1.3.x-latest` ← **Head:** `v1.3.x-staging` --- ### 📝 Commits (10+) - [`96732d4`](https://github.com/better-auth/better-auth/commit/96732d40fa89c795cea2a851fe4e06ff835c4fc7) fix: support compressed ipv6 format (#4982) - [`840834a`](https://github.com/better-auth/better-auth/commit/840834a2b5a0bc1388cb0c99900ecadf57b57c1b) fix(stripe): update with an existing subscription (#4988) - [`a637d20`](https://github.com/better-auth/better-auth/commit/a637d20b98be553341a5c3572a94f5d694e068cc) fix(oidc): properly enforce consent requirements per OIDC spec (#4974) - [`e4f185f`](https://github.com/better-auth/better-auth/commit/e4f185fa91c14f1001313d5100c3e4194cc218bb) fix(stripe): sync customer email on db change (#4995) - [`6d917c0`](https://github.com/better-auth/better-auth/commit/6d917c0df0d1e109504e5057d0a037ccd3e8c07e) chore: bump pnpm (#4996) - [`93c0340`](https://github.com/better-auth/better-auth/commit/93c0340ecbdeaf50c1adae61982e4df42984dc64) test: add `runWithDefaultUser` helper (#4714) - [`3f9ca79`](https://github.com/better-auth/better-auth/commit/3f9ca797796439d1fb9eeb012c2bf1c9607d6b8b) test: rename `runWithUser` (#4993) - [`333743a`](https://github.com/better-auth/better-auth/commit/333743ab3b37f4d71a8f01faaa41af534c2f43d6) chore(deps): update actions/cache action to v4.3.0 (#4959) - [`ccd3d6b`](https://github.com/better-auth/better-auth/commit/ccd3d6bc4d421f51a38c23c86f345415a495f840) fix(oauth-proxy): should skip state check for oauth proxy (#4991) - [`1a6ce10`](https://github.com/better-auth/better-auth/commit/1a6ce10f06d07146263d0b9948a9f08476dbe575) fix(client): add lynx client exports (#4950) ### 📊 Changes **96 files changed** (+3222 additions, -1246 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+1 -1) 📝 `.github/workflows/e2e.yml` (+2 -2) 📝 `.github/workflows/preview.yml` (+1 -1) 📝 `docs/components/floating-ai-search.tsx` (+168 -68) 📝 `docs/components/search-dialog.tsx` (+0 -11) 📝 `docs/content/docs/concepts/plugins.mdx` (+1 -0) 📝 `docs/content/docs/integrations/nestjs.mdx` (+20 -7) 📝 `docs/content/docs/introduction.mdx` (+31 -0) 📝 `docs/content/docs/plugins/captcha.mdx` (+4 -2) 📝 `docs/content/docs/plugins/community-plugins.mdx` (+2 -1) 📝 `docs/content/docs/plugins/generic-oauth.mdx` (+2 -0) 📝 `docs/content/docs/plugins/last-login-method.mdx` (+1 -1) 📝 `docs/content/docs/plugins/oauth-proxy.mdx` (+3 -1) 📝 `docs/content/docs/reference/contributing.mdx` (+22 -1) 📝 `package.json` (+1 -2) 📝 `packages/better-auth/build.config.ts` (+2 -0) 📝 `packages/better-auth/package.json` (+14 -1) 📝 `packages/better-auth/src/adapters/adapter-factory/index.ts` (+3 -2) 📝 `packages/better-auth/src/adapters/adapter-factory/test/adapter-factory.test.ts` (+67 -0) 📝 `packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts` (+10 -1) _...and 76 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Release v1.3.25 adds an MCP setup command to the CLI, CaptchaFox support, and stronger OAuth/OIDC flows, while fixing several adapter, rate limit, cookie, and Stripe issues. - **New Features** - CLI: mcp command to set up MCP for Cursor/Claude Code/Open Code or manual. - CaptchaFox provider added to the captcha plugin. - Generic OAuth: tokenUrlParams can be a function. - Lynx client export added. - Test utils: runWithUser and runWithDefaultUser helpers using async context. - **Bug Fixes** - OAuth/SSO: enforce OIDC consent; allow state check skip in proxy flows; block duplicate SSO provider IDs. - Adapters/DB: keep nullable foreign keys as null; use updated values in Drizzle WHERE; correct foreign key ID types. - Stripe: upgrade existing subscriptions instead of creating new ones; sync customer email; ensure getCustomerCreateParams is called with proper typing. - Stability: respect TTL with secondary rate-limit storage; log and skip cookie cache when too large; improved IPv6 parsing; client proxy ignores symbol traps. - Misc: required org slug; device-authorization error type fix; telemetry lazy-loaded and refactored; CI cache action and pnpm bumped. <!-- 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-03-13 12:33: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#5735