Sourced from better-auth's releases.
v1.6.28
better-authBug Fixes
- Prevented duplicate session requests during React Suspense retries while preserving revalidation for interrupted refreshes (#10769)
- Restored client plugin declaration compatibility for downstream TypeScript consumers (#10794)
For detailed changes, see the
CHANGELOG.
@better-auth/electronBug Fixes
- Restored client plugin declaration compatibility for downstream TypeScript consumers (#10794)
For detailed changes, see the
CHANGELOG.
@better-auth/expoBug Fixes
- Restored client plugin declaration compatibility for downstream TypeScript consumers (#10794)
For detailed changes, see the
CHANGELOG.Contributors
Thanks to everyone who contributed to this release:
Full changelog:
v1.6.27...v1.6.28v1.6.27
better-authBug Fixes
- Fixed duplicate session requests being made across Suspense retries (#10676)
For detailed changes, see
CHANGELOG
@better-auth/scimBug Fixes
- Fixed auth endpoint types to align with
better-call(#10657)For detailed changes, see
CHANGELOG
... (truncated)
Sourced from better-auth's changelog.
1.6.28
Patch Changes
#10769
773de54Thanks@bytaesu! - Prevent duplicate session requests during transient remounts while ensuring incomplete refreshes are revalidated.#10794
2ad2928Thanks@bytaesu! - Restore client plugin declaration compatibility for downstream TypeScript consumers.Updated dependencies []:
1.6.27
Patch Changes
#10657
2ae491eThanks@bytaesu! - Aligned endpoint and middleware context types with runtime route parameters, and preserved response headers when resolving sessions from endpoint contexts.#10676
90b5093Thanks@bytaesu! - Deduplicate in-flight session requests when React retries a suspended component.Updated dependencies [
2ae491e]:1.6.26
Patch Changes
#10619
9ede805Thanks@jeroenvandermerwe! - Ensure database rate-limit cleanup completes when no background task handler is configured.#10608
5a811f1Thanks@bytaesu! - Pass the email verification type to custom OTP generators after email sign-up.#10605
d8327f1Thanks@XXMOHAMED012! - The email OTP verification check no longer reveals whether an email is registered before the OTP itself is verified.#10513
e2c73fbThanks@mrosberghaus! - FixjwtClient()collapsingcreateAuthClienttype inference when combined with other client plugins such asinferAdditionalFields. Additional user fields (for example onupdateUser) are preserved again.#10635
af50c45Thanks@krish-vachhani! - FixoneTapClient()collapsingcreateAuthClienttype inference when combined with other client plugins. TheoneTapaction is available on the client again.#10633
701cd43Thanks@gustavovalverde! - Minting or reading a JWKS signing key inside an active database transaction now uses the transaction-scoped adapter instead of the root connection. On a single-connection SQLite database with native transactions enabled, this no longer deadlocks, and on Postgres and MySQL the key commits with the surrounding transaction instead of independently of it.
... (truncated)
86faaee
chore: release v1.6.28 (#10796)773de54
fix(client): deduplicate settled session requests during Suspense
retries (#1...c92a1ca
chore: upgrade next to 16.3 (#10787)be47e94
chore: release v1.6.27 (#10686)2ae491e
fix(types): align auth endpoints with better-call (#10657)90b5093
fix(client): deduplicate session requests across suspense retries (#10676)a16b30e
chore: release v1.6.26 (#10521)9ede805
fix(rate-limit): await database cleanup by default (#10619)af50c45
fix(one-tap): preserve client plugin inference with oneTapClient (#10635)222facf
fix(jwt): resolve the transaction-scoped adapter when signing (#10623)