v1.7.4

Gerstep/cybosv1.7.4Sep 10, 2026by better-release[bot]

Upgrading?

AI Summary

This release adds configuration options for OpenTelemetry instrumentation and brings the testing utilities up to date with Vitest 5. It also includes critical bug fixes for Expo secure storage and session data handling.

Key Highlights

  • Added `experimental.instrumentation.enabled` to disable OpenTelemetry span creation per auth instance
  • Added Vitest 5 support to the testing utilities
  • Fixed multibyte session data storage in Expo SecureStore
  • Fixed stale Expo secure-storage session data and corrupted cookies
  • Fixed Metro bundling when OpenTelemetry API is not installed

New Features

  • Added `experimental.instrumentation.enabled` to disable OpenTelemetry span creation per auth instance
  • Added support for additional session fields in `testUtils` auth helpers
  • Added Vitest 5 support to the testing utilities

Full Release Notes

## `better-auth`

### Features

- Added `experimental.instrumentation.enabled` to disable OpenTelemetry span creation per auth instance. ([#11224](https://github.com/better-auth/better-auth/pull/11224))
- Added support for additional session fields in `testUtils` auth helpers. ([#11217](https://github.com/better-auth/better-auth/pull/11217))
- Added Vitest 5 support to the testing utilities. ([#11205](https://github.com/better-auth/better-auth/pull/11205))

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

## `@better-auth/core`

### Features

- Added `experimental.instrumentation.enabled` to disable OpenTelemetry span creation per auth instance. ([#11224](https://github.com/better-auth/better-auth/pull/11224))

### Bug Fixes

- Fixed Metro bundling when the optional OpenTelemetry API is not installed. ([#11210](https://github.com/better-auth/better-auth/pull/11210))

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

## `@better-auth/expo`

### Bug Fixes

- Fixed multibyte session data storage in Expo SecureStore. ([#11238](https://github.com/better-auth/better-auth/pull/11238))
- Fixed stale Expo secure-storage session data and corrupted cookies during concurrent updates. ([#11200](https://github.com/better-auth/better-auth/pull/11200))

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

## `@better-auth/drizzle-adapter`

### Bug Fixes

- Improved schema validation for the Drizzle Relations v2 adapter. ([#11213](https://github.com/better-auth/better-auth/pull/11213))

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

## `@better-auth/test-utils`

### Features

- Added Vitest 5 support to the testing utilities. ([#11205](https://github.com/better-auth/better-auth/pull/11205))

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

## Contributors

Thanks to everyone who contributed to this release:

@bytaesu, @onmax

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

Related Repositories