v1.6.30

pyannote/pyannote-audiov1.6.30Aug 17, 2026by better-release[bot]

AI Summary

This release focuses on stability and security improvements for the better-auth and @better-auth/sso packages. It addresses race conditions in authentication context and refines Single Sign-On (SSO) logic to ensure stricter domain verification and organization assignment.

Key Highlights

  • Fixed concurrent cold-start requests in better-auth that intermittently lost authentication or transaction context due to an async storage race condition.
  • Enhanced SSO security by requiring both a verified provider domain and a verified stored user email for organization assignment via email domain.
  • Improved domain verification in @better-auth/sso to snapshot provider domains at request start, returning a 409 error if the provider changes during DNS resolution.

Full Release Notes

## `better-auth`

### Bug Fixes

- Fixed concurrent cold-start requests from intermittently losing authentication or transaction context due to an async storage initialization race ([#10833](https://github.com/better-auth/better-auth/pull/10833))

For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/e84ec5e76d30e10fd692e8084177360484d538c1/packages/better-auth/CHANGELOG.md)

## `@better-auth/sso`

### Bug Fixes

- Fixed automatic organization assignment via email domain to require both a verified provider domain and a verified stored user email, preventing social sign-in from joining an organization whose SSO provider merely claims that domain.
- Fixed domain verification to snapshot the provider's domains at request start, returning `409` with `SSO_PROVIDER_CHANGED` if the provider changes during DNS resolution so callers can reload and retry.

For detailed changes, see [`CHANGELOG`](https://github.com/better-auth/better-auth/blob/e84ec5e76d30e10fd692e8084177360484d538c1/packages/sso/CHANGELOG.md)

## Contributors

Thanks to everyone who contributed to this release:

@bytaesu

**Full changelog:** [`v1.6.29...v1.6.30`](https://github.com/better-auth/better-auth/compare/v1.6.29...v1.6.30)