Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Expired cache rows are swept server-side

Under the hood
Useful1 Signal2
Sessions

Expired cache entries are swept away server-side, and cache key names must be 1 to 64 characters.

What

A helper was added that deletes key-value cache rows whose expiry has passed, warning rather than failing if the delete errors, and key names are now validated at 1 to 64 characters.

Details
  • The sweep runs as a single delete over rows with an expiry in the past; rows with no expiry are untouched.
  • No condition guards the call site, so the sweep runs whenever that path is reached.
Evidence

DELETE FROM kv WHERE expires_at IS NOT NULL AND expires_at <= now()

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 →