Handle unrecoverable session errors in getOAuthSession
Return null instead of throwing for expired/revoked/corrupt sessions, and clean up dead session data from storage. Only re-throw transient NetworkError so callers can decide whether to retry.
···2233All notable changes to this project will be documented in this file.
4455+## [2.10.0] - 2026-02-18
66+77+### Changed
88+99+- **`getOAuthSession` handles unrecoverable errors gracefully**: Instead of
1010+ re-throwing all errors from the underlying OAuth client's `restore()` method,
1111+ `getOAuthSession` now returns `null` for unrecoverable session errors (expired
1212+ tokens, revoked tokens, corrupt data, deserialization failures) and cleans up
1313+ the dead session from storage. Only transient `NetworkError` is re-thrown so
1414+ callers can decide whether to retry. This eliminates the need for consumers to
1515+ string-match on error messages to distinguish expected session failures from
1616+ bugs.
1717+518## [2.9.0] - 2026-02-15
619720### Added