Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.265 ·

SDK query supports waiting for a held OAuth token refresh during shutdown

SDK query can now wait for an in-progress OAuth token refresh before shutting down

Under the hood Internal Changes
JSON All of v2.1.265
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.265,
Internal ChangesSection of the release
What

The SDK's query process gains a waitForHeldOAuthRefresh step. When shutting down, it now checks whether an OAuth token refresh is currently pending; if so, it extends the shutdown safety timer and waits for the refresh to finish before letting shutdown proceed.

Why

This prevents the process from being killed in the middle of refreshing its authentication token, which could otherwise leave the session in a broken authentication state.

See this entry in the whole of v2.1.265 →

Feedback