Back
AI summary
Written by AI from the official notes. Check them for exact details.Gemini CLI 0.22.0 introduces 12 new features and several bug fixes, enhancing functionality and user experience.
- Support for multi-file drag and drop of images added.
- New /init command introduced for a2a server.
- Persistent 'Always Allow' policies with granular shell support.
- Quota stats for unused models now displayed in /stats.
- Improved error messages and parsing capabilities.
Why it matters: Users of Gemini CLI should update to benefit from new features and improved stability.
Full release notes57 changes
What's Changed
- feat(ide): fallback to GEMINI_CLI_IDE_AUTH_TOKEN env var
- feat: display quota stats for unused models in /stats
- feat: ensure codebase investigator uses preview model when main agent does
- chore: add closing reason to stale bug workflow
- Send the model and CLI version with the user agent
- refactor(sessions): move session summary generation to startup
- Limit search depth in path corrector
- Fix: Correct typo in code comment
- feat(core): Plumbing for late resolution of model configs.
- feat: attempt more error parsing
- Add missing await.
- feat(core): Add support for transcript_path in hooks for git-ai/Gemini extension
- refactor: implement DelegateToAgentTool with discriminated union
- feat: reset availabilityService on /auth
- chore/release: bump version to 0.21.0-nightly.20251211.8c83e1ea9
- Fix: Correctly detect MCP tool errors
- increase labeler timeout
- tool(cli): tweak the frontend tool to be aware of more core files from the cli
- feat(cli): polish cached token stats and simplify stats display when quota is present.
- feat(settings-validation): add validation for settings schema
- fix(ide): Update IDE extension to write auth token in env var
- Revert "chore(deps): bump express from 5.1.0 to 5.2.0"
- feat(a2a): Introduce /init command for a2a server
- feat: support multi-file drag and drop of images
- fix(policy): allow codebase_investigator by default in read-only policy
- refactor(ide ext): Update port file name + switch to 1-based index for characters + remove truncation text
- fix(vscode-ide-companion): correct license generation for workspace dependencies
- fix: temp fix for subagent invocation until subagent delegation is merged to stable
- test: update ide detection tests to make them more robust when run in an ide
- Remove flex from stats display. See snapshots for diffs.
- Add license field into package.json
- feat: Persistent "Always Allow" policies with granular shell & MCP support
- chore/release: bump version to 0.21.0-nightly.20251212.54de67536
- fix(core): commandPrefix word boundary and compound command safety
- chore(docs): add 'Maintainers only' label info to CONTRIBUTING.md
- Refresh hooks when refreshing extensions.
- Add clarity to error messages
- chore: remove a redundant tip
- chore/release: bump version to 0.21.0-nightly.20251213.977248e09
- Disallow redundant typecasts.
- fix(auth): prioritize GEMINI_API_KEY env var and skip unnecessary key…
- fix: use zod for safety check result validation
- update(telemetry): add hashed_extension_name to field to extension events
- fix: similar to policy-engine, throw error in case of requiring tool execution confirmation for non-interactive mode
- Clean up processes in integration tests
- docs: update policy engine getting started and defaults
- Fix tool output fragmentation by encapsulating content in functionResponse
- Simplify method signature.
- Show raw input token counts in json output.
- fix: Mark A2A requests as interactive
- use previewFeatures to determine which pro model to use for A2A
- refactor(cli): fix settings merging so that settings using the new json format take priority over ones using the old format
- fix(patch): cherry-pick a6d1245 to release/v0.22.0-preview.1-pr-15214 to patch version v0.22.0-preview.1 and create version 0.22.0-preview.2
- fix(patch): cherry-pick 9e6914d to release/v0.22.0-preview.2-pr-15288 to patch version v0.22.0-preview.2 and create version 0.22.0-preview.3
Show the rest (3 more changes)Show less
New Contributors
- @kuishou68 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14671
- @svarlamov made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14663
- @jb-perez made their first contribution in https://github.com/google-gemini/gemini-cli/pull/14473
Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.21.3...v0.22.0