[PR #8715] [MERGED] v1.5.6 stable release #25068

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

📋 Pull Request Information

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

Base: mainHead: v1.5.6-staging


📝 Commits (6)

  • 694ad04 fix(sso): use namespace import for samlify to fix ESM compatibility (#8697)
  • 36c35df chore(deps): bump kysely from 0.28.11 to 0.28.12 (#8700)
  • 138666f fix(oauth-provider): fix dist declaration type errors (#8701)
  • 51833b8 fix: prevent revoked sessions from being restored via database fallback (#8708)
  • 9459876 docs: add better-auth-devtools to community plugins (#8714)
  • 6d3c93a feat(core): add experimental opentelemetry instrumentation (#8027)

📊 Changes

38 files changed (+1449 additions, -290 deletions)

View changed files

📝 .cspell/names.txt (+1 -0)
docs/content/docs/reference/instrumentation.mdx (+87 -0)
docs/next-env.d.ts (+6 -0)
📝 e2e/adapter/package.json (+1 -1)
📝 e2e/integration/vanilla-node/package.json (+1 -1)
📝 e2e/smoke/test/saml.spec.ts (+16 -3)
📝 landing/app/changelog/page.tsx (+3 -3)
📝 landing/components/community-plugins-table.tsx (+11 -0)
📝 landing/components/sidebar-content.tsx (+6 -0)
📝 landing/lib/community-plugins-data.ts (+11 -0)
📝 packages/better-auth/package.json (+4 -1)
📝 packages/better-auth/src/api/index.ts (+42 -8)
📝 packages/better-auth/src/api/to-auth-endpoints.test.ts (+0 -13)
📝 packages/better-auth/src/api/to-auth-endpoints.ts (+8 -17)
📝 packages/better-auth/src/context/create-context.ts (+3 -1)
📝 packages/better-auth/src/context/helpers.ts (+14 -4)
📝 packages/better-auth/src/db/internal-adapter.ts (+10 -2)
📝 packages/better-auth/src/db/secondary-storage.test.ts (+108 -0)
📝 packages/better-auth/src/db/with-hooks.ts (+143 -42)
📝 packages/better-auth/src/index.ts (+1 -0)

...and 18 more files

📄 Description

Summary

Cherry-pick fixes and docs from canary for v1.5.6 stable release.

Commits included (5 new, 19 already on main):

Fixes:

  • fix(sso): use namespace import for samlify to fix ESM compatibility (#8697)
  • fix(oauth-provider): fix dist declaration type errors (#8701)
  • fix: prevent revoked sessions from being restored via database fallback (#8708)

Dependency bumps:

  • chore(deps): bump kysely from 0.28.11 to 0.28.12 (#8700)

Docs:

  • docs: add better-auth-devtools to community plugins (#8714)

Skipped commits (already on main via v1.5.5):

Skipped commits (per user request):

  • 20e4561c9 - feat(oauth-provider): public client prelogin endpoint (#8214) -- new feature
  • ac9541a84 - feat(sso): Add logging for when code validation fails (#8693) -- new feature
  • 5648bd868 - feat: agent auth plugin (#8696) -- new feature
  • a846dbcb1 - chore: add warning on agent auth docs -- agent auth related

Verification

  • pnpm lint -- passed
  • pnpm format:check -- passed
  • pnpm typecheck -- 894 errors (identical to main, all pre-existing)
  • Test files affected by cherry-picks hit a pre-existing @better-auth/core/instrumentation resolution issue on main; CI should handle this 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/8715 **Author:** [@himself65](https://github.com/himself65) **Created:** 3/20/2026 **Status:** ✅ Merged **Merged:** 3/20/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `v1.5.6-staging` --- ### 📝 Commits (6) - [`694ad04`](https://github.com/better-auth/better-auth/commit/694ad04435f5dc321e6bd20193f5e8655d9cf725) fix(sso): use namespace import for samlify to fix ESM compatibility (#8697) - [`36c35df`](https://github.com/better-auth/better-auth/commit/36c35df296d9dacdd3b75b415c863b81734240c6) chore(deps): bump kysely from 0.28.11 to 0.28.12 (#8700) - [`138666f`](https://github.com/better-auth/better-auth/commit/138666f7d2c4854468e318a53feb03e587fe4fdc) fix(oauth-provider): fix dist declaration type errors (#8701) - [`51833b8`](https://github.com/better-auth/better-auth/commit/51833b84afababbdf70f154335f85da8ba4e96c0) fix: prevent revoked sessions from being restored via database fallback (#8708) - [`9459876`](https://github.com/better-auth/better-auth/commit/9459876c1431bb760115342a21db12f9a6195ad2) docs: add better-auth-devtools to community plugins (#8714) - [`6d3c93a`](https://github.com/better-auth/better-auth/commit/6d3c93a3d5610739af70a022db165cb6bc2465c8) feat(core): add experimental opentelemetry instrumentation (#8027) ### 📊 Changes **38 files changed** (+1449 additions, -290 deletions) <details> <summary>View changed files</summary> 📝 `.cspell/names.txt` (+1 -0) ➕ `docs/content/docs/reference/instrumentation.mdx` (+87 -0) ➕ `docs/next-env.d.ts` (+6 -0) 📝 `e2e/adapter/package.json` (+1 -1) 📝 `e2e/integration/vanilla-node/package.json` (+1 -1) 📝 `e2e/smoke/test/saml.spec.ts` (+16 -3) 📝 `landing/app/changelog/page.tsx` (+3 -3) 📝 `landing/components/community-plugins-table.tsx` (+11 -0) 📝 `landing/components/sidebar-content.tsx` (+6 -0) 📝 `landing/lib/community-plugins-data.ts` (+11 -0) 📝 `packages/better-auth/package.json` (+4 -1) 📝 `packages/better-auth/src/api/index.ts` (+42 -8) 📝 `packages/better-auth/src/api/to-auth-endpoints.test.ts` (+0 -13) 📝 `packages/better-auth/src/api/to-auth-endpoints.ts` (+8 -17) 📝 `packages/better-auth/src/context/create-context.ts` (+3 -1) 📝 `packages/better-auth/src/context/helpers.ts` (+14 -4) 📝 `packages/better-auth/src/db/internal-adapter.ts` (+10 -2) 📝 `packages/better-auth/src/db/secondary-storage.test.ts` (+108 -0) 📝 `packages/better-auth/src/db/with-hooks.ts` (+143 -42) 📝 `packages/better-auth/src/index.ts` (+1 -0) _...and 18 more files_ </details> ### 📄 Description ## Summary Cherry-pick fixes and docs from canary for v1.5.6 stable release. ### Commits included (5 new, 19 already on main): **Fixes:** - fix(sso): use namespace import for samlify to fix ESM compatibility (#8697) - fix(oauth-provider): fix dist declaration type errors (#8701) - fix: prevent revoked sessions from being restored via database fallback (#8708) **Dependency bumps:** - chore(deps): bump kysely from 0.28.11 to 0.28.12 (#8700) **Docs:** - docs: add better-auth-devtools to community plugins (#8714) ### Skipped commits (already on main via v1.5.5): - 6b921ed25 - docs: fix DatabaseTable type mapping (#8611) - 208f6fdd2 - docs: add Encore integration docs (#7760) - 169c27ed9 - fix(docs): add missing Encore icon (#8663) - 69008867d - docs: soften readme feature grid borders (#8666) - b8febc247 - docs: correct contributor count mismatch (#8667) - e467deba3 - docs: use moonshotai/kimi-k2.5 model for ai-chat (#8674) - af85a6685 - docs: polish community page UX (#8673) - 40b5e23b3 - chore(deps): bump fast-xml-parser from 5.4.1 to 5.5.6 (#8665) - 8304f655a - fix(api): return Response for HTTP request contexts (#7521) - 40e767615 - fix(oauth-provider): improve allowed paths for oauth_query (#8320) - 055657545 - fix(core): prioritize generateId "uuid" over adapter customIdGenerator (#8679) - b1be9cf61 - docs: improve Blog page UI (#8683) - 06e38a442 - fix(organization): filter null organizations (#8694) - 394074a20 - chore: move callout after the intro - b6c36ccea - docs: fix code block formatting in username plugin content (#8690) - ffd2e7e2a - chore: add redirect for legal - 01e98d753 - docs: update hero section (#8709) - 0410a40a2 - docs: improve DatabaseTable UI (#8710) - 7b658fe65 - docs: improve api endpoint component (#8712) ### Skipped commits (per user request): - 20e4561c9 - feat(oauth-provider): public client prelogin endpoint (#8214) -- new feature - ac9541a84 - feat(sso): Add logging for when code validation fails (#8693) -- new feature - 5648bd868 - feat: agent auth plugin (#8696) -- new feature - a846dbcb1 - chore: add warning on agent auth docs -- agent auth related ## Verification - `pnpm lint` -- passed - `pnpm format:check` -- passed - `pnpm typecheck` -- 894 errors (identical to main, all pre-existing) - Test files affected by cherry-picks hit a pre-existing `@better-auth/core/instrumentation` resolution issue on main; CI should handle this 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:42:49 -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#25068