Back
AI summary
Written by AI from the official notes. Check them for exact details.Gemini CLI 0.41.0 introduces new features and bug fixes for improved performance and usability.
- Real-time voice mode implemented with cloud and local backends
- Support for Gemma 4 models added (experimental)
- Secure environment loading and workspace trust enforced in headless mode
- Auto-memory scratchpad for skill extraction now persists
- Improved error messages for various connection issues
Why it matters: Users of Gemini CLI should update to benefit from enhanced features and improved stability.
Full release notes44 changes
What's Changed
- chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583
- fix(core): only show
listsuggestion if the partial input is empty - feat(cli): secure.env loading and enforce workspace trust in headless mode
- fix: fatal hard-crash on loop detection via unhandled AbortError
- update package-lock.json
- feat(core): enhance shell command validation and add core tools allowlist
- fix(ui): corrected background color check in user message components
- perf(core): fix slow boot by fetching experiments and quota asynchronously
- feat(core,cli): add support for Gemma 4 models (experimental)
- update FatalUntrustedWorkspaceError message to include doc link
- docs: add Gemini CLI course link to README
- feat(repo): add gemini-cli-bot metrics and workflows
- fix(cli): allow output redirection for cli commands
- fix(core): fail closed in YOLO mode when shell parsing fails for restricted rules
- fix(cli-ui): revert backspace handling to fix Windows regression
- feat(voice): implement real-time voice mode with cloud and local backends
- Changelog for v0.39.0
- feat(memory): persist auto-memory scratchpad for skill extraction
- fix(cli): add missing response key to custom theme text schema
- fix(cli): provide manual update command when automatic update fails
- test(cli): add unit tests for restore ACP command (#23402)
- fix(ui): better error messages for ECONNRESET and ETIMEDOUT
- feat(core): wire up the new ContextManager and AgentChatHistory
- fix(cli): ensure sandbox proxy cleanup and remove handler leaks
- fix(cli): correct alternate buffer warning logic for JetBrains
- fix(cli): make MCP ping optional in list command and use configured timeout
- fix(core): better error message for failed cloudshell-gca auth
- feat(cli): provide manual session UUID via command line arg
- Changelog for v0.40.0-preview.2
- (docs) update sandboxing documentation
- fix(core): enforce parallel task tracker updates
- Update policy so transient errors are not marked terminal
- Implement bot that performs time-series metric analysis and suggests repo management improvements
- fix(core): handle non-string model flags in resolution
- fix(ux): added error message for ENOTDIR
- Changelog for v0.40.0-preview.3
- fix(cli): prevent ACP stdout pollution from SessionEnd hooks
- feat(cli): support boolean and number casting for env vars in settings.json
- fix(cli): preserve Request headers in DevTools activity logger
- fix(patch): cherry-pick 2194da2 to release/v0.41.0-preview.0-pr-26153 to patch version v0.41.0-preview.0 and create version 0.41.0-preview.1
- fix(patch): cherry-pick 1d72a12 to release/v0.41.0-preview.1-pr-26479 to patch version v0.41.0-preview.1 and create version 0.41.0-preview.2
- fix(patch): cherry-pick 7cc19c2 to release/v0.41.0-preview.2-pr-26507 to patch version v0.41.0-preview.2 and create version 0.41.0-preview.3
Show the rest (2 more changes)Show less
New Contributors
- @hsm207 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20108
- @gaurav0107 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25822
Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.40.1...v0.41.0