Skip to content

Releases: udecode/better-auth-convex

v0.2.2

01 Oct 08:36

Choose a tag to compare

Patch Changes

  • 0c27fb4: - getSession now accepts an optional userId parameter to skip the getAuthUserId call when the userId is already known

    • getHeaders now accepts an optional session parameter to skip the getSession call when the session is already available

    These changes improve performance by avoiding redundant database queries when the data is already available.

v0.2.1

29 Sep 13:00

Choose a tag to compare

Patch Changes

  • bdb2151: Fix beforeCreate hook validation error

    Previously, the create mutation's input validator required all schema fields to be present, causing validation errors when beforeCreate hooks tried to add required fields like username.

    This fix makes all input fields optional during validation, allowing beforeCreate hooks to add or modify any required fields. The actual schema validation still occurs when inserting into the database, ensuring data integrity.

v0.2.0

29 Sep 08:28

Choose a tag to compare

Minor Changes

  • bfc2ad3: Add beforeCreate, beforeUpdate, and beforeDelete hook support across the Convex adapter so triggers can transform payloads before database writes.

v0.1.1

22 Sep 20:20

Choose a tag to compare

Patch Changes

v0.1.0

22 Sep 19:55

Choose a tag to compare

Minor Changes