Back
AI summary
Written by AI from the official notes. Check them for exact details.Gemini CLI 0.21.0 introduces 19 new features and fixes 21 bugs, enhancing functionality and security.
- Implement fuzzy search inside settings
- Enable message bus integration by default
- Support for user-scoped extension settings
- Add scheduled workflow to close stale issues
- Improve API response error handling and retry logic
Why it matters: Users of Gemini CLI should update to benefit from improved features and security enhancements.
Full release notes108 changes
What's Changed
- refactor(stdio): always patch stdout and use createWorkingStdio for clean output
- chore(release): bump version to 0.21.0-nightly.20251202.2d935b379
- implement fuzzy search inside settings
- feat: enable message bus integration by default
- docs: Recommend using --debug intead of --verbose for CLI debugging
- feat: consolidate remote MCP servers to use
urlin config - Restrict integration tests tools
- track github repository names in telemetry events
- Allow telemetry exporters to GCP to utilize user's login credentials, if requested
- refactor(editor): use const assertion for editor types with single source of truth
- fix(security): Fix npm audit vulnerabilities in glob and body-parser
- Add new enterprise instructions
- feat(hooks): Hook Session Lifecycle & Compression Integration
- Avoid triggering refreshStatic unless there really is a banner to display.
- feat(hooks): Hooks Commands Panel, Enable/Disable, and Migrate
- fix: Bundle default policies for npx distribution
- feat(hooks): Hook System Documentation
- Fix tests
- feat: add scheduled workflow to close stale issues
- feat: Support Extension Hooks with Security Warning
- feat: Add enableAgents experimental flag
- docs: fix typo 'socus' to 'focus' in todos.md
- Markdown export: move the emoji to the end of the line
- fix(acp): prevent unnecessary credential cache clearing on re-authent…
- fix(cli): Fix word navigation for CJK characters
- Remove example extension
- Add commands for listing and updating per-extension settings
- chore(tests): remove obsolete test for hierarchical memory
- feat(cli): support /copy in remote sessions using OSC52
- Update setting search UX
- Fix(cli): Improve Homebrew update instruction to specify gemini-cli
- do not toggle the setting item when entering space
- fix: improve retry logic for fetch errors and network codes
- remove unused isSearching field
- feat(mcp): add
--typealias for--transportflag in gemini mcp add - feat(cli): Move key restore logic to core
- feat: add auto-execute on Enter behavior to argumentless MCP prompts
- fix(shell): cursor visibility when using interactive mode
- Adding session id as part of json o/p
- fix(extensions): resolve GitHub API 415 error for source tarballs
- fix(client): Correctly latch hasFailedCompressionAttempt flag
- Disable flaky extension reloading test on linux
- Add support for MCP dynamic tool update by
notifications/tools/list_changed - Fix privacy screen for legacy tier users
- feat: Exclude maintainer labeled issues from stale issue closer
- Grant chained workflows proper permission.
- Make trigger_e2e manually fireable.
- Write e2e status to local repo not forked repo
- Fixes [API Error: Cannot read properties of undefined (reading 'error')]
- Trigger chained e2e tests on all pull requests
- Fix bug in the shellExecutionService resulting in both truncation and 3X bloat
- Fix issue where we were passing the model content reflecting terminal line wrapping.
- chore/release: bump version to 0.21.0-nightly.20251204.3da4fd5f7
- feat(sessions): use 1-line generated session summary to describe sessions
- Use Robot PAT for chained e2e merge queue skipper
- fix(core): improve API response error handling and retry logic
- Docs: Model routing clarification
- expose previewFeatures flag in a2a
- Fix emoji width in debug console.
- Fully detach autoupgrade process
- Docs: Update Gemini 3 on Gemini CLI documentation
- Disallow floating promises.
- chore/release: bump version to 0.21.0-nightly.20251207.025e450ac
- feat(modelAvailabilityService): integrate model availability service into backend logic
- Add prompt_id propagation in a2a-server task
- Fix: Prevent freezing in non-interactive Gemini CLI when debug mode is enabled
- fix(audio): improve reading of audio files
- Update automated triage workflow to stop assigning priority labels
- set failed status when chained e2e fails
- feat(github action) Triage and Label Pull Requests by Size and Comple…
- refactor(telemetry): Improve previous PR that allows telemetry to use the CLI auth and add testing
- Always set status in chained_e2e workflow
- feat: Add OTEL log event
gemini_cli.startup_statsfor startup stats. - feat: auto-execute on slash command completion functions
- Docs: Proper release notes
- Add support for user-scoped extension settings
- refactor(core): Improve environment variable handling in shell execution
- Remove old E2E Workflows
- fix: handle missing local extension config and skip hooks when disabled
- chore/release: bump version to 0.21.0-nightly.20251209.ec9a8c7a7
- feat: Add support for MCP Resources
- Always set pending status in E2E tests
- fix(lint): upgrade pip and use public pypi for yamllint
- fix: use Gemini API supported image formats for clipboard
- feat(a2a): Introduce restore command for a2a server
- allow final:true to be returned on a2a server edit calls.
- (fix) Automated pr labeller
- Update CODEOWNERS
- Docs: Fix errors preventing site rebuild.
- chore(deps): bump express from 5.1.0 to 5.2.0 by @dependabot[bot] in https://github.com/google-gemini/gemini-cli/pull/14325
- fix(patch): cherry-pick 3f5f030 to release/v0.21.0-preview.0-pr-14843 to patch version v0.21.0-preview.0 and create version 0.21.0-preview.1
- fix(patch): cherry-pick ee6556c to release/v0.21.0-preview.1-pr-14691 to patch version v0.21.0-preview.1 and create version 0.21.0-preview.2
- fix(patch): cherry-pick 54de675 to release/v0.21.0-preview.2-pr-14961 [CONFLICTS]
- fix(patch): cherry-pick 12cbe32 to release/v0.21.0-preview.3-pr-15000 to patch version v0.21.0-preview.3 and create version 0.21.0-preview.4
- fix(patch): cherry-pick edbe548 to release/v0.21.0-preview.4-pr-15007 to patch version v0.21.0-preview.4 and create version 0.21.0-preview.5
- fix(patch): cherry-pick 2995af6 to release/v0.21.0-preview.5-pr-15131 to patch version v0.21.0-preview.5 and create version 0.21.0-preview.6
Show the rest (12 more changes)Show less
New Contributors
- @afarber made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14090
- @Viktor286 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14374
- @mhansen made their first contribution in https://github.com/google-gemini/gemini-cli/pull/12278
- @h-michael made their first contribution in https://github.com/google-gemini/gemini-cli/pull/9410
- @pareshjoshij made their first contribution in https://github.com/google-gemini/gemini-cli/pull/13122
- @ismellpillows made their first contribution in https://github.com/google-gemini/gemini-cli/pull/13471
- @DaanVersavel made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14502
- @jpoehnelt made their first contribution in https://github.com/google-gemini/gemini-cli/pull/13319
- @parthasaradhie made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14580
- @MrLesk made their first contribution in https://github.com/google-gemini/gemini-cli/pull/13178
- @DavidAPierce made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14747
- @kklashtorny1 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14830
Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.20.2...v0.21.0