2.1.266

Claude Code 2.1.266 - リリースノート

2026年9月8日
Claude Code

日本語サマリー

Claude Code 2.1.266 リリースノート要約

概要

本バージョンは 2.1.265 で発生した回帰バグ(regression)の修正 が中心です。破壊的変更やセキュリティ修正はありません。

変更点

  • LLM-gateway / プロキシ設定の回帰バグを修正
    • 非公式の CLAUDE_CODE_USE_GATEWAY 環境変数に関する 2.1.265 での不具合を解消
    • 従来は ANTHROPIC_BASE_URL と ANTHROPIC_AUTH_TOKEN の両方が設定されている場合のみ有効だったが、2.1.265 では単独で Cloud-gateway へのサインインを強制するようになっていた
    • その結果、API キー、apiKeyHelper、またはカスタム認証ヘッダーと併用していた構成では、すべてのリクエストが「Not signed in to the Cloud gateway」エラーで失敗していた
    • 本バージョンでは、この変数が単独で設定されている場合は再び無視されるようになり、設定変更は不要

原文(Release Notes)

What's changed

  • Fixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented CLAUDE_CODE_USE_GATEWAY environment variable, previously ignored unless ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN were both set, began forcing Cloud-gateway sign-in on its own in 2.1.265, so configurations that set it alongside an API key, apiKeyHelper, or custom auth headers failed every request with "Not signed in to the Cloud gateway". The variable on its own is ignored again; no configuration change is needed