Skip to content

Commit 07506dc

Browse files
Changelog for v0.40.0-preview.2 (#25846)
Co-authored-by: gemini-cli-robot <224641728+gemini-cli-robot@users.noreply.github.com>
1 parent 6cc0b1b commit 07506dc

1 file changed

Lines changed: 162 additions & 18 deletions

File tree

docs/changelogs/preview.md

Lines changed: 162 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Preview release: v0.39.0-preview.0
1+
# Preview release: v0.40.0-preview.2
22

3-
Released: April 14, 2026
3+
Released: April 23, 2026
44

55
Our preview release includes the latest, new, and experimental features. This
66
release may not be as stable as our [latest weekly release](latest.md).
@@ -13,24 +13,168 @@ npm install -g @google/gemini-cli@preview
1313

1414
## Highlights
1515

16-
- **Refactored Subagents and Unified Tooling:** Consolidate subagent tools into
17-
a single `invoke_subagent` tool, removed legacy wrapping tools, and improved
18-
turn limits for codebase investigator.
19-
- **Advanced Memory and Skill Management:** Introduced `/memory` inbox for
20-
reviewing extracted skills and added skill patching support, enhancing agent
21-
learning and persistence.
22-
- **Expanded Test and Evaluation Infrastructure:** Added memory and CPU
23-
performance integration test harnesses and generalized evaluation
24-
infrastructure for better suite organization.
25-
- **Sandbox and Security Hardening:** Centralized sandbox paths for Linux and
26-
macOS, enforced read-only security for async git worktree resolution, and
27-
optimized Windows sandbox initialization.
28-
- **Enhanced CLI UX and UI Stability:** Improved scroll momentum, added a
29-
`debugRainbow` setting, and resolved various memory leaks and PTY exhaustion
30-
issues for a smoother terminal experience.
16+
- **Ripgrep Binary Bundling:** Ripgrep binaries are now bundled into the Single
17+
Executable Application (SEA), enabling grep functionality in offline
18+
environments.
19+
- **MCP Resource Tools:** New core tools added to list and read MCP (Model
20+
Context Protocol) resources, expanding the agent's ability to interact with
21+
MCP servers.
22+
- **Local Model Setup:** Introduced a streamlined `gemini gemma` command for
23+
easier local model setup and integration.
24+
- **Prompt-Driven Memory Management:** Refactored memory management into a
25+
prompt-driven, four-tier system and integrated `skill-creator` for robust
26+
skill extraction.
27+
- **Enhanced UI and Accessibility:** Added support for OSC 777 terminal
28+
notifications and GitHub colorblind themes for better user feedback and
29+
accessibility.
3130

3231
## What's Changed
3332

33+
- chore(release): bump version to 0.40.0-nightly.20260414.g5b1f7375a by
34+
@gemini-cli-robot in
35+
[#25420](https://github.com/google-gemini/gemini-cli/pull/25420)
36+
- Fix(core): retry additional OpenSSL 3.x SSL errors during streaming (#16075)
37+
by @rcleveng in
38+
[#25187](https://github.com/google-gemini/gemini-cli/pull/25187)
39+
- fix(core): prevent YOLO mode from being downgraded by @galz10 in
40+
[#25341](https://github.com/google-gemini/gemini-cli/pull/25341)
41+
- feat: bundle ripgrep binaries into SEA for offline support by @scidomino in
42+
[#25342](https://github.com/google-gemini/gemini-cli/pull/25342)
43+
- Changelog for v0.39.0-preview.0 by @gemini-cli-robot in
44+
[#25417](https://github.com/google-gemini/gemini-cli/pull/25417)
45+
- feat(test): add large conversation scenario for performance test by
46+
@cynthialong0-0 in
47+
[#25331](https://github.com/google-gemini/gemini-cli/pull/25331)
48+
- improve(core): require recurrence evidence before extracting skills by
49+
@SandyTao520 in
50+
[#25147](https://github.com/google-gemini/gemini-cli/pull/25147)
51+
- test(evals): add subagent delegation evaluation tests by @anj-s in
52+
[#24619](https://github.com/google-gemini/gemini-cli/pull/24619)
53+
- feat: add github colorblind themes by @Z1xus in
54+
[#15504](https://github.com/google-gemini/gemini-cli/pull/15504)
55+
- fix(core): honor GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL by
56+
@chrisjcthomas in
57+
[#25357](https://github.com/google-gemini/gemini-cli/pull/25357)
58+
- fix(cli): clean up slash command IDE listeners by @jasonmatthewsuhari in
59+
[#24397](https://github.com/google-gemini/gemini-cli/pull/24397)
60+
- Changelog for v0.38.0 by @gemini-cli-robot in
61+
[#25470](https://github.com/google-gemini/gemini-cli/pull/25470)
62+
- fix(evals): update eval tests for invoke_agent telemetry and project-scoped
63+
memory by @SandyTao520 in
64+
[#25502](https://github.com/google-gemini/gemini-cli/pull/25502)
65+
- Changelog for v0.38.1 by @gemini-cli-robot in
66+
[#25476](https://github.com/google-gemini/gemini-cli/pull/25476)
67+
- feat(core): integrate skill-creator into skill extraction agent by
68+
@SandyTao520 in
69+
[#25421](https://github.com/google-gemini/gemini-cli/pull/25421)
70+
- feat(cli): provide default post-submit prompt for skill command by @ruomengz
71+
in [#25327](https://github.com/google-gemini/gemini-cli/pull/25327)
72+
- feat(core): add tools to list and read MCP resources by @ruomengz in
73+
[#25395](https://github.com/google-gemini/gemini-cli/pull/25395)
74+
- fix(evals): add typecheck coverage for evals, integration-tests, and
75+
memory-tests by @SandyTao520 in
76+
[#25480](https://github.com/google-gemini/gemini-cli/pull/25480)
77+
- Use OSC 777 for terminal notifications by @jackyliuxx in
78+
[#25300](https://github.com/google-gemini/gemini-cli/pull/25300)
79+
- fix(extensions): fix bundling for examples by @abhipatel12 in
80+
[#25542](https://github.com/google-gemini/gemini-cli/pull/25542)
81+
- fix(cli): reset plan session state on /clear by @jasonmatthewsuhari in
82+
[#25515](https://github.com/google-gemini/gemini-cli/pull/25515)
83+
- feat(core): add .mdx support to get-internal-docs tool by @g-samroberts in
84+
[#25090](https://github.com/google-gemini/gemini-cli/pull/25090)
85+
- docs(policy): mention that workspace policies are broken by @6112 in
86+
[#24367](https://github.com/google-gemini/gemini-cli/pull/24367)
87+
- fix(core): allow explicit write permissions to override governance file
88+
protections in sandboxes by @galz10 in
89+
[#25338](https://github.com/google-gemini/gemini-cli/pull/25338)
90+
- feat(sandbox): resolve custom seatbelt profiles from $HOME/.gemini first by
91+
@mvanhorn in [#25427](https://github.com/google-gemini/gemini-cli/pull/25427)
92+
- Reduce blank lines. by @gundermanc in
93+
[#25563](https://github.com/google-gemini/gemini-cli/pull/25563)
94+
- fix(ui): revert preview theme on dialog unmount by @JayadityaGit in
95+
[#22542](https://github.com/google-gemini/gemini-cli/pull/22542)
96+
- fix(core): fix ShellExecutionConfig spread and add ProjectRegistry save
97+
backoff by @mahimashanware in
98+
[#25382](https://github.com/google-gemini/gemini-cli/pull/25382)
99+
- feat(core): Disable topic updates for subagents by @gundermanc in
100+
[#25567](https://github.com/google-gemini/gemini-cli/pull/25567)
101+
- feat(core): enable topic update narration by default and promote to general by
102+
@gundermanc in
103+
[#25586](https://github.com/google-gemini/gemini-cli/pull/25586)
104+
- docs: migrate installation and authentication to mdx with tabbed layouts by
105+
@g-samroberts in
106+
[#25155](https://github.com/google-gemini/gemini-cli/pull/25155)
107+
- feat(config): split memoryManager flag into autoMemory by @SandyTao520 in
108+
[#25601](https://github.com/google-gemini/gemini-cli/pull/25601)
109+
- fix(core): allow Cloud Shell users to use PRO_MODEL_NO_ACCESS experiment by
110+
@sehoon38 in [#25702](https://github.com/google-gemini/gemini-cli/pull/25702)
111+
- fix(cli): round slow render latency to avoid opentelemetry float warning by
112+
@scidomino in [#25709](https://github.com/google-gemini/gemini-cli/pull/25709)
113+
- docs(tracker): introduce experimental task tracker feature by @anj-s in
114+
[#24556](https://github.com/google-gemini/gemini-cli/pull/24556)
115+
- docs(cli): fix inconsistent system.md casing in system prompt docs by @Bodlux
116+
in [#25414](https://github.com/google-gemini/gemini-cli/pull/25414)
117+
- feat(cli): add streamlined `gemini gemma` local model setup by @Samee24 in
118+
[#25498](https://github.com/google-gemini/gemini-cli/pull/25498)
119+
- Changelog for v0.38.2 by @gemini-cli-robot in
120+
[#25593](https://github.com/google-gemini/gemini-cli/pull/25593)
121+
- Fix: Disallow overriding IDE stdio via workspace .env (RCE) by @M0nd0R in
122+
[#25022](https://github.com/google-gemini/gemini-cli/pull/25022)
123+
- feat(test): refactor the memory usage test to use metrics from CLI process
124+
instead of test runner by @cynthialong0-0 in
125+
[#25708](https://github.com/google-gemini/gemini-cli/pull/25708)
126+
- feat(vertex): add settings for Vertex AI request routing by @gordonhwc in
127+
[#25513](https://github.com/google-gemini/gemini-cli/pull/25513)
128+
- Fix/allow for session persistence by @ahsanfarooq210 in
129+
[#25176](https://github.com/google-gemini/gemini-cli/pull/25176)
130+
- Allow dots on GEMINI_API_KEY by @DKbyo in
131+
[#25497](https://github.com/google-gemini/gemini-cli/pull/25497)
132+
- feat(telemetry): add flag for enabling traces specifically by @spencer426 in
133+
[#25343](https://github.com/google-gemini/gemini-cli/pull/25343)
134+
- fix(core): resolve nested plan directory duplication and relative path
135+
policies by @mahimashanware in
136+
[#25138](https://github.com/google-gemini/gemini-cli/pull/25138)
137+
- feat: detect new files in @ recommendations with watcher based updates by
138+
@prassamin in [#25256](https://github.com/google-gemini/gemini-cli/pull/25256)
139+
- fix(cli): use newline in shell command wrapping to avoid breaking heredocs by
140+
@cocosheng-g in
141+
[#25537](https://github.com/google-gemini/gemini-cli/pull/25537)
142+
- fix(cli): ensure theme dialog labels are rendered for all themes by
143+
@JayadityaGit in
144+
[#24599](https://github.com/google-gemini/gemini-cli/pull/24599)
145+
- fix(core): disable detached mode in Bun to prevent immediate SIGHUP of child
146+
processes by @euxaristia in
147+
[#22620](https://github.com/google-gemini/gemini-cli/pull/22620)
148+
- feat: add /new as alias for /clear and refine command description by @ved015
149+
in [#17865](https://github.com/google-gemini/gemini-cli/pull/17865)
150+
- fix(cli): start auto memory in ACP sessions by @jasonmatthewsuhari in
151+
[#25626](https://github.com/google-gemini/gemini-cli/pull/25626)
152+
- fix(core): remove duplicate initialize call on agents refreshed by
153+
@adamfweidman in
154+
[#25670](https://github.com/google-gemini/gemini-cli/pull/25670)
155+
- test(e2e): default integration tests to Flash Preview by @SandyTao520 in
156+
[#25753](https://github.com/google-gemini/gemini-cli/pull/25753)
157+
- refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing
158+
across four tiers by @SandyTao520 in
159+
[#25716](https://github.com/google-gemini/gemini-cli/pull/25716)
160+
- fix(cli): fix "/clear (new)" command by @mini2s in
161+
[#25801](https://github.com/google-gemini/gemini-cli/pull/25801)
162+
- fix(core): use dynamic CLI version for IDE client instead of hardcoded '1.0.0'
163+
by @thekishandev in
164+
[#24414](https://github.com/google-gemini/gemini-cli/pull/24414)
165+
- fix(core): handle line endings in ignore file parsing by @xoma-zver in
166+
[#23895](https://github.com/google-gemini/gemini-cli/pull/23895)
167+
- Fix/command injection shell by @Famous077 in
168+
[#24170](https://github.com/google-gemini/gemini-cli/pull/24170)
169+
- fix(ui): removed background color for input by @devr0306 in
170+
[#25339](https://github.com/google-gemini/gemini-cli/pull/25339)
171+
- fix(devtools): reduce memory usage and defer connection by @SandyTao520 in
172+
[#24496](https://github.com/google-gemini/gemini-cli/pull/24496)
173+
- fix(core): support jsonl session logs in memory and summary services by
174+
@SandyTao520 in
175+
[#25816](https://github.com/google-gemini/gemini-cli/pull/25816)
176+
- fix(release): exclude ripgrep binaries from npm tarballs by @SandyTao520 in
177+
[#25841](https://github.com/google-gemini/gemini-cli/pull/25841)
34178
- refactor(plan): simplify policy priorities and consolidate read-only rules by
35179
@ruomengz in [#24849](https://github.com/google-gemini/gemini-cli/pull/24849)
36180
- feat(test-utils): add memory usage integration test harness by @sripasg in
@@ -254,4 +398,4 @@ npm install -g @google/gemini-cli@preview
254398
[#25336](https://github.com/google-gemini/gemini-cli/pull/25336)
255399

256400
**Full Changelog**:
257-
https://github.com/google-gemini/gemini-cli/compare/v0.38.0-preview.0...v0.39.0-preview.0
401+
https://github.com/google-gemini/gemini-cli/compare/v0.38.0-preview.0...v0.40.0-preview.2

0 commit comments

Comments
 (0)