Releases: google-gemini/gemini-cli
Releases · google-gemini/gemini-cli
Release v0.42.0-nightly.20260507.ga809bc7c5
What's Changed
- fix(cli): provide JSON output for AgentExecutionStopped in non-interactive mode by @cynthialong0-0 in #26504
- feat(evals): add shell command safety evals by @akh64bit in #26528
- fix(core): handle invalid custom plans directory gracefully by @cynthialong0-0 in #26560
- fix(acp): move tool explanation from thought stream to tool call content by @sripasg in #26554
- fix(a2a-server): Resolve race condition in tool completion waiting by @kschaab in #26568
- fix(cli): randomize sandbox container names by @Kkartik14 in #26014
- fix(core): Fix hysteresis in async context management pipelines. by @joshualitt in #26452
- Tighten private Auto Memory patch allowlist by @SandyTao520 in #26535
- fix(cli): hide read-only settings scopes by @cvan20191 in #26249
- fix(ci): preserve executable bit for mac binaries by @ruomengz in #26600
- fix(cli): improve mcp list UX in untrusted folders by @Adib234 in #26457
- fix(core): prevent silent hang during OAuth auth on headless Linux by @RhysSullivan in #26571
- Changelog for v0.42.0-preview.0 by @gemini-cli-robot in #26537
- ci: fix Argument list too long in triage workflows by @cocosheng-g in #26603
- refactor(cli): migrate core tools to native ToolDisplay property and fix UI rendering by @mbleigh in #25186
- don't wrap args unnecessarily by @scidomino in #26599
New Contributors
- @Kkartik14 made their first contribution in #26014
- @cvan20191 made their first contribution in #26249
- @RhysSullivan made their first contribution in #26571
Full Changelog: v0.42.0-nightly.20260506.g80d269054...v0.42.0-nightly.20260507.ga809bc7c5
Release v0.42.0-preview.2
What's Changed
- fix(patch): cherry-pick 02995ba to release/v0.42.0-preview.1-pr-26568 to patch version v0.42.0-preview.1 and create version 0.42.0-preview.2 by @gemini-cli-robot in #26590
Full Changelog: v0.42.0-preview.1...v0.42.0-preview.2
Release v0.42.0-nightly.20260506.g80d269054
What's Changed
- fix(a2a-server): resolve tool approval race condition and improve status reporting by @kschaab in #26479
- fix(cli): prevent settings dialog border clipping using maxHeight by @jackwotherspoon in #26507
- feat: allow queuing messages during compression (#24071) by @cocosheng-g in #26506
- fix(core): retry on ERR_STREAM_PREMATURE_CLOSE errors by @cocosheng-g in #26519
- fix(core): Minor fixes for generalist profile. by @joshualitt in #26357
- feat(core): steer model to use edit tool for surgical edits, fix a typo by @aishaneeshah in #26480
- docs: clarify Auto Memory proposes memory updates and skills by @SandyTao520 in #26527
- fix(core): reject numeric project IDs in GOOGLE_CLOUD_PROJECT (#24695) by @Abhijit-2592 in #26532
- fix(core): remove unsafe type assertion suppressions in error utils by @himanshu748 in #19881
- fix(core): allow redirection in YOLO and AUTO_EDIT modes without sandboxing by @galz10 in #26542
- ci(release): build and attach unsigned macOS binaries to releases by @ruomengz in #26462
- fix(core): Fix chat corruption bug in context manager. by @joshualitt in #26534
New Contributors
- @himanshu748 made their first contribution in #19881
Full Changelog: v0.42.0-nightly.20260505.g8f0edcd64...v0.42.0-nightly.20260506.g80d269054
Release v0.41.2
What's Changed
- fix(patch): cherry-pick 02995ba to release/v0.41.1-pr-26568 to patch version v0.41.1 and create version 0.41.2 by @gemini-cli-robot in #26589
Full Changelog: v0.41.1...v0.41.2
Release v0.42.0-preview.1
What's Changed
- fix(patch): cherry-pick 3627f47 to release/v0.42.0-preview.0-pr-26542 to patch version v0.42.0-preview.0 and create version 0.42.0-preview.1 by @gemini-cli-robot in #26544
Full Changelog: v0.42.0-preview.0...v0.42.0-preview.1
Release v0.42.0-preview.0
What's Changed
- fix(cli): prevent automatic updates from switching to less stable channels by @Adib234 in #26132
- chore(release): bump version to 0.42.0-nightly.20260428.g59b2dea0e by @gemini-cli-robot in #26142
- fix(cli): pass node arguments via NODE_OPTIONS during relaunch to support SEA by @cocosheng-g in #26130
- fix(cli): handle DECKPAM keypad Enter sequences in terminal by @Gitanaskhan26 in #26092
- docs(cli): point plan-mode session retention to actual /settings labels by @ifitisit in #25978
- fix(core): add missing oauth fields support in subagent parsing by @abhipatel12 in #26141
- fix(core): disconnect extension-backed MCP clients in stopExtension by @cocosheng-g in #26136
- Update documentation workflows with workspace trust by @g-samroberts in #26150
- refactor(acp): modularize monolithic acpClient into specialized files by @sripasg in #26143
- test: fix failures due to antigravity environment leakage by @adamfweidman in #26162
- fix(core): add explicit empty log guard in A2A pushMessage by @adamfweidman in #26198
- feat(cli): add --delete flag to /exit command for session deletion by @AbdulTawabJuly in #19332
- test(core): add regression test for issue for ToolConfirmationResponse by @Adib234 in #26194
- Add the ability to @ mention the gemini robot. by @gundermanc in #26207
- test(evals): add EvalMetadata JSDoc annotations to older tests by @akh64bit in #26147
- fix(core): reduce default API timeout to 60s and enable retries for undici timeouts by @Adib234 in #26191
- fix(core): distinguish fallback chains and fix maxAttempts for auto vs explicit model selection by @adamfweidman in #26163
- fix(cli): handle InvalidStream event gracefully without throwing by @adamfweidman in #26218
- ci(github-actions): switch to github app token and fix bot self-trigger by @gundermanc in #26223
- Respect logPrompts flag for logging sensitive fields by @lp-peg in #26153
- fix: correct API key validation logic in handleApiKeySubmit by @martin-hsu-test in #25453
- fix(agent): prevent exit_plan_mode from being called via shell by @Abhijit-2592 in #26230
-
Fix: Inconsistent Case-Sensitivity in GrepTool by @gemini-cli[bot] in #26235
- docs(core): add automated gemma setup guide by @Samee24 in #26233
- Allow non-https proxy urls to support container environments by @stevemk14ebr in #26234
- fix(bot): productivity and backlog optimizations by @gundermanc in #26236
- refactor(acp): delegate prompt turn processing logic to GeminiClient by @sripasg in #26222
- fix(cli): refine platform-specific undo/redo and smart bubbling for WSL by @cocosheng-g in #26202
- fix: suppress duplicate extension warnings during startup by @cocosheng-g in #26208
- fix(cli): use byte length instead of string length for readStdin size limits by @Adib234 in #26224
- fix(ui): made shell tool header wrap on Ctrl+O by @devr0306 in #26229
- Changelog for v0.41.0-preview.0 by @gemini-cli-robot in #26244
- Skip binary CLI relaunch by @ruomengz in #26261
- fix(cli): do not override GOOGLE_CLOUD_PROJECT in Cloud Shell when using Vertex AI by @jackwotherspoon in #24455
- docs(cli): add skill discovery troubleshooting checklist to tutorial by @pmenic in #26018
- docs(policy-engine): link to tools reference for tool names and args by @Aaxhirrr in #22081
- Fix posting invalid response to a comment by @gundermanc in #26266
- fix(cli): prevent informational logs from polluting json output by @cocosheng-g in #26264
- feat(ui): added microphone and updated placeholder for voice mode by @devr0306 in #26270
- feat(cli): Add 'list' subcommand to '/commands' by @Jwhyee in #22324
- fix(core): ensure tool output cleanup on session deletion for legacy files by @cocosheng-g in #26263
- Docs: Update Agent Skills documentation by @jkcinouye in #22388
- test(acp): add missing coverage for extensions command error paths by @sahilkirad in #25313
- Changelog for v0.40.0 by @gemini-cli-robot in #26245
- fix: report AgentExecutionBlocked in non-interactive programmatic modes by @cocosheng-g in #26262
- feat(extensions): add 'delete' as an alias for /extensions uninstall by @martin-hsu-test in #25660
- fix(core): silently skip GEMINI.md paths that are directories (EISDIR) by @martin-hsu-test in #25662
- fix(ci): checkout PR branch instead of main in bot workflow by @gundermanc in #26289
- fix(cli): use resolved sandbox state for auto-update check by @Adib234 in #26285
-
Metrics Integrity & Standardized Reporting (BT-01) by @gemini-cli[bot] in #26240
- Add Star History section to README by @bdmorgan in #26290
- Add Star History section to README by @bdmorgan in #26308
- Remove Star History section from README by @bdmorgan in #26309
- test(evals): add behavioral eval for file creation and write_file tool selection by @akh64bit in #26292
- feat(config): enable Gemma 4 models by default via Gemini API by @Abhijit-2592 in #26307
- fix(cli): insert voice transcription at cursor position instead of ap… by @Zheyuan-Lin in #26287
- fix(ui): fix issue with box edges by @gundermanc in #26148
- fix(cli): respect .env override for GOOGLE_CLOUD_PROJECT by @DavidAPierce in #26288
- fix(ci): robust version checking in release verification by @scidomino in #26337
- fix(cli): enable daemon relaunch in binary and bundle keytar by @ruomengz in #26333
- fix(core): discourage unprompted git add . in prompt snippets by @akh64bit in #26220
- feat(ui): added wave animation for voice mode by @devr0306 in #26284
- fix(cli): prevent Escape from clearing input buffer (#17083) by @cocosheng-g in #26339
- fix(cli): undeprecate --prompt and correct positional query docs by @Adib234 in #26329
- Metrics updates by @gemini-cli[bot] in #26348
- fix(core): remove "System: Please continue." injection on InvalidStream events by @SandyTao520 in #26340
- docs(policy-engine): add tool argument keys reference and shell policy cross-links by @harshpujari in #25292
- fix(cli): resolve Ghostty/raw-mode False Cancellation in oauth flow by @Aarchi-07 in #25026
- fix(core): reset session-scoped state on resumption by @cocosheng-g in #26342
- Fix bulk of remaining issues with generalist profile by @joshualitt in #26073
- fix(core): make subagents aware of active approval modes by @akh64bit in #23608
- fix(acp): resolve agent mode disconnect and improve mode awareness by @sripasg in #26332
- docs(sdk): add JSDoc to exported interfaces in packages/sdk/src/types.ts by @cocosheng-g in #26441
- perf: skip redundant GEMINI.md loading in partialConfig by @cocosheng-g in https://github.c...
Release v0.42.0-nightly.20260505.g8f0edcd64
What's Changed
- fix(cli)#21297: clear skills consent dialog before reload by @manavmax in #26431
- fix(cli): render LaTeX-style output as Unicode in the TUI by @dimssu in #25802
- fix(core): use close event instead of exit in child_process fallback by @tusaryan in #25695
- feat(voice): add privacy and compliance UX warning for Gemini Live backend by @cocosheng-g in #26454
- feat(memory): add Auto Memory inbox flow with canonical-patch contract by @SandyTao520 in #26338
- test(cleanup): fix temporary directory leaks in test suites by @Adib234 in #26217
- feat: add ignoreLocalEnv setting and --ignore-env flag (#2493) by @cocosheng-g in #26445
- docs(sdk): add JSDoc to all exported interfaces and types by @fauzan171 in #26277
- feat(cli): improve /agents refresh logging by @cocosheng-g in #26442
- Fix: make Dockerfile self-contained with multi-stage build by @Famous077 in #24277
- fix(core): filter unsupported multimodal types from tool responses by @aishaneeshah in #26352
- fix(core): properly format markdown in AskUser tool by unescaping newlines by @Adib234 in #26349
- feat(bot): add actions spend metric script by @gundermanc in #26463
- feat(cli): add /bug-memory command and auto-capture heap snapshot in /bug by @Anjaligarhwal in #25639
- fix(cli): make SkillInboxDialog fit and scroll in alternate buffer by @SandyTao520 in #26455
- Robust Scale-Safe Lifecycle Consolidation by @gemini-cli-robot in #26355
- fix(ci): respect exempt labels when closing stale items by @gundermanc in #26475
- fix(cli): use os.homedir() for home directory warning check by @TirthNaik-99 in #25890
New Contributors
- @dimssu made their first contribution in #25802
- @tusaryan made their first contribution in #25695
- @fauzan171 made their first contribution in #26277
- @TirthNaik-99 made their first contribution in #25890
Full Changelog: v0.42.0-nightly.20260504.g37edd1d4d...v0.42.0-nightly.20260505.g8f0edcd64
Release v0.41.1
What's Changed
- fix(patch): cherry-pick 3627f47 to release/v0.41.0-pr-26542 to patch version v0.41.0 and create version 0.41.1 by @gemini-cli-robot in #26545
Full Changelog: v0.41.0...v0.41.1
Release v0.41.0
What's Changed
- chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583 by @gemini-cli-robot in #25847
- fix(core): only show
listsuggestion 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
New Contributors
- @hsm207 made their first contribution in #20108
- @gaurav0107 made their first contribution in #25822
Full Changelog: v0.40.1...v0.41.0
Release v0.41.0-preview.3
What's Changed
- 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: v0.41.0-preview.2...v0.41.0-preview.3