Skip to content

Releases · Claude

Claude Code 2.1.305 release notes

Version
2.1.305
Released
Status
Latest stable release

What's new in Claude Code 2.1.305

The official notes for Claude Code 2.1.305 list 38 changes: 2 new features, 14 fixes, 1 security change and 21 other changes.

  • 2 new features
  • 14 fixes
  • 1 security change
  • 21 other changes

Highlights

  • security change Self-hosted runner: Fixed repository access failing since 2.1.296 when a git credential helper or askpass program reads its settings through…
  • new feature Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the…
  • new feature Added CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset
  • fix Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and…
  • fix Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or…

Our short summary: changes are counted and classified automatically from the official notes, and highlights are shortened. The complete, authoritative list is in the official release notes on GitHub.

Full release notes on GitHub (Claude Code 2.1.305)

How to check your version and update Claude Code

  1. Check the installed version:
    claude --version
  2. Native installs update themselves in the background. To update right now:
    claude update
  3. Install exactly 2.1.305 (macOS, Linux, WSL):
    curl -fsSL https://claude.ai/install.sh | bash -s 2.1.305
  4. Homebrew does not auto-update. The claude-code cask follows the stable channel, claude-code@latest the latest one:
    brew upgrade claude-code
  5. WinGet:
    winget upgrade Anthropic.ClaudeCode
  6. npm (use install @latest, not npm update -g):
    npm install -g @anthropic-ai/claude-code@latest

Claude Code has two release channels: latest (the default) gets every version as it ships; stable runs about a week behind and skips releases with major regressions. Change it under /config → Auto-update channel or with the autoUpdatesChannel setting.

Installing for the first time, or on Windows? How to install and update Claude Code.

Commands from the official docs: Claude Code: Advanced setup.