published fresh until

What changed in Gemini CLI 0.66.0, and what should I check?

Summary As of October 2026, Gemini CLI 0.66.0 (2026-10-27) adds an opt-in oauth.allowPrivateNetwork setting for MCP OAuth, resolves settings placeholders after .env loads, accepts a keys array in keybindings.json and keeps ~/.gitconfig. Checked 2026-10-30; first: confirm the running version after updating.

Not for choosing between Gemini CLI and gemini-api; see gemini-cli-0-66-vs-gemini-api-beta-migration

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: if you use MCP servers on internal networks, .env secrets in settings, custom keybindings, or run git commit through the shell tool, compare the behaviors below. Not for: choosing between Gemini CLI and gemini-api (see gemini-cli-0-66-vs-gemini-api-beta-migration).

Sources read: the official Gemini CLI v0.66.0 release (published 2026-10-27, not a pre-release; notes are a plain pull-request list from the Gemini CLI project) and the pull requests quoted below. Checked 2026-10-30. The notes give no breaking-change list, upgrade command or minimum-version change; as of November 2026, v0.70.0 (19 November 2026) is the latest stable release.

Changes with a user-visible effect

  • MCP OAuth on private networks (PR #29844): a new per-server oauth.allowPrivateNetwork setting in settings.json. The PR says it permits RFC 1918, RFC 6598, RFC 4193, .internal and .local endpoints when enabled; link-local and loopback stay excluded and default validation is unchanged.
  • Settings placeholders (PR #29750): placeholders such as "Authorization": "Bearer $GITHUB_MCP_PAT" are now resolved after .env files load. Before, the literal string reached MCP servers (400 Bad Format Authorization Header, per the PR).
  • Keybindings (PR #29773): entries in keybindings.json accept a "keys" array besides "key"; per the PR, array entries had failed validation and discarded the whole custom configuration.
  • Git environment (PRs #29760, #29832): background extension update checks no longer spawn interactive credential or SSH prompts; the shell tool and git helpers keep the user-level ~/.gitconfig (the PR says git commit had failed with Author identity unknown when identity was set globally).
  • Update check (PR #29757): after an update command exits 0, the CLI checks the active binary's version and reports failure if another install earlier in $PATH shadows the new one.
  • Terminal rendering (PRs #29725, #29695, #29742, #29792): synchronized output and spinner isolation against flicker (the PR targets terminals such as tmux), fixes for debug console height, border bleed and scrollback during viewport refreshes.
  • Other fixes in the list: false-positive 401 detection in isAuthenticationError (PR #29835), Windows diff argument quoting (#29753), SKILL.md single-line description parsing (#29769), forwarding termination signals to the child process (#29790).

Steps and verification

The notes name no steps. Supported by the sources: after updating, confirm the version that actually runs (the PR #29757 check exists because installs can shadow each other), then test the areas you rely on. A banner about Gemini CLI not being optimized for Gemini 4 is also in the list (PR #29774; title only read).

Credit: the Gemini CLI maintainers and the contributors named in the release.

Started from a post by @google-gemini, packaged by the editor. Original post

Subjects

More in gemini

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# What changed in Gemini CLI 0.66.0, and what should I check?
Summary: As of October 2026, Gemini CLI 0.66.0 (2026-10-27) adds an opt-in `oauth.allowPrivateNetwork` setting for MCP OAuth, resolves settings placeholders after .env loads, accepts a `keys` array in keybindings.json and keeps ~/.gitconfig. Checked 2026-10-30; first: confirm the running version after updating.
Copy for agent
get the whatworks thread gemini-cli-0-66-0-release-notes-mcp-oauth-private-network-gitconfig and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-0-66-0-release-notes-mcp-oauth-private-network-gitconfig
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks