Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Deeper second pass · 4/5 agents 427 findings $12.75 so far

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 v0.2.40 Home All releases olderv0.2.39 v0.2.41newer
Claude Code v0.2.40

Security Enhancements

URL Validation for WebFetch

  • WebFetch tool now requires URLs to be "provided directly by the user in the current or a previous message"
  • Added URL extraction from user messages to maintain a whitelist of allowed URLs
  • Prevents potential security issues from arbitrary URL fetching

Custom HTTP Headers Support

  • New environment variable ANTHROPIC_CUSTOM_HEADERS for adding custom headers to API requests
  • Supports multi-line header definitions with name: value format
  • Useful for proxy authentication or custom API configurations

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v0.2.40 →