Skip to main content

Claude Code v2.1.98 Release Notes

Major update to Claude Code with Google Vertex AI integration, enhanced security features, and comprehensive bug fixes for improved developer experience.

April 9, 2026 10 min read By ClaudeWorld

Claude Code v2.1.98 brings significant improvements to the platform with new integrations, enhanced security measures, and numerous stability fixes. This release focuses on expanding platform support while strengthening security and reliability for enterprise users.

What’s New

Google Vertex AI Integration

A new interactive setup wizard makes it easier than ever to connect Claude Code with Google Vertex AI. Accessible from the login screen when selecting “3rd-party platform”, the wizard guides you through:

  • GCP authentication setup
  • Project and region configuration
  • Credential verification
  • Model pinning configuration

Enhanced Development Workflows

  • Perforce Integration: New CLAUDE_CODE_PERFORCE_MODE environment variable provides better version control integration by preventing accidental overwrites of read-only files
  • Background Monitoring: The new Monitor tool enables streaming events from background scripts for improved debugging
  • Git Worktree Support: Added workspace.git_worktree status information for better repository management

Security and Sandboxing Improvements

  • Subprocess Sandboxing: Enhanced security on Linux with PID namespace isolation when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is enabled
  • Script Execution Limits: New CLAUDE_CODE_SCRIPT_CAPS environment variable allows administrators to limit per-session script invocations
  • Permission System Fixes: Multiple security vulnerabilities in the Bash tool have been addressed, including backslash-escaped flag bypasses and compound command permission checks

Developer Experience Enhancements

  • LSP Integration: Claude Code now properly identifies itself to language servers via clientInfo
  • Cross-user Prompt Caching: New --exclude-dynamic-system-prompt-sections flag improves caching efficiency
  • OTEL Tracing: Added W3C TRACEPARENT environment variable support for better distributed tracing
  • Terminal Improvements: Fixed keyboard input issues on macOS and terminal compatibility problems

Bug Fixes

This release includes numerous stability improvements:

  • Fixed streaming response timeouts and retry logic
  • Resolved MCP OAuth configuration issues
  • Improved permission rule matching and management
  • Fixed directory access control edge cases

How to Update

To update to Claude Code v2.1.98:

  1. Download the latest version from the official repository
  2. Follow the standard update procedure for your platform
  3. Review any new environment variables that may benefit your workflow
  4. Test the new Google Vertex AI integration if applicable to your setup