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

Claude Code v2.1.242 ·

File-history restore rejects invalid session ids

File-history restore now rejects bad session ids instead of copying backups anywhere.

You'll notice Bug Fixes
JSON All of v2.1.242
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
File HistoryArea: what it touches
Bug FixesKind: in v2.1.242,
Bug FixesSection of the release
What

Restoring from file history now validates the target session id before copying backups. An invalid id logs a warning and aborts the copy, so a crafted id cannot steer backup files into a directory of someone else's choosing.

Evidence

"FileHistory: refusing to copy backups on restore (invalid target session id)"

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