Overview
Claude Code has received numerous updates across versions v2.1.5 through v2.1.31, with enhanced PDF handling and session management being key improvements. The releases focus on fixing critical bugs, improving performance, and adding developer-friendly features.
Changes by Version
v2.1.31
- Added session resume hints on exit - users can now easily continue conversations later
- Added full-width Japanese IME support for checkbox selection
- Fixed PDF lockup issues - sessions no longer become permanently unusable with large PDFs
- Fixed bash command false failures in sandbox mode
- Fixed session crashes in plan mode when project config was incomplete
- Fixed temperature override being ignored in streaming API - now respects custom temperature settings
- Fixed LSP compatibility with strict language servers
- Improved system prompts to favor dedicated tools over bash commands (Read, Edit, Glob, Grep vs cat, sed, grep, find)
- Improved error messages for PDF and request limits - now shows actual limits (100 pages, 20MB)
- Reduced layout jitter in terminal during streaming
- Removed misleading pricing info for third-party provider users
v2.1.30
- Added PDF page range reading - can now read specific pages (e.g., pages: “1-5”)
- Added lightweight PDF references for large PDFs (>10 pages) instead of full context inline
- Added pre-configured OAuth credentials for MCP servers without Dynamic Client Registration
- Added /debug command for troubleshooting current session
- Added additional git log/show flags in read-only mode
- Added task metrics - token count, tool uses, and duration in Task tool results
- Added reduced motion mode configuration option
- Fixed phantom content blocks in API conversation history - reduces token waste
- Fixed prompt cache invalidation when tool schemas change
- Fixed 400 errors after /login with thinking blocks
- Fixed session resume hangs with corrupted transcript files
- Fixed rate limit messaging for Max 20x users
- Fixed permission dialog focus issues while typing
- Fixed subagent MCP tool access - can now access SDK-provided tools
- Fixed Windows .bashrc regression for bash commands
- Improved memory usage for –resume by 68% through lightweight loading
- Improved TaskStop tool display - shows actual stopped command instead of generic message
- Changed /model command to execute immediately
- [VSCode] Added multiline input support with Shift+Enter
- [VSCode] Fixed duplicate sessions in session list
v2.1.29
- Fixed startup performance issues when resuming sessions with saved_hook_context
v2.1.27
- Added tool call failures and denials to debug logs
- Fixed context management validation error for gateway users
- Added –from-pr flag to resume sessions linked to specific GitHub PR numbers or URLs