[PR #4853] [CLOSED] v1.3.15 #31218

Closed
opened 2026-04-17 22:07:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4853
Author: @himself65
Created: 9/23/2025
Status: Closed

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


📝 Commits (10+)

📊 Changes

123 files changed (+1596 additions, -1938 deletions)

View changed files

📝 .github/workflows/ci.yml (+1 -1)
📝 .github/workflows/e2e.yml (+4 -3)
📝 .github/workflows/preview.yml (+1 -1)
📝 .github/workflows/release.yml (+2 -2)
📝 docs/components/endpoint.tsx (+0 -2)
📝 docs/components/nav-mobile.tsx (+1 -2)
📝 docs/content/docs/plugins/admin.mdx (+23 -0)
📝 docs/content/docs/plugins/jwt.mdx (+34 -2)
📝 package.json (+1 -1)
📝 packages/better-auth/package.json (+1 -5)
📝 packages/better-auth/src/adapters/adapter-factory/index.ts (+24 -22)
📝 packages/better-auth/src/adapters/adapter-factory/test/adapter-factory.test.ts (+5 -5)
📝 packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts (+5 -5)
📝 packages/better-auth/src/adapters/kysely-adapter/test/normal/node-sqlite-dialect.test.ts (+1 -1)
📝 packages/better-auth/src/adapters/kysely-adapter/test/number-id/adapter.kysely.number-id.test.ts (+19 -20)
📝 packages/better-auth/src/adapters/memory-adapter/memory-adapter.ts (+12 -12)
📝 packages/better-auth/src/adapters/mongodb-adapter/mongodb-adapter.ts (+2 -2)
📝 packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts (+9 -9)
📝 packages/better-auth/src/adapters/test.ts (+2 -2)
📝 packages/better-auth/src/api/check-endpoint-conflicts.test.ts (+1 -1)

...and 80 more files

📄 Description

Summary by cubic

v1.3.15 improves type safety and docs, migrates to Zod v3 syntax, and fixes OAuth Proxy callback handling. It also updates CI for reliability and refines the getSession types to allow null.

  • Bug Fixes

    • OAuth Proxy: correct origin check using productionURL; added tests.
    • Types: getSession may be null; update InferSessionAPI return types accordingly.
    • CI/E2E: pin actions/setup-node to a commit SHA and fix Playwright install with pnpm exec and proper working directory.
  • Refactors

    • Zod v3: replace meta() with describe() across endpoints; no API shape changes.
    • TypeScript: enable noUncheckedIndexedAccess; add safe non-null checks; move to monorepo tsconfig; tidy scripts (lint:fix --unsafe, typecheck project).
    • Docs: add jwtClient token retrieval flow and document the admin update-user endpoint; minor cleanup in docs components.

🔄 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/4853 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/23/2025 **Status:** ❌ Closed **Base:** `v1.3.x-latest` ← **Head:** `v1.3.15-staging` --- ### 📝 Commits (10+) - [`b1fabc1`](https://github.com/better-auth/better-auth/commit/b1fabc1fe73d710fbd846e11dc65588fa07544a5) chore(deps): pin actions/setup-node action to 49933ea (#4806) - [`dc6415c`](https://github.com/better-auth/better-auth/commit/dc6415c7212f2d0246d9f47c8cc8f40b314aa23a) chore: use tsconfig monorepo setup (#4826) - [`25226f9`](https://github.com/better-auth/better-auth/commit/25226f91a4be33300537f63b3373f1774dac9c60) chore(docs): lint fix (#4827) - [`ff43652`](https://github.com/better-auth/better-auth/commit/ff4365261398892a181325f7580343712b007d3a) docs(jwt): add jwtClient plugin method for token retrieval (#4824) - [`636e534`](https://github.com/better-auth/better-auth/commit/636e534072c4bd95fd6da752b42d3ec6422eb1c9) fix (oauth-proxy): use of productionURL in for callback comparison (#4825) - [`710785e`](https://github.com/better-auth/better-auth/commit/710785e04f819cbc8493c88285d167e831cc5a10) fix(types): include null in getSession return type (#4812) - [`fd4b147`](https://github.com/better-auth/better-auth/commit/fd4b14705ee75f1faa4c2afdec49af210da77fa6) ci: fix playwright install (#4849) - [`93a766f`](https://github.com/better-auth/better-auth/commit/93a766f22cd1bce3252596f3fd55caf55b41a220) docs(admin): added missing `updateUser` api (#4846) - [`be0b63c`](https://github.com/better-auth/better-auth/commit/be0b63ceea08c8516987d4b528230e5471928b2b) chore: set `noUncheckedIndexedAccess` to true (#4828) - [`202f55d`](https://github.com/better-auth/better-auth/commit/202f55dca419e2ebc8048f2202e224cf64f8c853) chore: use zod v3 syntax (#4851) ### 📊 Changes **123 files changed** (+1596 additions, -1938 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+1 -1) 📝 `.github/workflows/e2e.yml` (+4 -3) 📝 `.github/workflows/preview.yml` (+1 -1) 📝 `.github/workflows/release.yml` (+2 -2) 📝 `docs/components/endpoint.tsx` (+0 -2) 📝 `docs/components/nav-mobile.tsx` (+1 -2) 📝 `docs/content/docs/plugins/admin.mdx` (+23 -0) 📝 `docs/content/docs/plugins/jwt.mdx` (+34 -2) 📝 `package.json` (+1 -1) 📝 `packages/better-auth/package.json` (+1 -5) 📝 `packages/better-auth/src/adapters/adapter-factory/index.ts` (+24 -22) 📝 `packages/better-auth/src/adapters/adapter-factory/test/adapter-factory.test.ts` (+5 -5) 📝 `packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts` (+5 -5) 📝 `packages/better-auth/src/adapters/kysely-adapter/test/normal/node-sqlite-dialect.test.ts` (+1 -1) 📝 `packages/better-auth/src/adapters/kysely-adapter/test/number-id/adapter.kysely.number-id.test.ts` (+19 -20) 📝 `packages/better-auth/src/adapters/memory-adapter/memory-adapter.ts` (+12 -12) 📝 `packages/better-auth/src/adapters/mongodb-adapter/mongodb-adapter.ts` (+2 -2) 📝 `packages/better-auth/src/adapters/prisma-adapter/prisma-adapter.ts` (+9 -9) 📝 `packages/better-auth/src/adapters/test.ts` (+2 -2) 📝 `packages/better-auth/src/api/check-endpoint-conflicts.test.ts` (+1 -1) _...and 80 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic v1.3.15 improves type safety and docs, migrates to Zod v3 syntax, and fixes OAuth Proxy callback handling. It also updates CI for reliability and refines the getSession types to allow null. - **Bug Fixes** - OAuth Proxy: correct origin check using productionURL; added tests. - Types: getSession may be null; update InferSessionAPI return types accordingly. - CI/E2E: pin actions/setup-node to a commit SHA and fix Playwright install with pnpm exec and proper working directory. - **Refactors** - Zod v3: replace meta() with describe() across endpoints; no API shape changes. - TypeScript: enable noUncheckedIndexedAccess; add safe non-null checks; move to monorepo tsconfig; tidy scripts (lint:fix --unsafe, typecheck project). - Docs: add jwtClient token retrieval flow and document the admin update-user endpoint; minor cleanup in docs components. <!-- 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-17 22:07:27 -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#31218