[PR #9175] [MERGED] chore: release v1.6.4 #25388

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9175
Author: @better-release[bot]
Created: 4/14/2026
Status: Merged
Merged: 4/15/2026
Merged by: @gustavovalverde

Base: mainHead: changeset-release/main


📝 Commits (1)

📊 Changes

43 files changed (+193 additions, -43 deletions)

View changed files

.changeset/fix-revert-2fa-broadening.md (+0 -9)
.changeset/force-allow-id-uuid.md (+0 -5)
.changeset/tighten-adapter-peerdeps.md (+0 -9)
📝 packages/api-key/CHANGELOG.md (+8 -0)
📝 packages/api-key/package.json (+1 -1)
📝 packages/better-auth/CHANGELOG.md (+25 -0)
📝 packages/better-auth/package.json (+1 -1)
📝 packages/cli/CHANGELOG.md (+9 -0)
📝 packages/cli/package.json (+1 -1)
📝 packages/core/CHANGELOG.md (+2 -0)
📝 packages/core/package.json (+1 -1)
📝 packages/drizzle-adapter/CHANGELOG.md (+11 -0)
📝 packages/drizzle-adapter/package.json (+1 -1)
📝 packages/electron/CHANGELOG.md (+8 -0)
📝 packages/electron/package.json (+1 -1)
📝 packages/expo/CHANGELOG.md (+8 -0)
📝 packages/expo/package.json (+1 -1)
📝 packages/i18n/CHANGELOG.md (+8 -0)
📝 packages/i18n/package.json (+1 -1)
📝 packages/kysely-adapter/CHANGELOG.md (+11 -0)

...and 23 more files

📄 Description

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@better-auth/api-key@1.6.4

Patch Changes

better-auth@1.6.4

Patch Changes

  • #9205 9aed910 Thanks @gustavovalverde! - fix(two-factor): revert enforcement broadening from #9122

    Restores the pre-#9122 enforcement scope. 2FA is challenged only on /sign-in/email, /sign-in/username, and /sign-in/phone-number, matching the behavior that shipped through v1.6.2. Non-credential sign-in flows (magic link, email OTP, OAuth, SSO, passkey, SIWE, one-tap, phone-number OTP, device authorization, email-verification auto-sign-in) are no longer gated by a 2FA challenge by default.

    A broader enforcement scope with per-method opt-outs and alignment to NIST SP 800-63B-4 authenticator assurance levels is planned for a future minor release.

  • #9068 acbd6ef Thanks @GautamBytes! - Fix forced UUID user IDs from create hooks being ignored on PostgreSQL adapters when advanced.database.generateId is set to "uuid".

  • #9165 39d6af2 Thanks @gustavovalverde! - chore(adapters): require patched drizzle-orm and kysely peer versions

    Narrows the drizzle-orm peer to ^0.45.2 and the kysely peer to ^0.28.14. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail.

  • Updated dependencies [39d6af2]:

    • @better-auth/drizzle-adapter@1.6.4
    • @better-auth/kysely-adapter@1.6.4
    • @better-auth/core@1.6.4
    • @better-auth/memory-adapter@1.6.4
    • @better-auth/mongo-adapter@1.6.4
    • @better-auth/prisma-adapter@1.6.4
    • @better-auth/telemetry@1.6.4

auth@1.6.4

Patch Changes

  • Updated dependencies [9aed910, acbd6ef, 39d6af2]:
    • better-auth@1.6.4
    • @better-auth/core@1.6.4
    • @better-auth/telemetry@1.6.4

@better-auth/drizzle-adapter@1.6.4

Patch Changes

  • #9165 39d6af2 Thanks @gustavovalverde! - chore(adapters): require patched drizzle-orm and kysely peer versions

    Narrows the drizzle-orm peer to ^0.45.2 and the kysely peer to ^0.28.14. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail.

  • Updated dependencies []:

    • @better-auth/core@1.6.4

@better-auth/electron@1.6.4

Patch Changes

@better-auth/expo@1.6.4

Patch Changes

@better-auth/i18n@1.6.4

Patch Changes

@better-auth/kysely-adapter@1.6.4

Patch Changes

  • #9165 39d6af2 Thanks @gustavovalverde! - chore(adapters): require patched drizzle-orm and kysely peer versions

    Narrows the drizzle-orm peer to ^0.45.2 and the kysely peer to ^0.28.14. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail.

  • Updated dependencies []:

    • @better-auth/core@1.6.4

@better-auth/memory-adapter@1.6.4

Patch Changes

  • Updated dependencies []:
    • @better-auth/core@1.6.4

@better-auth/mongo-adapter@1.6.4

Patch Changes

  • Updated dependencies []:
    • @better-auth/core@1.6.4

@better-auth/oauth-provider@1.6.4

Patch Changes

@better-auth/passkey@1.6.4

Patch Changes

@better-auth/prisma-adapter@1.6.4

Patch Changes

  • Updated dependencies []:
    • @better-auth/core@1.6.4

@better-auth/redis-storage@1.6.4

Patch Changes

  • Updated dependencies []:
    • @better-auth/core@1.6.4

@better-auth/scim@1.6.4

Patch Changes

@better-auth/sso@1.6.4

Patch Changes

@better-auth/stripe@1.6.4

Patch Changes

@better-auth/telemetry@1.6.4

Patch Changes

  • Updated dependencies []:
    • @better-auth/core@1.6.4

@better-auth/test-utils@1.6.4

Patch Changes

@better-auth/core@1.6.4


🔄 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/9175 **Author:** [@better-release[bot]](https://github.com/apps/better-release) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/15/2026 **Merged by:** [@gustavovalverde](https://github.com/gustavovalverde) **Base:** `main` ← **Head:** `changeset-release/main` --- ### 📝 Commits (1) - [`94f3857`](https://github.com/better-auth/better-auth/commit/94f3857c60d21ee8d92ddee8b7ada7c259467097) chore: release ### 📊 Changes **43 files changed** (+193 additions, -43 deletions) <details> <summary>View changed files</summary> ➖ `.changeset/fix-revert-2fa-broadening.md` (+0 -9) ➖ `.changeset/force-allow-id-uuid.md` (+0 -5) ➖ `.changeset/tighten-adapter-peerdeps.md` (+0 -9) 📝 `packages/api-key/CHANGELOG.md` (+8 -0) 📝 `packages/api-key/package.json` (+1 -1) 📝 `packages/better-auth/CHANGELOG.md` (+25 -0) 📝 `packages/better-auth/package.json` (+1 -1) 📝 `packages/cli/CHANGELOG.md` (+9 -0) 📝 `packages/cli/package.json` (+1 -1) 📝 `packages/core/CHANGELOG.md` (+2 -0) 📝 `packages/core/package.json` (+1 -1) 📝 `packages/drizzle-adapter/CHANGELOG.md` (+11 -0) 📝 `packages/drizzle-adapter/package.json` (+1 -1) 📝 `packages/electron/CHANGELOG.md` (+8 -0) 📝 `packages/electron/package.json` (+1 -1) 📝 `packages/expo/CHANGELOG.md` (+8 -0) 📝 `packages/expo/package.json` (+1 -1) 📝 `packages/i18n/CHANGELOG.md` (+8 -0) 📝 `packages/i18n/package.json` (+1 -1) 📝 `packages/kysely-adapter/CHANGELOG.md` (+11 -0) _...and 23 more files_ </details> ### 📄 Description This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @better-auth/api-key@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## better-auth@1.6.4 ### Patch Changes - [#9205](https://github.com/better-auth/better-auth/pull/9205) [`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - fix(two-factor): revert enforcement broadening from [#9122](https://github.com/better-auth/better-auth/issues/9122) Restores the pre-[#9122](https://github.com/better-auth/better-auth/issues/9122) enforcement scope. 2FA is challenged only on `/sign-in/email`, `/sign-in/username`, and `/sign-in/phone-number`, matching the behavior that shipped through v1.6.2. Non-credential sign-in flows (magic link, email OTP, OAuth, SSO, passkey, SIWE, one-tap, phone-number OTP, device authorization, email-verification auto-sign-in) are no longer gated by a 2FA challenge by default. A broader enforcement scope with per-method opt-outs and alignment to NIST SP 800-63B-4 authenticator assurance levels is planned for a future minor release. - [#9068](https://github.com/better-auth/better-auth/pull/9068) [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09) Thanks [@GautamBytes](https://github.com/GautamBytes)! - Fix forced UUID user IDs from create hooks being ignored on PostgreSQL adapters when `advanced.database.generateId` is set to `"uuid"`. - [#9165](https://github.com/better-auth/better-auth/pull/9165) [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - chore(adapters): require patched `drizzle-orm` and `kysely` peer versions Narrows the `drizzle-orm` peer to `^0.45.2` and the `kysely` peer to `^0.28.14`. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail. - Updated dependencies \[[`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - @better-auth/drizzle-adapter@1.6.4 - @better-auth/kysely-adapter@1.6.4 - @better-auth/core@1.6.4 - @better-auth/memory-adapter@1.6.4 - @better-auth/mongo-adapter@1.6.4 - @better-auth/prisma-adapter@1.6.4 - @better-auth/telemetry@1.6.4 ## auth@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 - @better-auth/telemetry@1.6.4 ## @better-auth/drizzle-adapter@1.6.4 ### Patch Changes - [#9165](https://github.com/better-auth/better-auth/pull/9165) [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - chore(adapters): require patched `drizzle-orm` and `kysely` peer versions Narrows the `drizzle-orm` peer to `^0.45.2` and the `kysely` peer to `^0.28.14`. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail. - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/electron@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/expo@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/i18n@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/kysely-adapter@1.6.4 ### Patch Changes - [#9165](https://github.com/better-auth/better-auth/pull/9165) [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9) Thanks [@gustavovalverde](https://github.com/gustavovalverde)! - chore(adapters): require patched `drizzle-orm` and `kysely` peer versions Narrows the `drizzle-orm` peer to `^0.45.2` and the `kysely` peer to `^0.28.14`. Both new ranges track the minor line that carries the vulnerability fix and nothing newer, so the adapters only advertise support for versions that have actually been tested against. Consumers on older ORM releases see an install-time warning and can upgrade alongside the adapter; the peer is marked optional, so installs do not hard-fail. - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/memory-adapter@1.6.4 ### Patch Changes - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/mongo-adapter@1.6.4 ### Patch Changes - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/oauth-provider@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/passkey@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/prisma-adapter@1.6.4 ### Patch Changes - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/redis-storage@1.6.4 ### Patch Changes - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/scim@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/sso@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/stripe@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/telemetry@1.6.4 ### Patch Changes - Updated dependencies \[]: - @better-auth/core@1.6.4 ## @better-auth/test-utils@1.6.4 ### Patch Changes - Updated dependencies \[[`9aed910`](https://github.com/better-auth/better-auth/commit/9aed910499eb4cbc3dd0c395ff5534893daab7a4), [`acbd6ef`](https://github.com/better-auth/better-auth/commit/acbd6ef69f88ea54174446ac0465a426bad7ca09), [`39d6af2`](https://github.com/better-auth/better-auth/commit/39d6af2a392dc41018a036d1d909dc48c09749c9)]: - better-auth@1.6.4 - @better-auth/core@1.6.4 ## @better-auth/core@1.6.4 --- <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:51:52 -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#25388