Claude Code v2.1.27: GitHub Integration & Permissions
Claude Code v2.1.27 brings improved GitHub PR integration, enhanced debugging capabilities, and refined permission controls for power users.
The Claude Code team has released v2.1.27, packed with productivity enhancements and bug fixes that streamline the development workflow for power users. This release focuses on better GitHub integration, improved debugging tools, and more granular permission controls.
What’s New
Enhanced GitHub PR Integration
The standout feature of this release is the improved GitHub Pull Request workflow. You can now use the --from-pr flag to resume sessions linked to a specific GitHub PR number or URL, making it easier to continue work on existing pull requests. Additionally, sessions are now automatically linked to PRs when created via gh pr create, creating a seamless workflow from code creation to pull request submission.
Improved Debugging Capabilities
Debugging gets a significant boost with tool call failures and denials now appearing in debug logs. This enhancement provides better visibility into what’s happening under the hood, making it easier to troubleshoot issues and understand Claude’s decision-making process.
Refined Permission System
The permission system now properly respects content-level ask permissions over tool-level allow permissions. For example, with allow: ["Bash"], ask: ["Bash(rm *)"], the system will now correctly prompt for dangerous commands like rm rather than allowing them automatically.
Platform-Specific Improvements
VSCode Users: Chrome integration is now enabled, and OAuth token expiration issues that caused 401 errors after extended sessions have been resolved.
Windows Users: Bash command execution now works properly for users with .bashrc files, and the annoying console window flashing when spawning child processes has been eliminated.
Additional Fixes
- Fixed context management validation errors for gateway users with
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 - Resolved
/contextcommand not displaying colored output - Fixed status bar duplicating background task indicators when PR status was shown
How to Update
To update to Claude Code v2.1.27, run the following command:
claude-code update
Or download the latest version directly from the GitHub releases page.