Overview

Claude Code v2.1.27 delivers bug fixes and workflow improvements. The key enhancement is automatic PR linking - sessions now connect to GitHub pull requests seamlessly when using gh pr create.

Changes by Version

v2.1.27

  • Added tool call failures and denials to debug logs for better troubleshooting
  • Fixed context management validation error for gateway users with CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1
  • Added –from-pr flag to resume sessions linked to specific GitHub PR numbers or URLs
  • Added automatic PR linking when sessions are created via gh pr create
  • Fixed /context command colored output not displaying properly
  • Fixed status bar duplicating background task indicator when PR status was shown
  • Fixed bash command execution failures on Windows for users with .bashrc files
  • Fixed console windows flashing on Windows when spawning child processes
  • Fixed OAuth token expiration causing 401 errors in VSCode after extended sessions