Skip to content

Conversation

@zbeyens
Copy link
Member

@zbeyens zbeyens commented Sep 29, 2025

Summary

  • add beforeCreate, beforeUpdate, and beforeDelete hooks so payloads can be transformed ahead of writes
  • propagate the before hook handles through adapters and client trigger APIs
  • add a changeset to release the new hook support

Testing

  • pnpm typecheck

@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2025

🦋 Changeset detected

Latest commit: bfc2ad3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
better-auth-convex Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@zbeyens zbeyens merged commit e0ae7ef into main Sep 29, 2025
1 check passed
@zbeyens zbeyens deleted the feat-before-hooks branch September 29, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants