Skip to main content

Claude Code v2.1.158 Release Notes

Claude Code v2.1.158 brings Auto mode to Bedrock, Vertex, and Foundry platforms for Opus 4.7 and 4.8 models.

May 30, 2026 10 min read By ClaudeWorld

The Claude Code development team has released version 2.1.158, bringing enhanced platform support and expanded Auto mode capabilities to power users across multiple cloud environments.

What’s New

Auto Mode Expansion

The standout feature of this release is the extension of Auto mode support to additional platforms. Auto mode is now available on:

  • Amazon Bedrock - For Opus 4.7 and Opus 4.8 models
  • Google Vertex AI - For Opus 4.7 and Opus 4.8 models
  • Anthropic Foundry - For Opus 4.7 and Opus 4.8 models

To enable Auto mode on these platforms, you’ll need to opt in by setting the environment variable CLAUDE_CODE_ENABLE_AUTO_MODE=1. This feature allows for more autonomous code generation and problem-solving workflows, making your development process more efficient across different cloud providers.

Platform Compatibility

This update ensures that Claude Code users can leverage the powerful Auto mode functionality regardless of their preferred cloud infrastructure, providing consistent experiences across AWS, Google Cloud, and Anthropic’s native platform.

How to Update

To update to Claude Code v2.1.158:

  1. Pull the latest version from the repository
  2. Set the environment variable CLAUDE_CODE_ENABLE_AUTO_MODE=1 to access Auto mode
  3. Ensure you’re using Opus 4.7 or Opus 4.8 models on supported platforms
  4. Restart your Claude Code instance