Source Intelligence

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 v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Gateway credentials reworked with a TLS pin store

You'll notice
Useful2 Signal2
Auth

Gateway credential handling reuses pinned entries and gives clearer errors for bad base URLs.

CLAUDE_CODE_USE_GATEWAYANTHROPIC_BASE_URL
What

With CLAUDE_CODE_USE_GATEWAY set, credential handling now runs in its own step before the normal path: it reuses an already-pinned entry when the token matches instead of re-pinning on every call, keeps the previously pinned URL, and reports a bad ANTHROPIC_BASE_URL as a typed error rather than a generic one. Two new messages explain the pin store refusing a credentials file that is a symlink or unreadable.

Details
  • Requires CLAUDE_CODE_USE_GATEWAY together with ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN.
  • The existing warning for a missing base URL or auth token is unchanged.
Evidence

gateway TLS pin store refused: the credentials file is a symlink

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

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 v2.1.242 →