Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.227 ·

Scattered globals replaced with resettable state records

Globals became resettable objects, making it possible to restart a session inside a running process.

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

A large mechanical refactor turned dozens of module-level variables into fields on lazily created singleton objects reached through accessors, some with an explicit reset(). Nothing changes for you, but it makes tearing down and restarting a session inside a running process possible.

Details
  • Covers the command fuzzy-search index, shell history, sandbox session flags, artifact and workshop state, plugin and marketplace caches, MCP tool-refresh sequences, terminal layout caching (a per-node cached layout instead of a WeakMap) and several event emitters.
  • The sandbox reset is async and calls the settings-subscription cleanup.
Evidence

sandboxDisabledThisSession

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →

Feedback