[PR #8762] fix(api): align fresh age with session creation time #16444

Closed
opened 2026-04-13 10:31:26 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8762

State: closed
Merged: Yes


Note

freshAge is determined based on createdAt
https://better-auth.com/docs/concepts/session-management#session-freshness

This fixes an inconsistency, but since it changes runtime behavior, it is a breaking change. That said, I consider it a bug fix to align with the documentation.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8762 **State:** closed **Merged:** Yes --- > [!NOTE] > `freshAge` is determined based on `createdAt` > https://better-auth.com/docs/concepts/session-management#session-freshness This fixes an inconsistency, but since it changes runtime behavior, it is a breaking change. That said, I consider it a bug fix to align with the documentation.
GiteaMirror added the pull-request label 2026-04-13 10:31:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16444