v0.21.0-nightly.20251226.546baf993
Gemini CLISummary
This release introduces significant new capabilities, including automatic model persistence across sessions and experimental in-CLI extension management. Key fixes address issues with .geminiignore support in search tools and prevent crashes related to I/O errors. Users will also benefit from improved security visibility around hooks and better error handling for schema validation.
New Features
- Enabled automatic persistence of the currently selected model (/model) across Gemini CLI sessions.
- Introduced experimental in-CLI subcommands for installing and uninstalling extensions.
- Added support for Folder Trust to Hooks functionality.
- Implemented dynamic mode-aware policy evaluation.
- Added security warning and improved layout for the Hooks list in the UI.
- Implemented unified secrets sanitization and environment variable redaction options.
- Added A2A Client Manager.
- Enabled terse transformations of image paths within the text buffer.
- Added project-level hook warnings for security context.
- Added modifyOtherKeys protocol support for tmux integration.
Bug Fixes
- Fixed an issue where the SearchText tool did not respect the contents of the .geminiignore file.
- Prevented a crash that occurred during readStdin cleanup when encountering an unhandled EIO error.
- Fixed missing 'type' field in MCPServerConfig.
- Made schema validation errors non-fatal, preventing them from halting operations.
Improvements
- Added clearcut logging for hooks telemetry.
- Recorded timestamp alongside code assist metrics.
- Improved error messages displayed when using the --resume flag.
- Limited the display of MCP resources to 10 items by default.