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

Developer Prefers Qwen3.5-27B Over Proprietary Models for Its Failure Mode
A developer on r/LocalLLaMA reports preferring Qwen3.5-27B over Gemini 3.1 Pro and GPT-5.3 Codex because it gives up on problematic tasks rather than generating potentially dangerous code like unrestricted Perl or NodeJS scripts.

Meta Pauses Internal AI Training Program After Employee Keystroke Data Leak
Meta pauses MCI program tracking employee keystrokes after SEV 2 leak exposed private conversations, performance data, and transcriptions company-wide.

Palantir's AI Platform Used for Gaza Aid Tracking at U.S.-Led Coordination Center
Palantir Technologies has a permanent desk at the U.S.-led Civil Military Coordination Center in southern Israel, providing the technological architecture for tracking aid delivery and distribution to Gaza through drone surveillance and data integration.

Developer Describes Fraud Feeling After First AI-Assisted Pull Request
A developer used Claude Code to create a pull request for Chroma, Hugo's default syntax highlighter, adding ERB syntax highlighting. The PR was approved and merged, but the developer felt like a fraud and experienced worsened impostor syndrome.