Files
gemini-cli/docs/changelogs/latest.md
T
2026-05-08 17:00:48 +00:00

7.4 KiB

Latest stable release: v0.41.0

Released: May 05, 2026

For most users, our latest stable release is the recommended release. Install the latest stable version with:

npm install -g @google/gemini-cli

Highlights

  • Real-time Voice Mode: Introduced support for real-time voice interaction with both cloud-based and local processing backends.
  • Enhanced Security: Implemented mandatory workspace trust for headless environments and secured the loading of .env configuration files.
  • Advanced Shell Validation: Added a robust shell command validation layer and a core tools allowlist to prevent unauthorized execution.
  • Improved Context Management: Integrated a new ContextManager and AgentChatHistory to provide more reliable and efficient session handling.
  • Auto-Memory Persistence: Enabled the persistence of the auto-memory scratchpad, allowing for seamless skill extraction across turns.

What's Changed

  • chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583 by @gemini-cli-robot in #25847
  • fix(core): only show list suggestion if the partial input is empty by @cynthialong0-0 in #25821
  • feat(cli): secure .env loading and enforce workspace trust in headless mode by @ehedlund in #25814
  • fix: fatal hard-crash on loop detection via unhandled AbortError by @hsm207 in #20108
  • update package-lock.json by @ehedlund in #25876
  • feat(core): enhance shell command validation and add core tools allowlist by @galz10 in #25720
  • fix(ui): corrected background color check in user message components by @devr0306 in #25880
  • perf(core): fix slow boot by fetching experiments and quota asynchronously by @spencer426 in #25758
  • feat(core,cli): add support for Gemma 4 models (experimental) by @Abhijit-2592 in #25604
  • update FatalUntrustedWorkspaceError message to include doc link by @ehedlund in #25874
  • docs: add Gemini CLI course link to README by @JayadityaGit in #25925
  • feat(repo): add gemini-cli-bot metrics and workflows by @gundermanc in #25888
  • fix(cli): allow output redirection for cli commands by @spencer426 in #25894
  • fix(core): fail closed in YOLO mode when shell parsing fails for restricted rules by @ehedlund in #25935
  • fix(cli-ui): revert backspace handling to fix Windows regression by @scidomino in #25941
  • feat(voice): implement real-time voice mode with cloud and local backends by @Abhijit-2592 in #24174
  • Changelog for v0.39.0 by @gemini-cli-robot in #25848
  • feat(memory): persist auto-memory scratchpad for skill extraction by @SandyTao520 in #25873
  • fix(cli): add missing response key to custom theme text schema by @gaurav0107 in #25822
  • fix(cli): provide manual update command when automatic update fails by @cocosheng-g in #26052
  • test(cli): add unit tests for restore ACP command (#23402) by @cocosheng-g in #26053
  • fix(ui): better error messages for ECONNRESET and ETIMEDOUT by @devr0306 in #26059
  • feat(core): wire up the new ContextManager and AgentChatHistory by @joshualitt in #25409
  • fix(cli): ensure sandbox proxy cleanup and remove handler leaks by @ehedlund in #26065
  • fix(cli): correct alternate buffer warning logic for JetBrains by @Adib234 in #26067
  • fix(cli): make MCP ping optional in list command and use configured timeout by @cocosheng-g in #26068
  • fix(core): better error message for failed cloudshell-gca auth by @devr0306 in #26079
  • feat(cli): provide manual session UUID via command line arg by @cocosheng-g in #26060
  • Changelog for v0.40.0-preview.2 by @gemini-cli-robot in #25846
  • (docs) update sandboxing documentation by @g-samroberts in #25930
  • fix(core): enforce parallel task tracker updates by @anj-s in #24477
  • Update policy so transient errors are not marked terminal by @DavidAPierce in #26066
  • Implement bot that performs time-series metric analysis and suggests repo management improvements by @gundermanc in #25945
  • fix(core): handle non-string model flags in resolution by @Adib234 in #26069
  • fix(ux): added error message for ENOTDIR by @devr0306 in #26128
  • Changelog for v0.40.0-preview.3 by @gemini-cli-robot in #25904
  • fix(cli): prevent ACP stdout pollution from SessionEnd hooks by @cocosheng-g in #26125
  • feat(cli): support boolean and number casting for env vars in settings.json by @cocosheng-g in #26118
  • fix(cli): preserve Request headers in DevTools activity logger by @Adib234 in #26078
  • 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 by @gemini-cli-robot in #26269
  • 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 by @gemini-cli-robot in #26508
  • 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 by @gemini-cli-robot in #26530

Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.40.1...v0.41.0