Overview

Claude Code v2.1.31 introduces session resume capabilities and significant performance improvements, while v2.1.30 adds PDF page selection and MCP server enhancements for better workflow integration.

Changes by Version

v2.1.31

  • Added session resume hint on exit - continue conversations later without losing context
  • Added full-width Japanese IME support in checkbox selection
  • Fixed PDF lockup issues - large PDF errors no longer freeze sessions permanently
  • Fixed bash command false failures in sandbox mode with read-only file system errors
  • Fixed plan mode crashes when project config was missing default fields
  • Fixed temperature override being ignored in streaming API - now respects configured temperature settings
  • Fixed LSP compatibility with strict language servers that reject null params
  • Improved tool usage guidance - model now prefers dedicated tools over bash equivalents
  • Improved error messaging - PDF and request limits now show actual values (100 pages, 20MB)
  • Reduced terminal layout jitter during streaming operations
  • Removed misleading pricing display for third-party provider users

v2.1.30

  • Added PDF page selection - read specific page ranges instead of entire documents
  • Added pre-configured OAuth support for MCP servers without Dynamic Client Registration
  • Added debug command - /debug helps troubleshoot current sessions
  • Added extended git command support in read-only mode with additional flags
  • Added task metrics display - shows token count, tool uses, and duration
  • Added reduced motion mode configuration option
  • Fixed phantom content blocks in API history - reduces token waste
  • Fixed prompt cache invalidation - now updates when tool schemas change
  • Fixed login errors with thinking blocks in conversation history
  • Fixed session resume hangs from corrupted transcript files
  • Fixed incorrect upgrade suggestions for Max 20x users
  • Fixed focus stealing by permission dialogs during typing
  • Fixed MCP tool access for subagents - now synced to shared state
  • Fixed Windows bash regression for users with .bashrc files
  • Improved memory usage by 68% for session resumption
  • Improved task stop messaging - shows specific command descriptions
  • Changed model switching to execute immediately instead of queuing
  • Added multiline input support in VSCode question dialogs
  • Fixed duplicate sessions appearing in VSCode session list