Skip to content
DE

Claude Code v2.1.331

Anthropic (official)

Image: Anthropic

Original text · release notes · Anthropic

What's changed

  • Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS
  • Added oidc.groups_jsonpath to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535)
  • Added an API connectivity section to claude doctor that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested
  • Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit
  • Added CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control
  • Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 for Claude apps gateways: with oidc.use_proxy: true, sign-in requests hand the proxy an https IdP's hostname even with NO_PROXY set
  • Added gen_ai.usage., gen_ai.response.model and gen_ai.operation.name to claude_code.llm_request trace spans; gen_ai.usage.input_tokens includes prompt cache tokens
  • Added optionalDependencies to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own
Show all 19 more changes
  • Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server
  • Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested
  • Fixed /install-github-app skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps
  • Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice
  • Fixed /diff hiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added with git add -N in a repository with no commits
  • Fixed the first-run theme list showing too few themes in short windows, and /usage and other tall screens coming out garbled there
  • Fixed /bug in fullscreen hiding its Yes and No answers behind a long report, and Yes staying out of view in very short windows
  • Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags
  • Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to a subagent that had already ended
  • Fixed a Remote Control message sometimes showing above the reply that was finishing when it was sent
  • Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too
  • Fixed turns and subagents failing in cloud sessions, or timing out on long replies elsewhere, when a reply went silent while Claude was still thinking; Claude Code now tries the request once more
  • Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall
  • Fixed Code Mode sessions resumed with --resume or --continue in another permission mode losing thinking and the prompt cache; one begun in a mode that asks keeps that mode's limits on scripts
  • Fixed Code Mode sending a request about every second when a ! or slash command was typed while a script was running
  • Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing
  • Windows: Fixed file writes on FAT32 and exFAT drives asking for permission every time in some plugin sessions
  • Fixed Claude failing to read a notebook that has a null output or an error output with no traceback
  • Fixed a rewind deleting files after a restore had failed …

Continue reading at Anthropic (opens in a new tab)

Facts

Stars
156,874 +23
Language
TypeScript
Licence
None (all rights reserved)
Commercial use
No
Forks
25,119
Last push
Nov 24
Latest release
v2.1.331

Facts: GitHub API

Earlier coverage

  1. v2.1.330Anthropic · official
  2. v2.1.329Anthropic · official