Change8

v0.42.0-nightly.20260507.ga809bc7c5

Gemini CLI
1 feature7 fixes6 improvementsclimcptools

Summary

This release introduces new shell command safety evaluations to improve security checks. Several critical bugs were fixed, including resolving a race condition in tool completion waiting and preventing hangs during OAuth authentication on Linux. UX improvements were also made to CLI output and configuration listing.

New Features

  • Added shell command safety evaluations for enhanced security.

Bug Fixes

  • Fixed an issue where JSON output for AgentExecutionStopped was missing in non-interactive CLI mode.
  • Resolved graceful handling for invalid custom plans directories.
  • Corrected the placement of tool explanations, moving them from the thought stream to the tool call content.
  • Resolved a race condition that occurred while waiting for tool completions in the A2A server.
  • Fixed an issue where the CLI would silently hang during OAuth authentication on headless Linux systems.
  • Fixed the executable bit not being preserved for macOS binaries during CI/CD.
  • Fixed an issue where triage workflows failed due to an 'Argument list too long' error.

Improvements

  • Tightened the private Auto Memory patch allowlist.
  • Hid read-only setting scopes in the CLI.
  • Improved the user experience (UX) when listing managed configuration profiles (MCP) in untrusted folders.
  • Fixed hysteresis issues within asynchronous context management pipelines.
  • Migrated core tools to use the native ToolDisplay property, fixing UI rendering issues.
  • Removed unnecessary wrapping of arguments.

Related Documentation

Gemini CLI Documentation

Gemini CLI v0.42.0-nightly.20260507.ga809bc7c5 - What's New - Change8