2.1.122
Claude Code 2.1.122 - リリースノート
2026年4月28日
Claude Code
日本語サマリー
以下は Claude Code v2.1.122 のリリースノート要約です。
⚠️ 重要な修正(破壊的変更・バグ修正)
- 画像サイズの誤り修正: 新しいモデルに対して画像が誤って 2576px にリサイズされていた問題を修正(正しくは最大 2000px)
- 外部APIエラー修正: Vertex AI / Bedrock で構造化出力クエリ(セッションタイトル生成など)が
invalid_request_errorで失敗する問題を解決 - ブランチフォークエラー修正: タイムラインを巻き戻したセッションから
/branchでフォークすると「tool_use ids were found without tool_result blocks」エラーで失敗する問題を修正 - Bashモード修正:
!exit/!quitがシェルコマンドとして実行されず CLI を終了させてしまう問題を修正 - プロキシ環境でのエラー修正: プロキシ経由のユーザーに対して Vertex AI の
count_tokensエンドポイントが 400 エラーを返す問題を解決
🚀 主な新機能・変更点
- Bedrock サービスティア選択:
ANTHROPIC_BEDROCK_SERVICE_TIER環境変数(default,flex,priority)をサポート - セッション検索の改善:
/resume検索ボックスにPR URLをペーストすると、そのPRを作成したセッションを検索可能に(GitHub / GitLab / Bitbucket 対応) - OpenTelemetry 拡張: 数値属性を文字列ではなく数値として出力するよう変更。
@-メンション解決用のclaude_code.at_mentionログイベントを追加 - MCP 表示の改善:
/mcpで重複する手動追加サーバーがある場合、非表示になった claude.ai コネクタを表示するように改善
原文(Release Notes)
What's changed
- Added
ANTHROPIC_BEDROCK_SERVICE_TIERenvironment variable to select a Bedrock service tier (default,flex, orpriority), sent as theX-Amzn-Bedrock-Service-Tierheader- Pasting a PR URL into the
/resumesearch box now finds the session that created that PR (GitHub, GitHub Enterprise, GitLab, and Bitbucket)/mcpnow shows claude.ai connectors hidden by a manually-added server with the same URL, with a hint to remove the duplicate- Clarified the
/mcpmessage shown when an MCP server is still unauthorized after the browser sign-in flow- OpenTelemetry: numeric attributes on
api_request/api_errorlog events are now emitted as numbers, not strings- OpenTelemetry: added
claude_code.at_mentionlog event for@-mention resolution- Fixed
/branchproducing forks that fail with "tool_use ids were found without tool_result blocks" when the source session contained entries from rewound timelines- Fixed
/modelnot showing the Effort option for Bedrock application inference profile ARNs, and those ARNs not receivingoutput_config.effort- Fixed Vertex AI / Bedrock returning
invalid_request_error: output_config: Extra inputs are not permittedon session-title generation and other structured-output queries- Fixed Vertex AI
count_tokensendpoint returning 400 errors for users behind proxy gateways- Fixed
spinnerTipsOverride.excludeDefaultnot suppressing the time-based spinner tips- Fixed ToolSearch missing MCP tools that connected after session start in nonblocking mode
- Fixed
!exit/!quitin bash mode terminating the CLI instead of running as a shell command- Fixed images sent to newer models being resized to 2576px per side instead of the correct 2000px maximum
- Fixed remote control session idle status redrawing twice per second, which could flood
tmux -CCcontrol pipes and pause the terminal- Fixed assistant messages appearing blank in some sessions due to a stale view preference
- Fixed a malformed hooks entry in
settings.jsonno longer invalidating the entire file- Voice mode: keybindings bound to Caps Lock now show an error since terminals don't deliver Caps Lock as a key event