Overview

The claude-code tool received several recent updates focused on improving PDF handling, session management, and developer workflow integration. The most significant change is enhanced PDF processing capabilities that allow reading specific page ranges and better handling of large documents.

Changes by Version

v2.1.31

  • Added session resume hints on exit to continue conversations later
  • Added full-width Japanese IME support for checkbox selection
  • Fixed PDF lockup issues that previously required starting new conversations
  • Fixed bash command failures with read-only file system errors in sandbox mode
  • Fixed session crashes in plan mode when project config was missing default fields
  • Fixed temperature override being ignored in streaming API requests
  • Fixed LSP compatibility with strict language servers rejecting null params
  • Improved system prompts to prefer dedicated tools over bash equivalents
  • Improved PDF and request size error messages showing actual limits
  • Reduced terminal layout jitter during streaming
  • Removed misleading API pricing for third-party provider users

v2.1.30

  • Added PDF page range reading with pages parameter (e.g., pages: “1-5”)
  • Added lightweight PDF references for large PDFs >10 pages when @mentioned
  • Added pre-configured OAuth credentials for MCP servers without Dynamic Client Registration
  • Added /debug command for troubleshooting current sessions
  • Added additional git log/show flags in read-only mode
  • Added task metrics showing token count, tool uses, and duration
  • Added reduced motion mode to config
  • Fixed phantom content blocks in API conversation history
  • Fixed prompt cache invalidation when tool schemas changed
  • Fixed 400 errors after /login with thinking blocks
  • Fixed session resume hangs with corrupted transcript files
  • Fixed rate limit messages for Max 20x users
  • Fixed permission dialog focus stealing while typing
  • Fixed subagent MCP tool access issues
  • Fixed Windows .bashrc regression preventing bash commands
  • Improved memory usage for –resume by 68% with lightweight loading
  • Improved TaskStop tool descriptions in result messages
  • Changed /model command to execute immediately instead of queuing
  • Added multiline input support in VSCode question dialogs
  • Fixed duplicate sessions in VSCode 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 errors for gateway users
  • Added –from-pr flag to resume sessions linked to GitHub PR numbers or URLs