v1.7.4: OpenTelemetry configuration, Vitest 5 support, and stability fixes
This release adds experimental OpenTelemetry instrumentation controls, Vitest 5 support for testing utilities, and fixes critical bugs including Metro bundling issues, multibyte session storage in Expo, and stale session data problems during concurrent updates.
better-auth
Features
- Added
experimental.instrumentation.enabledto disable OpenTelemetry span creation per auth instance. (#11224) - Added support for additional session fields in
testUtilsauth helpers. (#11217) - Added Vitest 5 support to the testing utilities. (#11205)
For detailed changes, see CHANGELOG
@better-auth/core
Features
- Added
experimental.instrumentation.enabledto disable OpenTelemetry span creation per auth instance. (#11224)
Bug Fixes
- Fixed Metro bundling when the optional OpenTelemetry API is not installed. (#11210)
For detailed changes, see CHANGELOG
@better-auth/expo
Bug Fixes
- Fixed multibyte session data storage in Expo SecureStore. (#11238)
- Fixed stale Expo secure-storage session data and corrupted cookies during concurrent updates. (#11200)
For detailed changes, see CHANGELOG
@better-auth/drizzle-adapter
Bug Fixes
- Improved schema validation for the Drizzle Relations v2 adapter. (#11213)
For detailed changes, see CHANGELOG
@better-auth/test-utils
Features
- Added Vitest 5 support to the testing utilities. (#11205)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v1.7.3...v1.7.4
Source: original entry ↗
More from Better Auth
Follow Better Auth to get its new changes in your feed and email digest.
v1.7.11 - Multiple bug fixes across auth packages
Patch release addressing multiple stability issues including PostgreSQL migration diffs, rate limiting header values, OAuth provider schema validation, and social account linking with ID tokens across better-auth packages.
v1.8.0-beta.1 Release
Better Auth v1.8.0-beta.1 includes a browser account chooser for Google sign-in using FedCM, fixes for preserving required fields in Drizzle adapter v2 schemas, and support for client_credentials scopes in OAuth provider client registration.
v1.8.0-beta.0 Release
Major update to Better Auth with significant breaking changes to device-code approval flows, OAuth token handling, and consent recording. Includes new CIBA support, OAuth token exchange, and improved polling behavior for concurrent requests.