Claude Code v2.1.266

3 entries read v2.1.265 → v2.1.266 Markdown Unofficial

The Cloud gateway sign-in error message got trimmed this release, dropping the instructions that used to point to the CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables. Anyone hitting a gateway sign-in failure now sees a shorter message without that variable-by-variable guidance.

Setting CLAUDE_CODE_USE_GATEWAY on its own no longer switches Claude Code into gateway auth mode, closing off a path that previously worked by itself. That variable had directly selected gateway auth, and this release removes that direct effect, so anyone relying on it alone to enable the gateway path will need another way to trigger that mode.

Reading as
Show only
Tier
Names
Pick an entry · j / k steps through · rest on a row to peek
Below the fold

Everything else

Smaller changes and internals, grouped as the pipeline found them. Nothing is dropped, it is only further down.

1 entry

Improvementsopen

Improved
You'll notice
Useful1 Signal1
Elsewhere

Cloud gateway sign-in error message shortened#

The Cloud gateway sign-in error message dropped its instructions for CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN

Details 0 0 Feedback
/loginCLAUDE_CODE_USE_GATEWAYANTHROPIC_BASE_URLANTHROPIC_AUTH_TOKEN
What

When Claude Code isn't signed in to the Cloud gateway (a routing option for sending requests through a proxy), it shows an error telling you to run /login. That error no longer includes the extra parenthetical note about using CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN as an alternative way to configure access.

Why

The error message is now shorter and points only to /login as the fix, rather than also listing environment-variable alternatives.

Related

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

1 entry

Internal Changesopen

·Internal
Under the hood
Useful1 Signal0
Elsewhere

Routine version bump to 2.1.266#

Claude Code's version number moved to 2.1.266, with a matching new build time and commit SHA

Details 0 0 Feedback
What

The build stamp changed from 2.1.265 to 2.1.266. Everywhere Claude Code reports its own version, build time or commit hash now shows the new values, including --version output, update messages, user-agent strings, feedback templates, daemon logs and sourcemap group names.

Why

This is a routine release marker update. Nothing about how Claude Code behaves changed, only the numbers and identifiers it reports about itself.

Related

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

1 entry

Removedopen

Removed
You'll notice
Useful2 Signal3
Cloud Gateway unclear

CLAUDE_CODE_USE_GATEWAY no longer selects gateway auth mode directly#

Setting CLAUDE_CODE_USE_GATEWAY alone no longer switches Claude Code into gateway auth mode

Unclear the finding doesn't say what, if anything, now determines gateway mode instead, or whether another condition must accompany this variable

Details 0 0 Feedback
CLAUDE_CODE_USE_GATEWAY
What

Claude Code picks an authentication provider internally, such as bedrock, vertex, mantle, firstParty or gateway. Previously, if none of the other provider settings matched, having the CLAUDE_CODE_USE_GATEWAY environment variable set was enough on its own to fall back to gateway mode. That fallback branch has been removed.

Why

Setting CLAUDE_CODE_USE_GATEWAY by itself will no longer cause Claude Code to use the Cloud gateway; anyone relying on that variable alone to select gateway mode should check what else is now required.

Related

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

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.266. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

Of these 1 bullets, 1 name something an entry on this page also names, 0 name something no entry here does, and 0 name nothing specific enough to line up either way. The pairings are made on names both sides wrote down, a flag or a setting or a slash command, so read one as probably the same thing rather than as a fact, and read the middle number as candidates rather than as a miss count.

System prompt

No change to the system prompt since v2.1.265.

Claude Code, interactive mode

Documentation

What the docs did around this release

282 documentation changes were recorded within 24 hours either side of this release, nearest first. The closest 12 are below. They're here because they happened near this release in time. That's not a claim that this release caused the edit, or that the page documents anything in it.

Every time above is when this site's poller recorded the change, which is up to half an hour after the edit on an ordinary read and up to a day after it on a full sweep. Upstream's own edit time is used instead wherever a capture carries one. None of these do.

Switches

Every name in this release

The 4 literal strings found in the bundle, with the number of entries that name each one. Picking one searches for it. A name is here because this build's code mentions it, which is not the same as it working or being finished.

Slash commands

Environment variables