surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
Fixes #26637
| @@ -1,5 +1,28 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | +## 2.1.49 | |
| 4 | + | |
| 5 | +- Fixed Ctrl+C and ESC being silently ignored when background agents are running and the main thread is idle. Pressing twice within 3 seconds now kills all background agents. | |
| 6 | +- Fixed prompt suggestion cache regression that reduced cache hit rates. | |
| 7 | +- Fixed `plugin enable` and `plugin disable` to auto-detect the correct scope when `--scope` is not specified, instead of always defaulting to user scope | |
| 8 | +- Simple mode (`CLAUDE_CODE_SIMPLE`) now includes the file edit tool in addition to the Bash tool, allowing direct file editing in simple mode. | |
| 9 | +- Permission suggestions are now populated when safety checks trigger an ask response, enabling SDK consumers to display permission options | |
| 10 | +- Sonnet 4.5 with 1M context is being removed from the Max plan in favor of our frontier Sonnet 4.6 model, which now has 1M context. Please switch in /model. | |
| 11 | +- Fixed verbose mode not updating thinking block display when toggled via `/config` — memo comparators now correctly detect verbose changes | |
| 12 | +- Fixed unbounded WASM memory growth during long sessions by periodically resetting the tree-sitter parser | |
| 13 | +- Fixed potential rendering issues caused by stale yoga layout references | |
| 14 | +- Improved performance in non-interactive mode (`-p`) by skipping unnecessary API calls during startup | |
| 15 | +- Improved performance by caching authentication failures for HTTP and SSE MCP servers, avoiding repeated connection attempts to servers requiring auth | |
| 16 | +- Fixed unbounded memory growth during long-running sessions caused by Yoga WASM linear memory never shrinking | |
| 17 | +- SDK model info now includes `supportsEffort`, `supportedEffortLevels`, and `supportsAdaptiveThinking` fields so consumers can discover model capabilities. | |
| 18 | +- Added `ConfigChange` hook event that fires when configuration files change during a session, enabling enterprise security auditing and optional blocking of settings changes. | |
| 19 | +- Improved startup performance by caching MCP auth failures to avoid redundant connection attempts | |
| 20 | +- Improved startup performance by reducing HTTP calls for analytics token counting | |
| 21 | +- Improved startup performance by batching MCP tool token counting into a single API call | |
| 22 | +- Fixed `disableAllHooks` setting to respect managed settings hierarchy — non-managed settings can no longer disable managed hooks set by policy (#26637) | |
| 23 | +- Fixed `--resume` session picker showing raw XML tags for sessions that start with commands like `/clear`. Now correctly falls through to the session ID fallback. | |
| 24 | +- Improved permission prompts for path safety and working directory blocks to show the reason for the restriction instead of a bare prompt with no context | |
| 25 | + | |
| 3 | 26 | ## 2.1.47 |
| 4 | 27 | |
| 5 | 28 | - Fixed FileWriteTool line counting to preserve intentional trailing blank lines instead of stripping them with `trimEnd()`. |