v0.42.0
Gemini CLISummary
This release introduces several new user-facing features, including the ability to delete sessions via the /exit command, support for @ mentioning the Gemini robot, and the addition of voice mode microphone controls. Numerous bug fixes address stability, especially around CLI operations, API timeouts, and environment handling (like WSL and proxy configurations). Users will also benefit from Gemma 4 models being enabled by default via the Gemini API.
New Features
- Added the --delete flag to the /exit command for session deletion.
- Enabled users to @ mention the gemini robot in interactions.
- Added a 'list' subcommand to the /commands command for viewing available commands.
- Added 'delete' as an alias for the /extensions uninstall command.
- Added microphone support and updated the placeholder text for voice mode.
- Enabled Gemma 4 models by default via the Gemini API.
- Allowed non-https proxy URLs to support container environments.
Bug Fixes
- Prevented automatic updates from switching to less stable channels in the CLI.
- Fixed passing of node arguments via NODE_OPTIONS during relaunch, improving support for SEA.
- Handled DECKPAM keypad Enter sequences correctly in the terminal.
- Fixed missing oauth fields support during subagent parsing in the core.
- Ensured extension-backed MCP clients are disconnected properly in stopExtension.
- Fixed an issue where an explicit empty log guard was missing in A2A pushMessage.
- Fixed API key validation logic in handleApiKeySubmit.
- Prevented exit_plan_mode from being called via shell.
- Corrected inconsistent case-sensitivity when using GrepTool.
- Refined platform-specific undo/redo and smart bubbling for WSL environments.
- Suppressed duplicate extension warnings that occurred during startup.
- Fixed handling of the InvalidStream event in the CLI, preventing throws.
- Fixed an issue where informational logs were polluting JSON output.
- Ensured tool output cleanup occurs on session deletion for legacy files.
- Fixed reporting of AgentExecutionBlocked in non-interactive programmatic modes.
- Silently skipped GEMINI.md paths that were directories (EISDIR) during core processing.
- Fixed auto-update checks by using the resolved sandbox state.
- Fixed inserting voice transcription to appear at the cursor position instead of the end of the input.
- Fixed an issue with box edges in the UI.
- Prevented GOOGLE_CLOUD_PROJECT from being overridden in Cloud Shell when using Vertex AI.
- Ensured the logPrompts flag is respected for logging sensitive fields.
- Fixed an issue where invalid responses were posted to comments.
- Fixed CLI behavior to not override GOOGLE_CLOUD_PROJECT when using .env settings in Cloud Shell.
Improvements
- Updated documentation links for plan-mode session retention to point to actual /settings labels.
- Reduced the default API timeout to 60 seconds and enabled retries for undici timeouts.
- Distinguished fallback chains and fixed maxAttempts for auto vs explicit model selection.
- Updated documentation workflows to use workspace trust.
- Updated Agent Skills documentation.
- Added automated gemma setup guide documentation.
- Updated the README with a Star History section (and subsequently removed it in later commits, but noting the documentation change).
- Fixed failures in tests due to antigravity environment leakage.
- Improved productivity and backlog optimizations for the bot.
Related Documentation
- https://github.com/google-gemini/gemini-cli/pull/25978
- https://github.com/google-gemini/gemini-cli/pull/26150
- https://github.com/google-gemini/gemini-cli/pull/26233
- https://github.com/google-gemini/gemini-cli/pull/26018
- https://github.com/google-gemini/gemini-cli/pull/22081
- https://github.com/google-gemini/gemini-cli/pull/22388