🚀 Features
- core: Replace ZodType with
@standard-schema/spec- by @himself65 in #5629 (36315) - organization: Refactor organization schema to use BetterAuth types - by @himself65 in #5515 (a58f1)
- session: Use JWE for cookie cache by default - by @himself65 in #5510 (f654b)
🐞 Bug Fixes
- Respect onAPIError.errorURL in OAuth callback flow - by @GautamBytes and @ping-maxwell in #5523 (9c51f)
- Call db hooks when calling
deleteUser- by @ping-maxwell in #5553 (216dc) - Allow user update to handle additional fields and validation - by @Bekacru (9c508)
- Missing email validation - by @ahmedriad1 and @ping-maxwell in #5593 (bf8e9)
- Urls without protocol shouldn't be able to satisfy a wildcard origin - by @Bekacru in #5624 (8b355)
- Use standard validator - by @himself65 in #5627 (285e3)
- docs:
- email-otp:
- Fix openapi schema for /email-otp/verify-email endpoint - by @jonathansamines in #5622 (4eac7)
- expo:
- oidc-provider:
- Use consistent iat claim and allow configurable issuer - by @ephraimduncan and @himself65 in #5508 (7c3c4)
- organization:
- Fix the schema type - by @himself65 in #5512 (eee94)
- RemoveTeamMember breaks for prisma - by @ping-maxwell in #5061 (2a021)
- Correct migration order when dynamicAccessControl is enabled - by @AntonVishal, @ping-maxwell and antonvishal in #5476 (b4145)
- session:
- Refresh cache before it expires - by @himself65 in #5528 (4edec)
- stripe:
- Remove TS error suppression updating getCheckoutSessionParams - by @mohebifar in #5602 (77beb)