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.228 ·

api-key header is now redacted in logs

An API key sent in the api-key header is now masked in logs.

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

Header dumps mask api-key alongside authorization, x-api-key, cookie and set-cookie, so an API key passed in that header no longer appears in logs.

Details
  • The socket messaging mismatch warning also passes the message type and session id through a sanitizer before logging.
Evidence

t.toLowerCase() === "api-key"

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.228 →

Feedback