You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.333,
Bug FixesSection of the release
What
When Claude Code updates itself, it unpacks files into a staging folder and later cleans up old ones. Before, it removed old entries with a plain delete of everything inside. It can now:
check that the staging folder is a real folder, and skip cleanup if not
check that each entry's name matches the expected pattern
refuse to remove entries that are links
This is controlled by a switch on Anthropic's side.
Why
A link placed in the staging area can no longer lead the cleanup to delete files somewhere else on your computer.