v0.39.0-nightly.20260411.0957f7d3e
Gemini CLISummary
This release introduces new guidance for Strategic Re-evaluation in the system prompt and ensures subagent IDs are persisted in tool call records. Numerous bug fixes address critical issues like memory leaks, OOM errors on large outputs, and data corruption during text sanitization. Performance is also improved, particularly on Windows sandbox initialization.
New Features
- Added Strategic Re-evaluation guidance to the system prompt for improved reasoning.
- Enabled persistence of subagent agentId within tool call records.
Bug Fixes
- Fixed API error messages failing to decode Uint8Array and multi-byte UTF-8 characters.
- Resolved lifecycle memory leaks by ensuring proper cleanup of listeners and root closures.
- Fixed an issue where large output streams caused Out-Of-Memory (OOM) errors by removing unnecessary buffer slicing.
- Fixed concurrent execution issues by marking the /settings command as unsafe to run concurrently.
- Preserved shell execution configuration fields correctly during updates.
- Fixed data loss during text sanitization caused by C1 control characters.
- Resolved PTY exhaustion and prevented orphan MCP subprocess leaks.
- Fixed interactive shell executions failing to pass the session ID.
- Fixed audio MIME normalization and validation issues during file reads.
Improvements
- Introduced an optional debugRainbow setting for enhanced debugging visibility.
- Increased codebase investigator turn limits to 50.
- Optimized Windows sandbox initialization by applying native ACLs for faster startup.
- Switched credential storage from keytar to the recommended @github/keytar package.
- Updated documentation to clarify the description for the f12 shortcut.
- Updated documentation to include vi shortcuts and clarify the MCP sandbox setup process.
- Corrected documentation regarding the enforced authentication type.
- Excluded update_topic from the confirmation queue count calculation.
Related Documentation
- https://github.com/google-gemini/gemini-cli/pull/23341
- https://github.com/google-gemini/gemini-cli/pull/22755
- https://github.com/google-gemini/gemini-cli/pull/25088
- https://github.com/google-gemini/gemini-cli/pull/25049
- https://github.com/google-gemini/gemini-cli/pull/15816
- https://github.com/google-gemini/gemini-cli/pull/25061
- https://github.com/google-gemini/gemini-cli/pull/25094
- https://github.com/google-gemini/gemini-cli/pull/25092
- https://github.com/google-gemini/gemini-cli/pull/25125
- https://github.com/google-gemini/gemini-cli/pull/25101
- https://github.com/google-gemini/gemini-cli/pull/25062
- https://github.com/google-gemini/gemini-cli/pull/25113
- https://github.com/google-gemini/gemini-cli/pull/21679
- https://github.com/google-gemini/gemini-cli/pull/25114
- https://github.com/google-gemini/gemini-cli/pull/22624
- https://github.com/google-gemini/gemini-cli/pull/25059
- https://github.com/google-gemini/gemini-cli/pull/25079
- https://github.com/google-gemini/gemini-cli/pull/25140
- https://github.com/google-gemini/gemini-cli/pull/25077
- https://github.com/google-gemini/gemini-cli/pull/25143
- https://github.com/google-gemini/gemini-cli/pull/21636
- https://github.com/google-gemini/gemini-cli/pull/25153
- https://github.com/google-gemini/gemini-cli/pull/25142
- https://github.com/google-gemini/gemini-cli/pull/24945
- https://github.com/google-gemini/gemini-cli/compare/v0.39.0-nightly.20260410.96cc8a0da...v0.39.0-nightly.20260411.0957f7d3e