Claude Code v2.1.31 Release Notes
Claude Code v2.1.31 brings session resume hints, improved Japanese IME support, critical PDF handling fixes, and enhanced system prompts for better tool usage.
The Claude Code development team has released version 2.1.31, delivering important quality-of-life improvements and critical bug fixes that enhance the overall user experience. This update focuses on session management, internationalization improvements, and system stability.
What’s New
Enhanced Session Management
Claude Code now displays helpful session resume hints when you exit, making it easier to continue your conversations later. This feature eliminates the guesswork around picking up where you left off in your coding sessions.
Improved International Support
Japanese developers will appreciate the new full-width (zenkaku) space input support from Japanese IME in checkbox selection interfaces. This enhancement makes Claude Code more accessible for users working with Japanese input methods.
Critical PDF Handling Fixes
The frustrating issue where PDF files that were too large would permanently lock up sessions has been resolved. Users no longer need to start new conversations when encountering oversized PDFs. Additionally, error messages now clearly show the actual limits: 100 pages and 20MB for PDF files.
Sandbox Mode Improvements
Bash commands will no longer incorrectly report “Read-only file system” errors when sandbox mode is enabled, providing a smoother development experience in secure environments.
Enhanced System Intelligence
The system prompts have been improved to better guide the model toward using dedicated tools (Read, Edit, Glob, Grep) instead of bash equivalents like cat, sed, grep, and find. This optimization reduces unnecessary bash command usage and improves performance.
API and Configuration Fixes
- Fixed crashes in plan mode when project config in
~/.claude.jsonwas missing default fields - Resolved
temperatureOverridebeing ignored in streaming API requests - Improved LSP shutdown/exit compatibility with strict language servers
- Reduced terminal layout jitter during streaming operations
- Removed misleading Anthropic API pricing for third-party provider users
How to Update
To update to Claude Code v2.1.31, follow the standard update procedure for your installation method. Check the official documentation for platform-specific instructions.