Repository navigation
update: bump anthropics/claude-code to 2.1.311 - #355
Merged
Merged
Conversation
TL;DR for garyj
2.1.311
Auto-summarized by |
Owner
|
/merge
-
Gary Jarrel
m: +61403265135 | e: ***@***.******@***.***>
[short email signature – to avoid irrelevant content in the email message - email disclaimer<https://www.jarrel.com.au/real-estate-australia/email-disclaimer>]
…________________________________
From: github-actions[bot] ***@***.***>
Sent: 28 October 2026 11:41
To: garyj/dotfiles ***@***.***>
Cc: Gary Jarrel ***@***.***>; Assign ***@***.***>
Subject: Re: [garyj/dotfiles] update: bump anthropics/claude-code to 2.1.311 (PR #355)
[https://avatars.githubusercontent.com/in/15368?s=20&v=4]github-actions[bot] left a comment (garyj/dotfiles#355)<#355 (comment)>
TL;DR for garyj
Patch bump, claude-code 2.1.310 → 2.1.311. No breaking changes or CVEs, but several fixes worth knowing if you use the CLI/SDK daily:
* Fixed a real reliability bug: claude -p and SDK sessions could save transcript messages out of order or retain reverted ones, worth a look if you script against transcripts.
* Fixed standard-context sessions erroring with "Usage credits required for 1M context" instead of auto-compacting past 200K tokens, that false stop is gone now.
* Fixed Claude Code retrying API requests marked non-retryable, which under CLAUDE_CODE_RETRY_WATCHDOG could hang a turn indefinitely, good catch if you run unattended/automated sessions.
* Linux: fixed sandboxed Bash failing with bwrap: Can't create file when combining --plugin-dir with permissions.blockReadsOutsideWorkingDirectories.
* Model catalog now loads from a signed file on downloads.claude.ai for Bedrock/Vertex/Foundry (toggle with CLAUDE_CODE_MODEL_CATALOG=off), relevant if you run Claude Code against a non-Anthropic-hosted backend.
* Subagents can now use MCP tools from servers that finish connecting after the subagent starts, useful if you lean on MCP tooling in multi-agent setups.
2.1.311
* Mostly bug fixes and UX polish; nothing requires action. The transcript-ordering, retry-watchdog, and sandbox fixes above are the ones worth noting.
Auto-summarized by claude-sonnet-5 from the release notes above. Add/remove the deps-summary label to control this.
—
Reply to this email directly, view it on GitHub<#355?email_source=notifications&email_token=AAE5KY3AY3NZE2JL5HEPBK35WE6DZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNBVG42TGMBQHE4KM4TFMFZW63VGMFZXG2LHN2SWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6457530098>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAE5KYYH23O757FUJVMSFF35WE6DZAVCNFSNUABFKJSXA33TNF2G64TZHM3TENRSGY4DQNRWHNEXG43VMU5TMMBXGAZTCNJTGIZ2C5QC>.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1.310→2.1.3112.1.312Release Notes
anthropics/claude-code
v2.1.311Compare Source
--hold-idle-fileand--max-hold-mintoself-hosted-runner, to keep an idle session while your host reports processes it left runningclaude -pand SDK sessions saving transcript messages out of order or keeping messages that were taken backSubagentStophooks running about twice a minute for each running subagent instead of once when it finishes.ignore/.rgignorenegation rules that re-include git-ignored filesclaude mcp add,claude mcp removeand/mcpnaming the current folder instead of the project entry in~/.claude.jsonthat holds a local-scope server when run below a repository rootclaude mcp listandclaude mcp getshowing the error code twice on failed-connection lines (for exampleENOENT: ENOENT: …)claude daemon restart; it now suggestsclaude daemon stop --anyand says it ends background sessionsclaude respawn <id>starting the background service before reporting that no background session matches the id/effortnot warning about a prompt cache miss in plan mode when the plan model differs from the session model/idesaying the VS Code extension was installed before the install finished or when it failedagent; Cowork cloud sessions now ignore that setting--resume,--continue,/resumeor--session-id, including after/clearor a crash, and/branchwriting to the original session's list! open /tmp/shot.pngor/review look at /tmp/shot.png, attaching the image and dropping its path from the prompt"\"or(\), disappearing from Claude's responsesDISABLE_COMPACTis setDISABLE_COMPACTis set/code-review, or another skill that runs in a sub-agent, running a second time when a cloud or background session restarts/idesaying it had installed the JetBrains plugin when nothing was installed/mcpshowing a remote server as failed after "Clear authentication" when the server works without sign-in/mcpshowing "authenticated" for a remote server that Claude Code sends no credentials to--plugin-dirfolder of plugins loading as one plugin when an empty.mcp.jsonwas at its top/usagenever showing large prompt-cache misses under "What's contributing to your limits usage?"CLAUDE_CODE_RETRY_WATCHDOG), indefinitelybwrap: Can't create filewhen a--plugin-dirfolder was also an added directory andpermissions.blockReadsOutsideWorkingDirectorieswas on/teleportandclaude --teleportto warn when a compacted cloud session loads from its last compaction, so the messages it summarized aren't in the local copy#nameand no longer says the address bar stays the same as you switch viewsclaude --model opusultrathinkin the interactive terminal to run its turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic's API; typed while Claude is working, it raises the rest of that turnultrathinkrainbow to appear only where the keyword can raise effort, and not when the word is quoted or part of a file path--output-format jsonandstream-jsonoutput to write DEL, C1 control and Unicode format characters inside strings as\uXXXXescapes; parsed values are unchanged[1m]suffix and its label on models where the suffix has no effect; the suffix is still accepted/code-reviewto tell Claude to put the effort level first and use max only when askedDISABLE_COMPACTin settings files and in a mod's$.env.setso they can only turn compaction off, not back onCLAUDE_CODE_SYNC_SKILLSwith feature-flag fetching off to reuse a claude.ai skills list up to 10 minutes old that another session on the machine fetchedclaude purgeto say it deletes data only on this computer, not anything stored by AnthropicDISABLE_TELEMETRYset while VS Code's telemetry setting is off, so they send no usage metrics or error reports and fetch no feature flagsConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.