Files
better-auth/packages/passkey/CHANGELOG.md
2026-04-24 06:25:08 +01:00

11 KiB

@better-auth/passkey

1.6.9

Patch Changes

  • Updated dependencies [815ecf6]:
    • @better-auth/core@1.6.9
    • better-auth@1.6.9

1.6.8

Patch Changes

  • #9270 a02e07c Thanks @ping-maxwell! - fix(passkey): restore exactOptionalPropertyTypes: true compatibility

    The passkey registration endpoints emitted use: Middleware[] | undefined in their generated type declarations, which is not assignable to EndpointOptions.use?: Middleware[] under exactOptionalPropertyTypes: true. The plugin no longer satisfied BetterAuthPlugin, which cascaded into lost inference on auth.api.* from unrelated plugins and on authClient.passkey.*. The declarations now emit use: Middleware[]; runtime behavior is unchanged.

    Resolves #9212.

  • Updated dependencies [856ab24, 9aa8e63]:

    • better-auth@1.6.8
    • @better-auth/core@1.6.8

1.6.7

Patch Changes

  • #5209 ec20325 Thanks @ouwargui! - Include user in the /passkey/verify-authentication JSON response so the body matches the endpoint's declared OpenAPI schema and the client-side { session, user } return type.

  • Updated dependencies [307196a, 4a180f0, 4f373ee, e1b1cfc, d053a45]:

    • better-auth@1.6.7
    • @better-auth/core@1.6.7

1.6.6

Patch Changes

1.6.5

Patch Changes

  • Updated dependencies [938dd80, 0538627]:
    • better-auth@1.6.5
    • @better-auth/core@1.6.5

1.6.4

Patch Changes

1.6.3

Patch Changes

1.6.2

Patch Changes

1.6.1

Patch Changes

1.6.0

Minor Changes

Patch Changes

1.6.0-beta.0

Minor Changes

  • 28b1291 Thanks @gustavovalverde! - Add pre-auth registration flow and WebAuthn extension support for passkeys

  • 28b1291 Thanks @gustavovalverde! - Add optional version field to the plugin interface and expose version from all built-in plugins

Patch Changes