Follow Discord
Sweep 23 Oct 2026 · 21:48Z Build v2.1.310 529 read Stable v2.1.308 Latest v2.1.310 Next v2.1.310 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.310 ·

register_repo_root now rejects symlinks that climb out of their folder

register_repo_root now refuses paths through a symlink whose target climbs out with extra ..; the Bash parser gains a backslash option

You'll notice Improvements
JSON All of v2.1.310
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.310,
ImprovementsSection of the release
What

Two safety changes:

  • register_repo_root, the tool that adds a working directory to a session, now refuses a path that passes through a symlink whose target uses ".." to climb further up beyond its leading "../" parts. A symlink is a file that points to another location, and ".." means the folder above. The refusal has its own reason, link_text_climbs.
  • The parser Claude Code uses to read Bash commands (shell commands) now accepts an option for keeping backslashes inside quotes.
Why

Both tighten security. The first stops a symlink from quietly pointing a registered folder somewhere outside where it appears to be. The second affects how quoted backslashes are read when Claude Code examines a command.

See this entry in the whole of v2.1.310 →

Feedback