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 v0.2.40 ·

Security Enhancements

Entry
JSON All of v0.2.40
EntryKind: in v0.2.40,
ChangesSection of the release

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

See this entry in the whole of v0.2.40 →

Feedback