Claude Code v2.1.179 to v2.1.181 Major Updates

Claude Code v2.1.179 to v2.1.181 Major Updates

Here is a summary of the major updates in Claude Code v2.1.179 to v2.1.181 (June 16-17, 2026). In addition to the addition of new syntax for directly changing settings from prompts, the updates include important fixes related to data integrity, such as file corruption and session history loss.
2026.06.18

This page has been translated by machine translation. View original

This is Ishikawa from the Cloud Business Division. Here is a summary of the Claude Code updates for v2.1.179 ~ v2.1.181 (2026-06-16 ~ 2026-06-17).

Update Summary

This covers 2 versions (v2.1.179 and v2.1.181, 2026-06-16 ~ 2026-06-17). Note that v2.1.180 was not released (skipped). This update focuses primarily on bug fixes, with new features including the /config key=value syntax for changing arbitrary settings from the prompt, as well as fixes related to data integrity such as file corruption and session history loss, and improvements to startup stability.

Notable Updates

  • New feature: Added /config key=value syntax to change arbitrary settings from the prompt (v2.1.181)
  • Bug fix: Fixed an issue where Write/Edit generated zero-byte or truncated files on network drives/cloud sync folders (v2.1.181)
  • Bug fix: Fixed an issue where idle sessions lost their history due to transcript cleanup by another process (v2.1.181)

Target Versions and Period

Version Release Date
v2.1.179 2026-06-16
v2.1.181 2026-06-17

※ v2.1.180 was not released.

New Features

  • Change arbitrary settings from the prompt with /config key=value (v2.1.181): The /config key=value syntax has been added, allowing you to directly change arbitrary settings from the prompt. For example, you can specify /config thinking=false, and it can be used in interactive mode, -p (non-interactive), or Remote Control.
  • Added sandbox.allowAppleEvents setting (v2.1.181): An opt-in setting that allows sandboxed commands to send Apple Events on macOS.
  • Added CLAUDE_CLIENT_PRESENCE_FILE environment variable (v2.1.181): Using a specified marker file as an indicator, mobile push notifications can be suppressed while you are in front of the machine.

Improvements

  • Improved streaming display of long paragraphs (v2.1.181): Text is now displayed line by line without waiting for the first line break.
  • Improved automatic retry (v2.1.181): When an API connection is lost while thinking, it now automatically retries instead of displaying "Connection closed while thinking."
  • Improved sub-agent panel (v2.1.181): Idle sub-agents are automatically hidden after 30 seconds, the list is limited to a maximum of 5 rows (with scroll hints), and keyboard hints are now displayed in the footer.
  • Improved MCP OAuth page (v2.1.181): The MCP OAuth browser page has been aligned with Claude Code's visual style and now automatically closes upon successful authentication.
  • Faster plugin loading for remote sessions (v2.1.179): Plugin loading performance for remote sessions has been improved.
  • Simplified memory update display (v2.1.181): The Improved N memories line no longer lists individual files except in verbose mode.
  • Upgraded Bun runtime to 1.4 (v2.1.181): The bundled Bun runtime has been updated to 1.4. (At the time of writing, detailed information about improvements in Bun runtime 1.4 was not available.)

Fixes (Major)

The following is a selection of fixes primarily related to stability and usability.

  • Fixed file corruption caused by Write/Edit: Fixed an issue where Write/Edit generated zero-byte or truncated files on network drives and cloud sync folders (v2.1.181).
  • Fixed history loss in idle sessions: Fixed an issue where sessions that had been idle for a long time lost their history when another Claude Code process performed a 30-day transcript cleanup (v2.1.181).
  • Fixed startup blocking, crashes, and freezes: Several issues were fixed together: the terminal blocking with a blank screen for up to 15 seconds when account settings retrieval was slow on a degraded network; a crash at startup when .claude.json contained corrupted null entries; macOS TUI freezing during Spotlight reindexing; and a startup regression of approximately 120ms introduced in v2.1.169 (v2.1.181).
  • Fixed prompt cache not loading: Fixed an issue where the prompt cache was not loading due to per-request attestation tokens changing with a custom ANTHROPIC_BASE_URL and Foundry. Since this affects costs, users in those environments should take note (v2.1.181).
  • Fixed behavior on connection loss during streaming: When a connection was lost during streaming, partial responses are now retained instead of displaying a raw error, and an issue where the spinner was stuck on "running tool" has also been resolved (v2.1.179).
  • Fixed macOS authentication flow failure (error -600): By adding Apple Events entitlements, an issue where open, osascript, and browser-based authentication flows failed with error -600 has been fixed (v2.1.181).
  • Fixed frequent AWS credential refresh: Fixed an issue where credentials with a short remaining validity period were being refreshed every minute with awsCredentialExport, and JSON format from aws configure export-credentials is now also accepted (v2.1.181).
  • Fixed mouse wheel scrolling in WSL2: Fixed an issue (regression in v2.1.172) where mouse wheel scrolling did not work in WSL2 (Windows Terminal, VS Code) (v2.1.179).
  • In addition, numerous minor bugs have been fixed, including sandbox configuration evaluation, sub-agent nesting depth limits, MCP connection status display, IDE selection line numbers, AskUserQuestion input handling, clipboard operations, /stats date display, and various terminal display issues.

Breaking Changes and Deprecations

There are no breaking changes or deprecations in this update range. However, please note the following behavioral change:

  • Opening URLs in fullscreen mode changed to Cmd+click / Ctrl+click (v2.1.181): To align with native terminal behavior, opening URLs in fullscreen mode now requires Cmd+click (macOS) or Ctrl+click.

Closing Remarks

Apart from the addition of the /config key=value syntax, v2.1.179 and v2.1.181 are releases focused on stability and UX improvements. In particular, they include fixes related to data integrity such as file corruption on network drives/cloud sync folders and history loss in idle sessions, so users in those situations are encouraged to update promptly. If any of the changes catch your interest, please update and check them out.

References

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

https://code.claude.com/docs/en/changelog


Claudeならクラスメソッドにお任せください

クラスメソッドは、Anthropic社とリセラー契約を締結しています。各種製品ガイドから、業種別の活用法、フェーズごとのお悩み解決などサービス支援ページにまとめております。まずはご覧いただき、お気軽にご相談ください。

サービス詳細を見る

Share this article