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

Anthropic files lawsuit to prevent Pentagon blacklisting over AI restrictions
Anthropic has filed a lawsuit seeking to block the Pentagon from blacklisting the company over restrictions on AI use, according to a Reuters report shared on Hacker News.

Atlassian lays off 10% of workforce to fund AI investments
Atlassian is cutting 1,600 jobs (10% of workforce) to self-fund AI investments and strengthen its financial profile, with 900 positions in software development affected. CEO Mike Cannon-Brookes says AI doesn't replace people but changes skill requirements.

Claude App Tops U.S. App Store Charts, AI Assistants Dominate Top 10
Claude by Anthropic is currently the #1 app on the U.S. App Store's top apps chart, with ChatGPT at #2 and Google Gemini at #4. The top 10 includes three AI assistants among shopping, social media, and utility apps.

GPU Power Consumption Deviates from Token Predictor Theory in Small LLMs
An experiment testing the 'stochastic parrot' theory on four 8B-parameter models found GPU power consumption often scales non-linearly with token count, with divergence rates ranging from 7.7% to 36.7%. The study also revealed persistent residual heat after philosophical queries and order-dependent effects.