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

Closed
opened 2026-04-13 10:29:51 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8603

State: closed
Merged: Yes


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
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8603 **State:** closed **Merged:** Yes --- ## 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
GiteaMirror added the pull-request label 2026-04-13 10:29:51 -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#16338