Skip to content
Proposals/Upgrade Gemini CLI to v0.54.0 for session-ID rot
proposaldeveloperP5Worth a lookGCGemini CLI

Upgrade Gemini CLI to v0.54.0 for session-ID rotation on model fallback

v0.54.0 rotates the session ID on model fallback, enforces HTTPS for GoogleCredentialsAuthProvider, filters thought parts when context management is disabled, skips merged function-response turns in the active loop, and tightens file keychain tag validation.

Why this loop

Stateful API errors after model fallback and cleartext credential leakage are fixed in this release. Upgrading picks up session-ID rotation on fallback, HTTPS-only Google credential auth, safer history when context management is off (thought parts filtered), more reliable active-loop detection (merged function-response turns skipped), and explicit tag length/validation in the file keychain. Teams using Gemini CLI with auth, multi-model fallback, or a2a content proposals should move to v0.54.0 so these core fixes apply without workarounds.

Proposed actions

  1. npm install -g @google/gemini-cli@0.54.0 && gemini --version
  2. In your Gemini CLI auth/config path, remove any http:// credential or token endpoint overrides so GoogleCredentialsAuthProvider only uses HTTPS endpoints
  3. Reproduce a model-fallback path once (force a primary-model failure or switch models mid-session) and confirm the CLI rotates the session ID and no longer returns stateful API errors from the prior session
  4. If context management is disabled in your config, start a fresh session and confirm thought parts no longer appear in history turns used for context
  5. For a2a-server workflows, re-run getProposedContent on a CRLF-sourced patch and confirm proposed content is normalized to LF before apply

Agent prompt

Paste into your agent or query via MCP (`get_agent_prompt`) — free, no extra AI cost

Google Antigravity / agent task

# DevAgentRadar → Google Antigravity

Goal: turn this release signal into a safe pilot plan for my stack.

## Context
Assistant: Gemini CLI
Proposal: Upgrade Gemini CLI to v0.54.0 for session-ID rotation on model fallback
Summary: v0.54.0 rotates the session ID on model fallback, enforces HTTPS for GoogleCredentialsAuthProvider, filters thought parts when context management is disabled, skips merged function-response turns in the active loop, and tightens file keychain tag validation.
Primary source: https://github.com/google-gemini/gemini-cli/releases/tag/v0.54.0

## Why it matters
Stateful API errors after model fallback and cleartext credential leakage are fixed in this release. Upgrading picks up session-ID rotation on fallback, HTTPS-only Google credential auth, safer history when context management is off (thought parts filtered), more reliable active-loop detection (merged function-response turns skipped), and explicit tag length/validation in the file keychain. Teams using Gemini CLI with auth, multi-model fallback, or a2a content proposals should move to v0.54.0 so these core fixes apply without workarounds.

## Suggested actions
1. npm install -g @google/gemini-cli@0.54.0 && gemini --version
2. In your Gemini CLI auth/config path, remove any http:// credential or token endpoint overrides so GoogleCredentialsAuthProvider only uses HTTPS endpoints
3. Reproduce a model-fallback path once (force a primary-model failure or switch models mid-session) and confirm the CLI rotates the session ID and no longer returns stateful API errors from the prior session
4. If context management is disabled in your config, start a fresh session and confirm thought parts no longer appear in history turns used for context
5. For a2a-server workflows, re-run getProposedContent on a CRLF-sourced patch and confirm proposed content is normalized to LF before apply


Please:
1. Map the change to concrete pilot steps
2. Flag security / permission implications
3. Keep the pilot reversible
agentmodelcliRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

Community signal · 0 approved · 0 deferred · 0 ignored

Anonymous public tally (one vote per visitor; changing choice updates your vote). Not moderated product truth.

Originating release signal

GCGemini CLIv0.54.0Aug 6, 2026

v0.54.0 Release v0.54.0

Changelog for v0.53.0-preview.0 · Changelog for v0.52.0 · chore(release): bump version to 0.54.0-nightly.20260722.gf743ab579 · fix(caretaker): sanitize and wrap issue title in untrusted_context · chore(caretaker): update vitest to v3.2.4 and add package-lock.json files · fix(core): rotate session ID on model fallback to prevent stateful API errors · feat(caretaker-triage): post comment before auto-closing issues · fix(core): enforce HTTPS for GoogleCredentialsAuthProvider to prevent cleartext leakage · +8 more changes

Verified excerpt — the source's own words
## What's Changed
* Changelog for v0.53.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/28507
* Changelog for v0.52.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/28508
* chore(release): bump version to 0.54.0-nightly.20260722.gf743ab579 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/28510
* fix(caretaker): sanitize and wrap issue title in untrusted_context by @chadd28 in https://github.com/google-gemini/gemini-cli/pull/28352
* chore(caretaker): update vitest to v3.2.4 and add package-lock.json files by @chadd28 in https://github.com/google-gemini/gemini-cli/pull/28409
* fix(core): rotate session ID on model fallback to prevent stateful API errors by @amelidev in https://github.com/google-gemini/gemini-cli/pull/28469
* feat(caretaker-triage): post comment before auto-closing issues by @chadd28 in https://github.com/google-gemini/gemini-cli/pull/28411
* fix(core): enforce HTTPS for GoogleCredentialsAuthProvider to prevent cleartext leakage by @amelidev in https://github.com/google-gemini/gemini-cli/pull/28517

Excerpt ends here — this release continues at the source ↗.

Primary source ↗