Skip to content

Bump better-auth-cloudflare from 0.2.9 to 0.3.0#115

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

Bump better-auth-cloudflare from 0.2.9 to 0.3.0#115
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/better-auth-cloudflare-0.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 19, 2026

Bumps better-auth-cloudflare from 0.2.9 to 0.3.0.

Release notes

Sourced from better-auth-cloudflare's releases.

v0.3.0

What's Changed

better-auth v1.5 compatibility

Added

  • Native D1 support: New d1Native option on withCloudflare accepts a D1Database binding directly — no Drizzle required.

Changed

  • BREAKING: Peer dependency better-auth minimum raised from ^1.1.21 to ^1.5.0
  • BREAKING: New peer dependency @better-auth/drizzle-adapter (^1.5.0) required when using Drizzle-based database options (d1, postgres, mysql)
  • Bumped zod to ^4.3.0, drizzle-orm to ^0.45.0

Fixed

  • Geolocation silently broken on v1.5+: Session create.before hook returned the mutated object directly, which v1.5 interprets as true and discards mutations. Now returns { data: ... } wrapper.
  • Renamed FieldAttributeDBFieldAttribute and AuthPluginSchemaBetterAuthPluginDBSchema to match upstream renames
  • Migrated drizzle adapter imports from deprecated better-auth/adapters/drizzle to @better-auth/drizzle-adapter
  • Removed any types from session hook and R2 hook parameters

Full Changelog: zpg6/better-auth-cloudflare@v0.2.9...v0.3.0

Changelog

Sourced from better-auth-cloudflare's changelog.

v0.3.0 (2026-04-05)

Added

  • Native D1 support: New d1Native option on withCloudflare accepts a D1Database binding directly — no Drizzle required.

Changed

  • BREAKING: Peer dependency better-auth minimum raised from ^1.1.21 to ^1.5.0
  • BREAKING: New peer dependency @better-auth/drizzle-adapter (^1.5.0) required when using Drizzle-based database options (d1, postgres, mysql)
  • Bumped zod to ^4.3.0, drizzle-orm to ^0.45.0

Fixed

  • Geolocation silently broken on v1.5+: Session create.before hook returned the mutated object directly, which v1.5 interprets as true and discards mutations. Now returns { data: ... } wrapper.
  • Renamed FieldAttributeDBFieldAttribute and AuthPluginSchemaBetterAuthPluginDBSchema to match upstream renames
  • Migrated drizzle adapter imports from deprecated better-auth/adapters/drizzle to @better-auth/drizzle-adapter
  • Removed any types from session hook and R2 hook parameters
Commits
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 19, 2026
Bumps [better-auth-cloudflare](https://github.com/zpg6/better-auth-cloudflare) from 0.2.9 to 0.3.0.
- [Release notes](https://github.com/zpg6/better-auth-cloudflare/releases)
- [Changelog](https://github.com/zpg6/better-auth-cloudflare/blob/main/CHANGELOG.md)
- [Commits](zpg6/better-auth-cloudflare@v0.2.9...v0.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/better-auth-cloudflare-0.3.0 branch from 132a136 to 67c2414 Compare April 27, 2026 20:49
@SocksTheWolf
Copy link
Copy Markdown
Owner

This would need to get the better-auth 1.5 update prepared which looked like it would need more review before being merged in.

I’d also like to wait until 1.5 is stable enough to take this.

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.

1 participant