releases.sh

Expired tokens now refresh; refresh_token no longer dropped

ctx7@0.5.8

August 11, 2026context7View original ↗
2 fixesThis release2 fixesBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Patch Changes

  • 91dea9f: Fix ctx7 library, ctx7 docs and ctx7 skills suggest silently falling back to anonymous requests when the stored OAuth token expires, which surfaced misleading quota errors for authenticated users. ctx7 generate no longer forces a full interactive re-login when the token can be refreshed instead. All four commands now go through getValidAccessToken(), which refreshes expired credentials.

    A successful refresh also keeps the stored refresh_token when the server omits one from the response, as permitted by RFC 6749 §6. Previously the response was written verbatim, so the refresh token was dropped and the user was silently logged out at the next expiry.

Fetched August 11, 2026

Expired tokens now refresh; refresh_token no longer… — releases.sh