Back
AI summary
Written by AI from the official notes. Check them for exact details.Gemini CLI 0.40.0 introduces 17 new features and fixes 29 bugs, enhancing functionality and performance.
- Added support for offline use with bundled ripgrep binaries
- Introduced GitHub colorblind themes
- Enabled topic update narration by default
- Integrated skill-creator into skill extraction agent
- Refactored memory usage test for improved metrics
Why it matters: Users of Gemini CLI should update to benefit from enhanced features and bug fixes.
Full release notes78 changes
What's Changed
- chore(release): bump version to 0.40.0-nightly.20260414.g5b1f7375a
- Fix(core): retry additional OpenSSL 3.x SSL errors during streaming (#16075)
- fix(core): prevent YOLO mode from being downgraded
- feat: bundle ripgrep binaries into SEA for offline support
- Changelog for v0.39.0-preview.0
- feat(test): add large conversation scenario for performance test
- improve(core): require recurrence evidence before extracting skills
- test(evals): add subagent delegation evaluation tests
- feat: add github colorblind themes
- fix(core): honor GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL
- fix(cli): clean up slash command IDE listeners
- Changelog for v0.38.0
- fix(evals): update eval tests for invoke_agent telemetry and project-scoped memory
- Changelog for v0.38.1
- feat(core): integrate skill-creator into skill extraction agent
- feat(cli): provide default post-submit prompt for skill command
- feat(core): add tools to list and read MCP resources
- fix(evals): add typecheck coverage for evals, integration-tests, and memory-tests
- Use OSC 777 for terminal notifications
- fix(extensions): fix bundling for examples
- fix(cli): reset plan session state on /clear
- feat(core): add.mdx support to get-internal-docs tool
- docs(policy): mention that workspace policies are broken
- fix(core): allow explicit write permissions to override governance file protections in sandboxes
- feat(sandbox): resolve custom seatbelt profiles from $HOME/.gemini first
- Reduce blank lines.
- fix(ui): revert preview theme on dialog unmount
- fix(core): fix ShellExecutionConfig spread and add ProjectRegistry save backoff
- feat(core): Disable topic updates for subagents
- feat(core): enable topic update narration by default and promote to general
- docs: migrate installation and authentication to mdx with tabbed layouts
- feat(config): split memoryManager flag into autoMemory
- fix(core): allow Cloud Shell users to use PRO_MODEL_NO_ACCESS experiment
- fix(cli): round slow render latency to avoid opentelemetry float warning
- docs(tracker): introduce experimental task tracker feature
- docs(cli): fix inconsistent system.md casing in system prompt docs
- feat(cli): add streamlined
gemini gemmalocal model setup - Changelog for v0.38.2
- Fix: Disallow overriding IDE stdio via workspace.env (RCE)
- feat(test): refactor the memory usage test to use metrics from CLI process instead of test runner
- feat(vertex): add settings for Vertex AI request routing
- Fix/allow for session persistence
- Allow dots on GEMINI_API_KEY
- feat(telemetry): add flag for enabling traces specifically
- fix(core): resolve nested plan directory duplication and relative path policies
- feat: detect new files in @ recommendations with watcher based updates
- fix(cli): use newline in shell command wrapping to avoid breaking heredocs
- fix(cli): ensure theme dialog labels are rendered for all themes
- fix(core): disable detached mode in Bun to prevent immediate SIGHUP of child processes
- feat: add /new as alias for /clear and refine command description
- fix(cli): start auto memory in ACP sessions
- fix(core): remove duplicate initialize call on agents refreshed
- test(e2e): default integration tests to Flash Preview
- refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing across four tiers
- fix(cli): fix "/clear (new)" command
- fix(core): use dynamic CLI version for IDE client instead of hardcoded '1.0.0'
- fix(core): handle line endings in ignore file parsing
- Fix/command injection shell
- fix(ui): removed background color for input
- fix(devtools): reduce memory usage and defer connection
- fix(core): support jsonl session logs in memory and summary services
- fix(release): exclude ripgrep binaries from npm tarballs
- fix(patch): cherry-pick 048bf6e to release/v0.40.0-preview.3-pr-25941 to patch version v0.40.0-preview.3 and create version 0.40.0-preview.4
- fix(patch): cherry-pick 54b7586 to release/v0.40.0-preview.4-pr-26066 [CONFLICTS]
Show the rest (14 more changes)Show less
New Contributors
- @rcleveng made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25187
- @Z1xus made their first contribution in https://github.com/google-gemini/gemini-cli/pull/15504
- @jackyliuxx made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25300
- @6112 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/24367
- @mvanhorn made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25427
- @Bodlux made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25414
- @M0nd0R made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25022
- @gordonhwc made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25513
- @ahsanfarooq210 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25176
- @DKbyo made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25497
- @prassamin made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25256
- @mini2s made their first contribution in https://github.com/google-gemini/gemini-cli/pull/25801
- @thekishandev made their first contribution in https://github.com/google-gemini/gemini-cli/pull/24414
- @xoma-zver made their first contribution in https://github.com/google-gemini/gemini-cli/pull/23895
Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.39.1...v0.40.0