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.242 ·

One callback can now run just before interactive shutdown

One callback can now run just before an interactive session exits, with errors swallowed quietly.

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

The process lifecycle gained a slot for a single shutdown callback that can be set or cleared, runs once before an interactive session exits, is skipped if shutdown is already under way, and has its errors sent to the error reporter rather than surfaced.

Evidence

runBeforeInteractiveShutdown

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.242 →

Feedback