Skip to content

Releases: udecode/better-auth-convex

v0.4.7

25 Nov 22:09
d39fe50

Choose a tag to compare

Patch Changes

v0.4.6

25 Nov 20:18
400c90f

Choose a tag to compare

Patch Changes

  • #24 05d0c79 Thanks @zbeyens! - Move createSchema to separate entry point (better-auth-convex/schema) to fix Convex bundler error with Node.js path module

v0.4.5

25 Nov 19:54
48bf9f2

Choose a tag to compare

Patch Changes

v0.4.4

25 Nov 19:42
f9cae78

Choose a tag to compare

Patch Changes

  • b3ec361 Thanks @zbeyens! - Upgrade peer dependencies: @convex-dev/better-auth@>=0.9.7, better-auth@>=1.3.34, convex@>=1.29.3

v0.4.3

12 Nov 13:10
226d5f5

Choose a tag to compare

Patch Changes

  • e7c102d: fix: map Convex table names to Better Auth model keys in isUniqueField

v0.4.2

30 Oct 19:13
753d7e0

Choose a tag to compare

Patch Changes

  • df53a30: Add support for custom mutation builders in createClient and createApi. Both functions now accept an optional internalMutation parameter, allowing you to wrap internal mutations with custom context (e.g., triggers, aggregates, middleware).

    Usage:

    const internalMutation = customMutation(
      internalMutationGeneric,
      customCtx(async (ctx) => ({
        db: triggers.wrapDB(ctx).db,
      }))
    );
    
    // Pass to createClient
    createClient({
      authFunctions,
      schema,
      internalMutation,
      triggers,
    });
    
    // Pass to createApi
    createApi(schema, {
      ...auth.options,
      internalMutation,
    });

v0.4.1

17 Oct 19:21
eae39e9

Choose a tag to compare

Patch Changes

v0.4.0

14 Oct 07:25

Choose a tag to compare

Minor Changes

  • fcbc004: - vendor: @convex-dev/better-auth 0.9.5 and [email protected]

    • fix: swap old and new doc params in onUpdate trigger

      BREAKING CHANGE: 2nd and 3rd params in onUpdate trigger are swapped.
      Previously: onUpdate(ctx, oldDoc, newDoc)
      Now: onUpdate(ctx, newDoc, oldDoc)

v0.3.1

05 Oct 21:11

Choose a tag to compare

Patch Changes

  • 28facf6: Add getAuthUserIdentity helper and improve type safety for session IDs

v0.3.0

03 Oct 17:33

Choose a tag to compare

Minor Changes

  • 23ec28b: - Fix sortBy direction handling in query generation - now correctly applies ascending order when specified
    • fix: use jwt session id for getSession, getHeaders state