[PR #8603] [MERGED] chore: v1.5.6 release staging #24992

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8603
Author: @himself65
Created: 3/13/2026
Status: Merged
Merged: 3/14/2026
Merged by: @himself65

Base: mainHead: v1.5.6-staging


📝 Commits (10+)

  • a90d113 docs: update 1.5 release notes for api-keys (#8222)
  • ab4d46a test(cookies): add Playwright e2e test for sign-out cookie clearing (#8275)
  • 4e8a21e chore: no electron build on root (#8282)
  • fd245c6 docs: support icons in subpages and groups (#8293)
  • 2662e85 docs: remove unnecessary hasSubpages sidebar prop (#8296)
  • 77cc834 chore: align zod imports to use namespace import from "zod" (#8300)
  • 5e2a0a2 docs: update adapter test imports to @better-auth/test-utils/adapter (#8310)
  • 99b4630 chore: update .gitignore to include .claude/worktrees (#8317)
  • 8313a03 chore: use const tokenEndpoint declarations in social providers (#5820)
  • b1cca34 chore(deps): bump hono from 4.12.3 to 4.12.5 in /demo/nextjs (#8393)

📊 Changes

108 files changed (+2581 additions, -4069 deletions)

View changed files

📝 .cspell/custom-words.txt (+1 -1)
📝 .cspell/tech-terms.txt (+1 -1)
📝 .cspell/third-party.txt (+1 -0)
📝 .gitignore (+1 -0)
📝 demo/electron/pnpm-lock.yaml (+12 -1)
📝 demo/nextjs/pnpm-lock.yaml (+66 -69)
📝 docs/content/blogs/1-5.mdx (+86 -1)
docs/content/docs/authentication/wechat.mdx (+77 -0)
📝 docs/content/docs/concepts/api.mdx (+1 -1)
📝 docs/content/docs/concepts/database.mdx (+103 -2)
📝 docs/content/docs/guides/create-a-db-adapter.mdx (+33 -43)
📝 docs/content/docs/guides/your-first-plugin.mdx (+1 -2)
📝 docs/content/docs/integrations/convex.mdx (+2 -3)
📝 docs/content/docs/integrations/tanstack.mdx (+5 -5)
📝 docs/content/docs/plugins/2fa.mdx (+1 -1)
📝 docs/content/docs/plugins/api-key/advanced.mdx (+1 -1)
📝 docs/content/docs/plugins/api-key/reference.mdx (+4 -4)
📝 docs/content/docs/plugins/email-otp.mdx (+3 -3)
📝 docs/content/docs/plugins/magic-link.mdx (+9 -2)
📝 docs/content/docs/plugins/oauth-proxy.mdx (+43 -25)

...and 80 more files

📄 Description

Summary

Cherry-picked 41 commits from canary to main for the v1.5.6 release.

Features

  • feat(organization): explicit organizationId in team endpoints (#5062)
  • feat(social-provider): add wechat social provider (#5189)
  • feat(stripe): allow customizable prorationBehavior per plan (#8525)
  • feat(magic-link): add request metadata to sendMagicLink (#8571)
  • feat(test-utils): export adapter test suites from @better-auth/test-utils/adapter (#8564)

Fixes

  • fix(oauth-provider): support prompt=none (#8554)
  • fix(stripe): replace {CHECKOUT_SESSION_ID} placeholder in success callbackURL (#8568)
  • fix: handle skipOriginCheck array (#8582)
  • fix(electron): handle safeStorage encryption failures gracefully (#8530)
  • fix(docs): improve AI chat security and cleanup (#8597)

Chores

  • chore: fix type inference when user and custom session plugins are combined (#8448)
  • chore: align zod imports to use namespace import from "zod" (#8300)
  • chore: use const tokenEndpoint declarations in social providers (#5820)
  • chore(api-key): clean up api-key code (#8436)
  • chore(passkey): use error codes in passkey client actions (#5831)
  • chore: mark third-party peerDependencies as optional in adapter packages (#8555)
  • chore: no electron build on root (#8282)
  • chore: update .gitignore to include .claude/worktrees (#8317)
  • chore: enable global virtual store for git worktree support (#8600)
  • chore(test-utils): align adapter dev-source with source entry (#8565)
  • chore(deps): bump hono from 4.12.5 to 4.12.7 (#8541)
  • chore(deps): bump hono from 4.12.3 to 4.12.7 in /demo/nextjs (#8543)
  • chore(deps): bump hono from 4.12.3 to 4.12.5 in /demo/nextjs (#8393)
  • chore(deps): bump @hono/node-server from 1.19.9 to 1.19.10 (#8396)
  • chore(deps): bump tar from 7.5.9 to 7.5.10 in /demo/electron (#8408)

Tests

  • test(cookies): add Playwright e2e test for sign-out cookie clearing (#8275)

Docs

  • docs: update 1.5 release notes for api-keys (#8222)
  • docs: support icons in subpages and groups (#8293)
  • docs: remove unnecessary hasSubpages sidebar prop (#8296)
  • docs: update adapter test imports to @better-auth/test-utils/adapter (#8310)
  • docs(tanstack): rename .server. to .functions. to avoid import protection (#8452)
  • docs: fix api-key import path in api-key docs (#8545)
  • docs: update api.mdx to improve cookies example (#5069)
  • docs: make OAuth proxy content clearer (#8190)
  • docs(convex): drop pinned better-auth version in install command (#8563)
  • docs: normalize docs topbar and toc row heights (#8566)
  • docs(sitemap): add sitemap for all pages (#8496)
  • docs: clarify verification storage for OTP flows (#8569)
  • docs: update Openfort Documentation (#8578)
  • docs: enhance Upstash Redis secondary storage implementation (#3895)
  • docs: fix import statement in your-first-plugin.mdx (#8598)

Excluded commits (depend on better-call v2)

  • 29b7567c2 - better-call v2 (#8021)
  • e42ead580 - opentelemetry (#8027)
  • 721ef3d67 - method type constraints (#8466)

Excluded commits (other reasons)

  • 3939115b0 - test(oauth-provider) regression test (#8019) - test depends on better-call v2 body parsing behavior
  • 938f25d55 - hono 4.12.4 bump - superseded by later 4.12.7 bump
  • 184cf31e7 - hono 4.11.4->4.12.5 lockfile-only bump - superseded by later bumps
  • Beta release commits, infra-only commits, and commits already on main were also excluded.

Skipped (already on main)

  • 0584e61cc - docs: re-add razorpay and payu community plugins (#8224)
  • f944e39d6 - docs: fix features component (#8225)
  • 5feea2bfa - fix: drizzle-adapter failing date transformation (#8289)
  • feda88a0e - docs: use async mode (#8297)
  • a6859cdd0 - chore(deps): bump @hono/node-server in /demo/nextjs (#8397)
  • bce10c028 - docs: custom AI chat (#8523)

Skipped (file no longer exists on main)

  • 9a812e104 - docs: fix firefox rubber-banding (#8244) - modifies deleted stepper-toc.tsx

Verification

  • pnpm typecheck - passes
  • pnpm lint - passes
  • pnpm build - passes
  • Affected test files all pass (origin-check, custom-session, magic-link, team, client, oauth-provider, stripe, electron)
  • pnpm format:check - has a pre-existing remark error (same on main)

Test plan

  • CI checks pass
  • Manual smoke test of key features (OAuth provider prompt=none, stripe proration, skipOriginCheck array, electron safeStorage)
  • Verify wechat social provider works correctly

🔄 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/8603 **Author:** [@himself65](https://github.com/himself65) **Created:** 3/13/2026 **Status:** ✅ Merged **Merged:** 3/14/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `v1.5.6-staging` --- ### 📝 Commits (10+) - [`a90d113`](https://github.com/better-auth/better-auth/commit/a90d11393febf5ebe1ff9d964a296aaa11d2c52b) docs: update 1.5 release notes for api-keys (#8222) - [`ab4d46a`](https://github.com/better-auth/better-auth/commit/ab4d46aa24e27cff9e627cbdba9583dac0d9259a) test(cookies): add Playwright e2e test for sign-out cookie clearing (#8275) - [`4e8a21e`](https://github.com/better-auth/better-auth/commit/4e8a21e578c7ded1021bef4cfb2cdfd075a2d517) chore: no electron build on root (#8282) - [`fd245c6`](https://github.com/better-auth/better-auth/commit/fd245c65b55bff83a445ac81d23d79a530bcfa07) docs: support icons in subpages and groups (#8293) - [`2662e85`](https://github.com/better-auth/better-auth/commit/2662e85642e93ce8fc8b528d01f511f98df454d9) docs: remove unnecessary `hasSubpages` sidebar prop (#8296) - [`77cc834`](https://github.com/better-auth/better-auth/commit/77cc83412ac916e6aecc4e5137eb79fb2380cde3) chore: align zod imports to use namespace import from "zod" (#8300) - [`5e2a0a2`](https://github.com/better-auth/better-auth/commit/5e2a0a25168ba2d9c3d027b8c4bddcfb5fcdf8e9) docs: update adapter test imports to `@better-auth/test-utils/adapter` (#8310) - [`99b4630`](https://github.com/better-auth/better-auth/commit/99b463088f4bd29f1a885a8814b79f6554f3073f) chore: update .gitignore to include .claude/worktrees (#8317) - [`8313a03`](https://github.com/better-auth/better-auth/commit/8313a039ee7cbfcc4c5ee96a8f9b2fe6681309d9) chore: use const tokenEndpoint declarations in social providers (#5820) - [`b1cca34`](https://github.com/better-auth/better-auth/commit/b1cca34009f0954cae0655e2266330855c8b11ec) chore(deps): bump hono from 4.12.3 to 4.12.5 in /demo/nextjs (#8393) ### 📊 Changes **108 files changed** (+2581 additions, -4069 deletions) <details> <summary>View changed files</summary> 📝 `.cspell/custom-words.txt` (+1 -1) 📝 `.cspell/tech-terms.txt` (+1 -1) 📝 `.cspell/third-party.txt` (+1 -0) 📝 `.gitignore` (+1 -0) 📝 `demo/electron/pnpm-lock.yaml` (+12 -1) 📝 `demo/nextjs/pnpm-lock.yaml` (+66 -69) 📝 `docs/content/blogs/1-5.mdx` (+86 -1) ➕ `docs/content/docs/authentication/wechat.mdx` (+77 -0) 📝 `docs/content/docs/concepts/api.mdx` (+1 -1) 📝 `docs/content/docs/concepts/database.mdx` (+103 -2) 📝 `docs/content/docs/guides/create-a-db-adapter.mdx` (+33 -43) 📝 `docs/content/docs/guides/your-first-plugin.mdx` (+1 -2) 📝 `docs/content/docs/integrations/convex.mdx` (+2 -3) 📝 `docs/content/docs/integrations/tanstack.mdx` (+5 -5) 📝 `docs/content/docs/plugins/2fa.mdx` (+1 -1) 📝 `docs/content/docs/plugins/api-key/advanced.mdx` (+1 -1) 📝 `docs/content/docs/plugins/api-key/reference.mdx` (+4 -4) 📝 `docs/content/docs/plugins/email-otp.mdx` (+3 -3) 📝 `docs/content/docs/plugins/magic-link.mdx` (+9 -2) 📝 `docs/content/docs/plugins/oauth-proxy.mdx` (+43 -25) _...and 80 more files_ </details> ### 📄 Description ## Summary Cherry-picked 41 commits from `canary` to `main` for the v1.5.6 release. ### Features - feat(organization): explicit `organizationId` in team endpoints (#5062) - feat(social-provider): add wechat social provider (#5189) - feat(stripe): allow customizable `prorationBehavior` per plan (#8525) - feat(magic-link): add request metadata to sendMagicLink (#8571) - feat(test-utils): export adapter test suites from `@better-auth/test-utils/adapter` (#8564) ### Fixes - fix(oauth-provider): support prompt=none (#8554) - fix(stripe): replace `{CHECKOUT_SESSION_ID}` placeholder in success callbackURL (#8568) - fix: handle `skipOriginCheck` array (#8582) - fix(electron): handle safeStorage encryption failures gracefully (#8530) - fix(docs): improve AI chat security and cleanup (#8597) ### Chores - chore: fix type inference when user and custom session plugins are combined (#8448) - chore: align zod imports to use namespace import from "zod" (#8300) - chore: use const tokenEndpoint declarations in social providers (#5820) - chore(api-key): clean up api-key code (#8436) - chore(passkey): use error codes in passkey client actions (#5831) - chore: mark third-party peerDependencies as optional in adapter packages (#8555) - chore: no electron build on root (#8282) - chore: update .gitignore to include .claude/worktrees (#8317) - chore: enable global virtual store for git worktree support (#8600) - chore(test-utils): align adapter dev-source with source entry (#8565) - chore(deps): bump hono from 4.12.5 to 4.12.7 (#8541) - chore(deps): bump hono from 4.12.3 to 4.12.7 in /demo/nextjs (#8543) - chore(deps): bump hono from 4.12.3 to 4.12.5 in /demo/nextjs (#8393) - chore(deps): bump @hono/node-server from 1.19.9 to 1.19.10 (#8396) - chore(deps): bump tar from 7.5.9 to 7.5.10 in /demo/electron (#8408) ### Tests - test(cookies): add Playwright e2e test for sign-out cookie clearing (#8275) ### Docs - docs: update 1.5 release notes for api-keys (#8222) - docs: support icons in subpages and groups (#8293) - docs: remove unnecessary `hasSubpages` sidebar prop (#8296) - docs: update adapter test imports to `@better-auth/test-utils/adapter` (#8310) - docs(tanstack): rename *.server.* to *.functions.* to avoid import protection (#8452) - docs: fix api-key import path in api-key docs (#8545) - docs: update api.mdx to improve cookies example (#5069) - docs: make OAuth proxy content clearer (#8190) - docs(convex): drop pinned better-auth version in install command (#8563) - docs: normalize docs topbar and toc row heights (#8566) - docs(sitemap): add sitemap for all pages (#8496) - docs: clarify verification storage for OTP flows (#8569) - docs: update Openfort Documentation (#8578) - docs: enhance Upstash Redis secondary storage implementation (#3895) - docs: fix import statement in your-first-plugin.mdx (#8598) ### Excluded commits (depend on better-call v2) - `29b7567c2` - better-call v2 (#8021) - `e42ead580` - opentelemetry (#8027) - `721ef3d67` - method type constraints (#8466) ### Excluded commits (other reasons) - `3939115b0` - test(oauth-provider) regression test (#8019) - test depends on better-call v2 body parsing behavior - `938f25d55` - hono 4.12.4 bump - superseded by later 4.12.7 bump - `184cf31e7` - hono 4.11.4->4.12.5 lockfile-only bump - superseded by later bumps - Beta release commits, infra-only commits, and commits already on main were also excluded. ### Skipped (already on main) - `0584e61cc` - docs: re-add razorpay and payu community plugins (#8224) - `f944e39d6` - docs: fix features component (#8225) - `5feea2bfa` - fix: drizzle-adapter failing date transformation (#8289) - `feda88a0e` - docs: use async mode (#8297) - `a6859cdd0` - chore(deps): bump @hono/node-server in /demo/nextjs (#8397) - `bce10c028` - docs: custom AI chat (#8523) ### Skipped (file no longer exists on main) - `9a812e104` - docs: fix firefox rubber-banding (#8244) - modifies deleted `stepper-toc.tsx` ## Verification - [x] `pnpm typecheck` - passes - [x] `pnpm lint` - passes - [x] `pnpm build` - passes - [x] Affected test files all pass (origin-check, custom-session, magic-link, team, client, oauth-provider, stripe, electron) - [x] `pnpm format:check` - has a pre-existing remark error (same on main) ## Test plan - [ ] CI checks pass - [ ] Manual smoke test of key features (OAuth provider prompt=none, stripe proration, skipOriginCheck array, electron safeStorage) - [ ] Verify wechat social provider works correctly --- <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:40:42 -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#24992