Skip to content

chore(deps): bump better-auth from 1.4.7 to 1.6.0#22

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/better-auth-1.6.0
Open

chore(deps): bump better-auth from 1.4.7 to 1.6.0#22
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/better-auth-1.6.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 8, 2026

Bumps better-auth from 1.4.7 to 1.6.0.

Release notes

Sourced from better-auth's releases.

v1.6.0

Blog post: Better Auth 1.6

better-auth

⚠️ Breaking Changes

Session freshAge aligned with creation timesession.freshAge now calculates from createdAt instead of updatedAt. Previously, any session activity extended the freshness window. (#8762)

// to disable the check entirely:
{ session: { freshAge: 0 } }

oidc-provider deprecated — The oidc-provider plugin emits a one-time deprecation warning. It still works in 1.6 but will be removed in the next major release. (#8985)

- import { oidcProvider } from "better-auth/plugins";
+ import { oauthProvider } from "@better-auth/oauth-provider";

Migration guide →

Features

  • Experimental OpenTelemetry instrumentation for endpoints, hooks, middleware, and database operations (#8027)
  • Non-blocking password hashing via node:crypto.scrypt on Node.js, Bun, and Deno (#8685)
  • Allow passwordless users (magic link, passkey, OAuth) to manage 2FA (#7243)
  • Case-insensitive query support (mode: "insensitive") across all adapters (#8556)
  • Expose plugin version field on all built-in plugins (#8750)
  • Dedicated secret option for OAuth proxy, separate from BETTER_AUTH_SECRET (#8699)
  • FedCM opt-in to suppress Google GSI deprecation warnings (#8720)
  • Read callback params from body for form_post response mode (#8895)
  • enable option for HaveIBeenPwned plugin (#8728)
  • Migrate MCP server URL to mcp.better-auth.com (#8747)
  • Treat omitted required as true in Drizzle and Prisma generators (#8614)
  • Reduce published package sizes (56% for better-auth, 64% for @better-auth/core) (#8884)

Bug Fixes

  • Compare account cookie by provider accountId instead of internal id (#8786)
  • Don't mark redirect APIErrors as span errors (#8850)
  • Prevent any from collapsing base type and client inference (#8981)
  • Set stateless cookieCache maxAge to match session.expiresIn (#8648)
  • Normalize missing resolver path (#8589)
  • Prevent revoked sessions from being restored via database fallback (#8708)
  • Handle throw: true in client session refresh (#8610)
  • Prevent double-hashing of state when storeIdentifier is hashed (#8980)
  • Drizzle adapter failing date transformation (#8289)
  • Generate session id when using secondary storage without database (#8927)
  • Remove deprecated numUpdatedOrDeletedRows from D1 dialect (#8798)
  • Use IS NULL / IS NOT NULL for null value comparisons (#8660)
  • Don't set other username prop in updateUser (#7570)

... (truncated)

Changelog

Sourced from better-auth's changelog.

1.6.0

Minor Changes

Patch Changes

1.6.0-beta.0

... (truncated)

Commits
  • d9b16d2 chore: sync main to next
  • 141781d fix: generate session id when using secondary storage without database (#8927)
  • d666a03 chore: exit pre-release mode for v1.6.0
  • 29d197e chore: sync main to next (#8976)
  • bd9bd58 fix(security): enforce authorization on SCIM management endpoints and normali...
  • 560230f fix(types): prevent any from collapsing base type and client inference (#8981)
  • dd537cb chore(oidc-provider): deprecate plugin in favor of @​better-auth/oauth-provide...
  • 469eee6 fix(oauth): prevent double-hashing of state when storeIdentifier is hashed (#...
  • 475d512 chore: revert better-call v2 migration, downgrade to v1.3.5 (#8973)
  • 73beda2 chore: version packages (beta) (#8945)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for better-auth since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) from 1.4.7 to 1.6.0.
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/better-auth/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/better-auth@1.6.0/packages/better-auth)

---
updated-dependencies:
- dependency-name: better-auth
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants