Change8

v0.28.0-preview.0

Gemini CLI
15 features16 fixes9 improvementscliextensionsmcpthemestools

Summary

This release introduces several new features, including the /prompt-suggest command, support for Positron IDE, and improved OAuth consent flows. Key fixes address issues with MIME type verification, session restoration, and Vim mode usability. Users will also benefit from UX refinements like updated keybindings and clearer settings visibility.

New Features

  • Added the /prompt-suggest slash command for generating prompt suggestions.
  • Enabled activity logging for non-interactive mode and evaluations.
  • Added support for Positron IDE.
  • Added support for custom deny messages in policy rules.
  • Added support for custom themes in extensions.
  • Updated undo/redo keybindings to Cmd+Z/Alt+Z and Shift+Cmd+Z/Shift+Alt+Z.
  • Display user identity (auth, email, tier) on startup.
  • Show hooksConfig.enabled status in the settings dialog.
  • Added user identity info to the stats command.
  • Created a generic Checklist component and refactored Todo functionality.
  • Added support for the GOOGLE_GENAI_API_VERSION environment variable.
  • Preserved End-Of-Line (EOL) characters in files during operations.
  • Implemented interactive and non-interactive consent flows for OAuth.
  • Added an npx smoke test to verify installability.
  • Implemented dynamic policy registration for subagents.

Bug Fixes

  • Fixed verification of audio/video MIME types using content checks.
  • Fixed crash or incorrect behavior related to streaming by suppressing duplicate hook failure warnings.
  • Fixed persistence and restoration of workspace directories upon session resume.
  • Fixed wrapping issues caused by fixed-width characters in the UX.
  • Fixed incorrect path usage for the activity log directory in evaluations.
  • Fixed listing of installed extensions when an update target is missing.
  • Fixed handling of PAT tokens and credentials during git remote URL parsing.
  • Fixed error display by using returnDisplay for error results.
  • Fixed detection of 'bun' as a package manager.
  • Prevented a ghost border from appearing for the AskUserDialog.
  • Fixed unintended credential exposure to MCP Servers.
  • Fixed an error thrown for sensitive values.
  • Fixed the use of GIT_CONFIG_GLOBAL to isolate the shadow git repo configuration.
  • Fixed the Cloud Shell auth setting key.
  • Fixed HalfLinePaddedBox rendering in screenreader mode.
  • Fixed Vim mode issues, ensuring it starts in insert mode and unblocking F12 and ctrl-X.

Improvements

  • Aligned hooks enable/disable behavior with skills and improved completion.
  • Added an email privacy note to the bug_report template.
  • Wrapped text to next lines in /oncall dedup output.
  • Renamed the advanced features admin setting for clarity.
  • Updated cell border color and created a test file for table rendering.
  • Changed the height for the ToolConfirmationQueue.
  • Updated truncate dots to be shorter in tables.
  • Optimized token calculation and added support for multimodal tool responses.
  • Cleaned up truncated tool outputs.

Related Documentation

Gemini CLI Documentation