v1.6.20

flydelabs/flydev1.6.20Jun 20, 2026by better-release[bot]

AI Summary

This release focuses on bug fixes for the `better-auth` library and its i18n support, resolving issues related to logging, TypeScript type inference, cookie expiration settings, and language fallback logic.

Key Highlights

  • Fixed account-linking logs to route through configured logger
  • Fixed TypeScript inference errors for inherited APIError properties
  • Fixed refresh cookie Max-Age to be capped at expiresIn
  • Fixed English language fallback behavior in i18n package

Full Release Notes

## `better-auth`

### Bug Fixes

- Fixed account-linking logs to route through the configured logger ([#10121](https://github.com/better-auth/better-auth/pull/10121))
- Fixed TypeScript inference errors by declaring inherited `APIError` properties ([#8734](https://github.com/better-auth/better-auth/pull/8734))
- Fixed refresh cookie `Max-Age` to be capped at `expiresIn` ([#9621](https://github.com/better-auth/better-auth/pull/9621))

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

## `@better-auth/i18n`

### Bug Fixes

- Fixed English language fallback behavior and improved i18n documentation ([#9872](https://github.com/better-auth/better-auth/pull/9872))

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

## Contributors

Thanks to everyone who contributed to this release:

@adityachaudhary99, @dipan-ck, @sleepe229, @WilsonnnTan

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