Packages

@better-auth/drizzle-adapter

1.7.12 · 20 Oct 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed

54 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.7.12

    20 Oct 2026
    • Fixed the JWT plugin to verify JWTs and session cookie-cache JWTs with the stored key's algorithm instead of the token header's, and to warn when signing or verifying a JWT without an issuer or audience

    • Fixed OAuth callbacks completed through the OAuth proxy to run the same checks as the standard OAuth callback, including issuer and ID token nonce validation

    • Fixed auth.api.getSession() to keep the original database error as error.cause when the session lookup fails

  2. 1.7.11

    19 Oct 2026
    • Fixed repeated PostgreSQL migration diffs for int8 columns.

    • Fixed database-backed rate limiting returning an excessively large X-Retry-After value.

    • Fixed plugin init returns with options: undefined failing type checks under exactOptionalPropertyTypes.

  3. 1.7.10

    15 Oct 2026
    • Fixed Captcha and OpenAPI plugin subpath imports and type resolution for better-auth/plugins/multi-session and better-auth/test.

    • Fixed Google One Tap sign-ins not recording google as the last login method.

    • Fixed imports from better-auth/plugins/one-tap failing with a not-exported error.

  4. 1.7.9

    15 Oct 2026
    • Fixed onAPIError.onError handlers to finish before responses are sent and log failures without interrupting requests

    • Added isContinuation to postLogin.shouldRedirect so users can complete authorization after selecting an organization

    • Fixed DPoP validation for token and UserInfo requests behind proxies that rewrite request URLs

  5. 1.7.8

    14 Oct 2026
    • Aligned @better-auth/utils and better-call dependency versions across official packages

    • Fixed Drizzle sign-in, session refresh, and date filtering with string-based date columns

  6. 1.7.7

    30 Sep 2026
    • Fixed concurrent PostgreSQL requests exceeding database-backed rate limits.

  7. 1.7.6

    24 Sep 2026
    • Fixed model identity when a custom model name matches another schema key.

  8. 1.7.5

    14 Sep 2026
    • Fixed lazy database initialization when using Drizzle relations.

  9. 1.7.4

    10 Sep 2026
    • Improved schema validation for the Drizzle Relations v2 adapter.

  10. 1.7.3

    6 Sep 2026
    • Added initialization-time schema validation and actionable mismatch guidance for Drizzle and Prisma adapters.

  11. 1.7.2

    26 Aug 2026
    • Fixed one-to-one Drizzle relations when usePlural is enabled.

    • Added validation for missing Drizzle schema fields in compound where clauses.

  12. 1.7.1

    18 Aug 2026
    • Added native database transaction support to test instances for PostgreSQL and MySQL.

    • Updated bundled dependencies (jose, nanostores, noble crypto packages, SimpleWebAuthn) to their latest compatible releases, with no changes required to existing projects.

    • Fixed case-insensitive parsing of string Boolean values for SCIM User active and the primary sub-attribute of emails, phoneNumbers, addresses, roles, and entitlements at the HTTP ingress, improving Microsoft Entra interoperability.

  13. 1.7.0

    18 Aug 2026
    • breaking

      Moved database joins out of experimental into the stable advanced.database.joins option

      Migration: Replace experimental: { joins: true } with advanced: { database: { joins: true } }, and regenerate the schema (npx auth@latest generate) so it includes the required relations.

    • Added compound table indexes to plugin database schemas

    • Added a relations-v2 entry point for projects using Drizzle Relations v2

  14. 1.6.33

    14 Sep 2026
    • Fixed database option type inference for projects that do not use Cloudflare Workers.

  15. 1.6.32

    14 Sep 2026
    • Improved diagnostics for Cloudflare Turnstile verification failures

  16. 1.6.31

    10 Sep 2026
    • Added an option to disable OpenTelemetry span creation for individual auth instances

    • Added an option to disable OpenTelemetry span creation for individual auth instances

  17. 1.6.30

    17 Aug 2026
    • Fixed concurrent cold-start requests from intermittently losing authentication or transaction context due to an async storage initialization race

    • Fixed automatic organization assignment via email domain to require both a verified provider domain and a verified stored user email, preventing social sign-in from joining an organization whose SSO provider merely claims that domain.

    • Fixed domain verification to snapshot the provider's domains at request start, returning 409 with SSO_PROVIDER_CHANGED if the provider changes during DNS resolution so callers can reload and retry.

  18. 1.6.29

    14 Aug 2026
    • Improved deleteSessions performance by running deletes in parallel instead of sequentially

    • Fixed automatic email-domain organization assignment to require both a verified provider domain and a verified user email, preventing social sign-in from granting access when an SSO provider merely claims a domain.

    • Fixed domain verification to snapshot the provider's domains at request start, returning 409 with SSO_PROVIDER_CHANGED if the provider changes during DNS verification so callers can reload and retry.

  19. 1.6.28

    13 Aug 2026
    • Prevented duplicate session requests during React Suspense retries while preserving revalidation for interrupted refreshes

    • Restored client plugin declaration compatibility for downstream TypeScript consumers

    • Restored client plugin declaration compatibility for downstream TypeScript consumers

  20. 1.6.27

    11 Aug 2026
    • Fixed duplicate session requests being made across Suspense retries

    • Fixed auth endpoint types to align with better-call

    • Fixed the CLI to align installed packages with the running CLI version

  21. 1.6.26

    4 Aug 2026
    • Fixed session cleanup on user deletion to also remove sessions from secondary storage

    • Fixed findSessions to skip invalid secondary-storage session entries without discarding other valid sessions

    • Fixed email OTP sign-up to pass the verification type to custom OTP generators

  22. 1.6.25

    23 Jul 2026

    Reading the note…

  23. 1.6.24

    22 Jul 2026

    Reading the note…

  24. 1.6.23

    29 Jun 2026

    Reading the note…

  25. 1.6.22

    26 Jun 2026

    Reading the note…

  26. 1.6.21

    26 Jun 2026

    Reading the note…

  27. 1.6.20

    20 Jun 2026

    Reading the note…

  28. 1.6.19

    16 Jun 2026

    Reading the note…

  29. 1.6.18

    12 Jun 2026

    Reading the note…

  30. 1.6.17

    12 Jun 2026

    Reading the note…

  31. 1.6.16

    10 Jun 2026

    Reading the note…

  32. 1.6.15

    8 Jun 2026

    Reading the note…

  33. 1.6.14

    2 Jun 2026

    Reading the note…

  34. 1.6.13

    31 May 2026

    Reading the note…

  35. 1.6.12

    29 May 2026

    Reading the note…

  36. 1.6.11

    12 May 2026

    Reading the note…

  37. 1.6.10

    9 May 2026

    Reading the note…

  38. 1.6.9

    24 Apr 2026

    Reading the note…

  39. 1.6.8

    23 Apr 2026

    Reading the note…

  40. 1.6.7

    22 Apr 2026

    Reading the note…

  41. 1.6.6

    21 Apr 2026

    Reading the note…

  42. 1.6.5

    16 Apr 2026

    Reading the note…

  43. 1.6.4

    15 Apr 2026

    Reading the note…

  44. 1.6.3

    14 Apr 2026

    Reading the note…

  45. 1.6.2

    9 Apr 2026

    Reading the note…

  46. 1.6.1

    8 Apr 2026

    Reading the note…

  47. 1.6.0

    6 Apr 2026

    Reading the note…

  48. 1.5.6

    22 Mar 2026

    Reading the note…

  49. 1.5.5

    11 Mar 2026

    Reading the note…

  50. 1.5.4

    6 Mar 2026

    Reading the note…