Gemini CLI v0.61.0 adds Gemini 3.8 Flash and guards build files
1 month ago
Gemini CLI v0.61.0 adds Gemini 3.8 Flash and Gemini 3.5 Flash Lite, keeps pinned Flash model IDs as written, asks before build files change or run, and tightens the sandbox on Docker, Podman and macOS Seatbelt. https://github.com/google-gemini/gemini-cli/releases/tag/v0.61.0 https://github.com/google-gemini/gemini-cli/compare/v0.60.0...v0.61.0 https://github.com/google-gemini/gemini-cli/pull/29443 https://github.com/google-gemini/gemini-cli/pull/29252 https://github.com/google-gemini/gemini-cli/pull/29250 https://github.com/google-gemini/gemini-cli/pull/29214
Ask about this presentation
Chapters
0:00Gemini CLI v0.61.0
0:1401: The new Flash models
0:16Gemini API keys, Vertex AI and gateways get Gemini 3.8 Flash right away
0:28The flash alias now resolves to Gemini 3.8 Flash
0:39The fallback model moves up from 2.5 Flash to 3.5 Flash
0:54Two model-config conditions have new names
1:0602: Pinning a model
1:08--model gemini-3.8-flash now reaches the API as written
1:2003: Build files and outside content
1:23Editing a build file always asks you first
1:37After a build file changes, the next build or test command asks too
1:48Flags copied from outside content trigger a critical warning
2:0104: The sandbox
2:02The sandbox refuses to start from your home folder
2:14Containers get a cleaned copy of your settings
2:26macOS Seatbelt blocks your credential files
2:36Seatbelt sessions keep their history in ~/.cache/.gemini
2:47Your own commands load in untrusted workspaces
2:58Install it from npm
Show transcriptHide transcript
Gemini CLI now supports Gemini 3.8 Flash as its newest Flash model. Gemini 3.5 Flash Lite joins it, and Gemini 3.5 Flash and 3.1 Flash Lite become the base tier.
The new Flash models.
With a Gemini API key, Vertex AI, or a gateway, both new models are available as soon as you upgrade. With Login with Google, they arrive when the rollout flag switches on for you.
The short model names follow them. Once you have access, asking for flash gets you Gemini 3.8 Flash, and asking for flash lite gets you Gemini 3.5 Flash Lite.
When Gemini CLI falls back to an older model, it now lands on Gemini 3.5 Flash instead of 2.5 Flash. That covers the flash alias without preview access, and the last resort after retries.
If you write your own model configs, useGemini3_5Flash is now useLatestFlash, and the Flash Lite condition is renamed to match. The old names still work as deprecated aliases.
Pinning a model.
Pin a versioned Flash model with the model flag, and that exact ID now goes out with the request. Before, Gemini CLI quietly swapped it for the Gemini 3.5 Flash rollout default.
Build files and outside content.
When the agent edits a build file, such as package.json, a Makefile, or build dot gradle, Gemini CLI now always stops to ask, with a security warning. In a non-interactive run, the edit is denied.
Once a build file has changed in a session, the next build or test command, like npm, make, or cargo, asks before it runs. Allow for this session is no longer offered for it.
If a command's flags came from outside content, like a fetched web page, an MCP server response, or a Google Doc, Gemini CLI lists those flags in a critical warning and waits for your approval.
The sandbox.
Start a sandboxed session from the root of your home folder, from the filesystem root, or from the dot gemini folder, and it now refuses. Those folders can't be mounted into a container either.
Docker and Podman sandboxes now get a sanitized copy of your settings file, with hooks, custom tool commands, and API keys stripped out. Your real settings folder stays on the host.
On macOS, the Seatbelt profiles now deny reading and writing your OAuth credentials, your Google accounts file, your trusted hooks, and any dot env file.
Seatbelt now blocks writes to the dot gemini folder, so a sandboxed session keeps its history in a dot gemini folder under dot cache, and it still carries over between runs.
Your personal commands in the dot gemini commands folder now load even in an untrusted workspace. Commands from the workspace and from extensions still depend on folder trust.
To upgrade, install the Gemini CLI package globally from npm, pinned to this release.
Up next
3:26Gemini CLI v0.68.0 isn't tuned for Gemini 4, and counts down rate limits
@gemini-cli
4 days ago
3:18Gemini CLI v0.67.0 opens VS Code diffs from inside Docker and gVisor sandboxes
@gemini-cli
1 week ago
3:13Gemini CLI v0.66.0 isn’t optimized for Gemini 4 Argon, so Google points you to Antigravity
@gemini-cli
1 week ago
2:30Gemini CLI v0.65.0 stops deleting your chat history when you resume and quit
@gemini-cli
3 weeks ago
3:03Gemini CLI v0.64.0 stops parallel agents overwriting each other’s edits
@gemini-cli
1 month ago
3:04Gemini CLI v0.63.0 caps memory in long agent runs
@gemini-cli
1 month ago
2:38Gemini CLI v0.62.0 keeps you signed in with Google
@gemini-cli
1 month ago
2:36Gemini CLI v0.58.0
@gemini-cli
2 months ago