[PR #5505] [MERGED] v1.3.29 #6046

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

📋 Pull Request Information

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

Base: mainHead: v1.3.29


📝 Commits (10+)

  • 4c8022b docs: add Copilot option to ViewOptions component (#5429)
  • 7ceec10 chore: add docker setup instructions to CONTRIBUTING.md (#5456)
  • c2e41c6 fix: unused peer dependency (#5465)
  • 434ebe8 chore: add --continue on test script (#5472)
  • 3d26e27 fix: rename sha to branch and made it canary by default (#5491)
  • 93a3f2e docs: remove server route handler instructions from TanStack Start Integration Guide (#5488)
  • 5cb880c demo: add passkey login (#5399)
  • ec28799 docs: add prisma postgres to community dialects section (#5492)
  • fe7425c docs: clarify requireEmailVerification and sendOnSignIn behavior (#5402)
  • 87fa433 chore(deps): update dependency hono to v4.10.2 [security] (#5490)

📊 Changes

28 files changed (+672 additions, -79 deletions)

View changed files

📝 CONTRIBUTING.md (+9 -5)
📝 demo/nextjs/components/sign-in.tsx (+24 -1)
📝 docker-compose.yml (+3 -3)
📝 docs/app/docs/[[...slug]]/page.client.tsx (+31 -10)
📝 docs/app/docs/[[...slug]]/page.tsx (+1 -1)
📝 docs/components/docs/page.tsx (+5 -5)
📝 docs/content/docs/adapters/other-relational-databases.mdx (+1 -0)
📝 docs/content/docs/adapters/postgresql.mdx (+83 -8)
📝 docs/content/docs/concepts/cli.mdx (+6 -0)
📝 docs/content/docs/concepts/database.mdx (+4 -0)
📝 docs/content/docs/concepts/email.mdx (+16 -6)
📝 docs/content/docs/examples/astro.mdx (+1 -1)
📝 docs/content/docs/examples/nuxt.mdx (+1 -1)
📝 docs/content/docs/examples/remix.mdx (+1 -1)
📝 docs/content/docs/examples/svelte-kit.mdx (+1 -1)
📝 docs/content/docs/integrations/tanstack.mdx (+0 -14)
📝 docs/content/docs/plugins/organization.mdx (+1 -1)
📝 package.json (+1 -1)
packages/better-auth/src/adapters/kysely-adapter/test/adapter.kysely.pg-custom-schema.test.ts (+108 -0)
📝 packages/better-auth/src/api/to-auth-endpoints.ts (+4 -6)

...and 8 more files

📄 Description

Summary by cubic

Improved PostgreSQL support by respecting search_path so migrations work with non-public schemas, and added passkey sign-in to the Next.js demo alongside several docs and reliability updates.

  • New Features

    • PostgreSQL: migrations now detect and use the schema from search_path, filtering tables by that schema; added tests for custom schemas.
    • Demo: added “Sign in with Passkey” to the Next.js example.
    • Docs: added Copilot to ViewOptions, documented non-default schema setup and CLI behavior, and switched “Edit on GitHub” to the canary branch.
  • Bug Fixes

    • Admin: block setting non-existent roles; returns 400 with a clear error code.
    • API: safer beforeHook context typing and header merging.
    • Docs/Dev: fixed ForkButton URLs and organization API docs, removed unused better-sqlite3, made tests continue on failure, updated hono to 4.10.2, and corrected docker-compose volume paths.

🔄 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/5505 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `v1.3.29` --- ### 📝 Commits (10+) - [`4c8022b`](https://github.com/better-auth/better-auth/commit/4c8022b7b7a27f95ee058b725ad6f4b5c4d2d6d6) docs: add Copilot option to ViewOptions component (#5429) - [`7ceec10`](https://github.com/better-auth/better-auth/commit/7ceec100ad732862ceaa6f1f45c40925ff0b60a5) chore: add docker setup instructions to CONTRIBUTING.md (#5456) - [`c2e41c6`](https://github.com/better-auth/better-auth/commit/c2e41c6765cd54aed5ede2660b0e419b6c709ece) fix: unused peer dependency (#5465) - [`434ebe8`](https://github.com/better-auth/better-auth/commit/434ebe88593117e09c327171f1d7dc3b0a505685) chore: add `--continue` on test script (#5472) - [`3d26e27`](https://github.com/better-auth/better-auth/commit/3d26e27878203c8171c89271dc83fb5712896638) fix: rename `sha` to `branch` and made it `canary` by default (#5491) - [`93a3f2e`](https://github.com/better-auth/better-auth/commit/93a3f2e0e1713f15de76d76ff3757cfad951b71b) docs: remove server route handler instructions from TanStack Start Integration Guide (#5488) - [`5cb880c`](https://github.com/better-auth/better-auth/commit/5cb880c90a9556abf2e6e5026a4da0b93f8e2d63) demo: add passkey login (#5399) - [`ec28799`](https://github.com/better-auth/better-auth/commit/ec287990e44b650b4e4a0bd7a8a932a47d102ec5) docs: add prisma postgres to community dialects section (#5492) - [`fe7425c`](https://github.com/better-auth/better-auth/commit/fe7425c5f0372227a9415da7ea1035470916d3eb) docs: clarify requireEmailVerification and sendOnSignIn behavior (#5402) - [`87fa433`](https://github.com/better-auth/better-auth/commit/87fa4336e8f46dd8f535ca9c0fe338cac08a0523) chore(deps): update dependency hono to v4.10.2 [security] (#5490) ### 📊 Changes **28 files changed** (+672 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+9 -5) 📝 `demo/nextjs/components/sign-in.tsx` (+24 -1) 📝 `docker-compose.yml` (+3 -3) 📝 `docs/app/docs/[[...slug]]/page.client.tsx` (+31 -10) 📝 `docs/app/docs/[[...slug]]/page.tsx` (+1 -1) 📝 `docs/components/docs/page.tsx` (+5 -5) 📝 `docs/content/docs/adapters/other-relational-databases.mdx` (+1 -0) 📝 `docs/content/docs/adapters/postgresql.mdx` (+83 -8) 📝 `docs/content/docs/concepts/cli.mdx` (+6 -0) 📝 `docs/content/docs/concepts/database.mdx` (+4 -0) 📝 `docs/content/docs/concepts/email.mdx` (+16 -6) 📝 `docs/content/docs/examples/astro.mdx` (+1 -1) 📝 `docs/content/docs/examples/nuxt.mdx` (+1 -1) 📝 `docs/content/docs/examples/remix.mdx` (+1 -1) 📝 `docs/content/docs/examples/svelte-kit.mdx` (+1 -1) 📝 `docs/content/docs/integrations/tanstack.mdx` (+0 -14) 📝 `docs/content/docs/plugins/organization.mdx` (+1 -1) 📝 `package.json` (+1 -1) ➕ `packages/better-auth/src/adapters/kysely-adapter/test/adapter.kysely.pg-custom-schema.test.ts` (+108 -0) 📝 `packages/better-auth/src/api/to-auth-endpoints.ts` (+4 -6) _...and 8 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Improved PostgreSQL support by respecting search_path so migrations work with non-public schemas, and added passkey sign-in to the Next.js demo alongside several docs and reliability updates. - **New Features** - PostgreSQL: migrations now detect and use the schema from search_path, filtering tables by that schema; added tests for custom schemas. - Demo: added “Sign in with Passkey” to the Next.js example. - Docs: added Copilot to ViewOptions, documented non-default schema setup and CLI behavior, and switched “Edit on GitHub” to the canary branch. - **Bug Fixes** - Admin: block setting non-existent roles; returns 400 with a clear error code. - API: safer beforeHook context typing and header merging. - Docs/Dev: fixed ForkButton URLs and organization API docs, removed unused better-sqlite3, made tests continue on failure, updated hono to 4.10.2, and corrected docker-compose volume paths. <!-- 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:45:36 -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#6046