Claude-Code v2.1.47 Release: Key Fixes and Improvements

The latest Claude-Code release, version 2.1.47, includes several crucial updates and fixes primarily focused on file handling, performance, and compatibility issues, especially on Windows platforms.
Key Updates and Fixes
- File Handling: The
FileWriteToolnow correctly retains intentional trailing blank lines, addressing an issue where they were previously stripped bytrimEnd(). - Windows Terminal Rendering: Bug fixes ensure correct line counts in terminal displays, which were previously affected by
os.EOL(\r\n) inconsistencies, causing misleading line count displays. - Markdown Output: This update resolves the reflow issue where bold and colored markdown text displayed incorrectly on Windows due to line-ending anomalies.
- Memory and Performance Enhancements: Changes have been made to optimize memory usage by releasing API stream buffers, agent context, and skill state post-use, and improving startup performance by deferring
SessionStarthook execution, reducing time-to-interactive by roughly 500ms. - Bash Tool Output: Previous silent discards of bash tool outputs on Windows using MSYS2 or Cygwin shells have been fixed, ensuring outputs are captured and processed as expected.
- Agent Sessions: Improved memory management during long-running sessions by eliminating
O(n²)message accumulation and enabling dynamic indexing and caching of file mentions, which results in performance improvements. - File Mutation Resilience: Single file write/edit errors will no longer abort all other parallel file operations. Independent file mutations are now reliably completed even if one file write/edit operation fails.
- Enhanced Command Capabilities: Configurable multi-line input via the
chat:newlinekeybinding action has been introduced for handling extended commands effectively.
This update is highly relevant for developers working within Windows environments who require reliable terminal and file handling performance. Memory management improvements are advantageous for those leveraging long-running tasks or managing extensive file resources.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Claude Code Opus 4.6 Now Defaults to 1M Token Context Window
Claude Code's Opus 4.6 model now comes with a 1 million token context window by default, maintaining the same pricing as previous versions. This change appears to be live without an official announcement.

Claude's policy filter blocks bioinformatics work with pathogen names
A computational virology researcher reports Claude's usage policy filter flags legitimate bioinformatics scripts when pathogens are named, requiring workarounds like describing tasks without organism names or downgrading to Sonnet 4. The issue affects Claude Code, claude.ai, and both Opus 4.6 and Sonnet 4.6 models.

Claude Code v2.1.162 Ships Session Waiting Info, MCP Timeout Fix, and Agents View Overhaul
Claude Code v2.1.162 adds `waitingFor` to `--json` output, fixes MCP timeout sub-1000ms bug, improves terminal rendering for agents view, and more. Details inside.

Reddit user compares Claude Sonnet 4.6 and GPT-5 on 10 blogging tasks
A Reddit user tested Claude Sonnet 4.6 against GPT-5 using identical prompts for 10 common blogging tasks, finding the editing time difference to be the most useful metric.