← Back to all releases

v2.1.140 Claude Code Release Notes

Claude's Analysisby Sonnet 4.6
Full Analysis

Stability pass fixes hangs in /goal and --bg, a Windows event-loop stall, hot-reload breakage, and cursor drift — plus case-insensitive subagent_type matching.

Changes
13
Total Changes (vs Average)
0.6×
Version Type
Patch
Release Focus
Bug Fixes
Day Since Prior Release
1
Release # This Month
#11 of 27
Bug Fix Ratio
77%
Post-Release Edits
—
How does this release compare? Release pace, fix share and issue trends since April 2025.See all-time statistics
Change Category
Ecosystem Impact
Windows has featured in 7 of the last 10 releases (4 of the last 5), while Terminals appears in 6 of 10 — the most sustained cross-platform attention recently, reflecting deep reliability work on event-loop, cursor, and I/O behavior.
Key Themes
4Hang & Stall Elimination|4Settings & Managed Config Hardening|5Developer Tooling Polish
May Help If You've Noticed
/goal freezes and never finishes loading when hooks are turned off or restricted
Background mode (--bg) fails immediately with a dropped connection
Claude Code on Windows gets sluggish or stops responding during tool use
Settings changes seem to have no effect, or hooks fire at unexpected times
Terminal cursor drifts away from the input line after clicking another window

Changes in Claude Code v2.1.140

Improved1 change

  • •Improved Agent tool subagent_type matching to accept case- and separator-insensitive values (e.g. "Code Reviewer" resolves to code-reviewer)

Fixed10 changes

  • •Fixed /goal silently hanging when disableAllHooks or allowManagedHooksOnly is set — now shows a clear message instead of an indicator that never resolves
  • •Fixed a regression in settings hot-reload where symlinked settings files caused misattributed change events and spurious ConfigChange hooks
  • •Fixed claude --bg failing with "connection dropped mid-request" when the background service was about to idle-exit
  • •Fixed background service startup failing on machines with enterprise endpoint security by allowing more time
  • •Fixed remote managed settings not retrying on 401 — now retries once with a force-refreshed token
  • •Fixed managed extraKnownMarketplaces auto-update policy not being persisted to known_marketplaces.json
  • •Fixed /loop scheduling redundant wakeups to poll for background tasks that already notify on completion
  • •Fixed a recurring event-loop stall on Windows when a missing executable (e.g. gh) triggered synchronous where.exe re-spawns on every check
  • •Fixed Read tool calls failing validation when offset is passed as a whitespace-padded or +-prefixed string
  • •Fixed native terminal cursor not staying at the input caret when the terminal loses focus

Changed1 change

  • •Updated agent color palette

Other1 change

  • •Plugins now warn when a default component folder (e.g. commands/) is silently ignored because plugin.json sets the matching key. Shown in /doctor, claude plugin list, and /plugin.