diff --git a/docs/changelogs/index.md b/docs/changelogs/index.md index 0e33755a8f..f32d841955 100644 --- a/docs/changelogs/index.md +++ b/docs/changelogs/index.md @@ -18,6 +18,23 @@ on GitHub. | [Preview](preview.md) | Experimental features ready for early feedback. | | [Stable](latest.md) | Stable, recommended for general use. | +## Announcements: v0.47.0 - 2026-06-18 + +- **Gemini 3.5 Flash Support:** Auto Mode now supports Gemini 3.5 Flash backend + definitions and can automatically use the new model when enabled + ([#27645](https://github.com/google-gemini/gemini-cli/pull/27645) by + @DavidAPierce). +- **Antigravity CLI Migration:** Added documentation and helper commands to + facilitate migration to the Antigravity CLI + ([#27765](https://github.com/google-gemini/gemini-cli/pull/27765) by + @DavidAPierce). +- **Core Reliability Improvements:** Enhanced MCP tool discovery with atomic + updates and avoided saving empty resume sessions + ([#27619](https://github.com/google-gemini/gemini-cli/pull/27619) by + @luisfelipe-alt, + [#27770](https://github.com/google-gemini/gemini-cli/pull/27770) by + @SandyTao520). + ## Announcements: v0.45.0 - 2026-06-03 - **Context Simplification:** Completed major architectural work to simplify the diff --git a/docs/changelogs/latest.md b/docs/changelogs/latest.md index fe5f550b3c..3451885651 100644 --- a/docs/changelogs/latest.md +++ b/docs/changelogs/latest.md @@ -1,6 +1,6 @@ -# Latest stable release: v0.45.0 +# Latest stable release: v0.47.0 -Released: June 03, 2026 +Released: June 18, 2026 For most users, our latest stable release is the recommended release. Install the latest stable version with: @@ -11,55 +11,46 @@ npm install -g @google/gemini-cli ## Highlights -- **Context Manager Simplification:** Completed a significant refactoring of the - context management system to improve reliability and architectural clarity. -- **A2A Usage Metadata:** Enhanced the Agent-to-Agent protocol to expose usage - metadata, enabling more transparent resource monitoring. -- **Terminal & PTY Robustness:** Resolved several critical issues related to - terminal interactions, including Termux relaunch loops and PTY resize errors. -- **Routing Optimizations:** Updated default auto-routing and bypassed - classifiers for specific tool responses to prevent orphaned function errors. -- **Tool Execution Control:** Forced the `update_topic` tool to execute - sequentially, ensuring consistent narrative flow in agent interactions. +- **Gemini 3.5 Flash Support:** Updated Auto Mode to support Gemini 3.5 Flash + backend definitions and automatically use Gemini 3.5 Flash when the feature + flag is enabled. +- **Antigravity CLI Migration:** Added migration commands and comprehensive + documentation to facilitate the transition to Antigravity CLI, with updates to + the transition banner visibility limits. +- **Policy Engine Robustness:** Improved policy stability by implementing an + EBUSY fallback and TOML parsing recovery mechanisms. +- **Atomic MCP Tool Discovery:** Implemented atomic updates during MCP tool + discovery to ensure stable and race-free tool registration. +- **Session Preservation:** Prevented the CLI from persisting empty resume + sessions, keeping session storage clean and organized. ## What's Changed -- chore(release): bump version to 0.45.0-nightly.20260521.g854f811be by +- chore(release): bump version to 0.47.0-nightly.20260602.gcfcecebe8 by @gemini-cli-robot in - [#27362](https://github.com/google-gemini/gemini-cli/pull/27362) -- fix(cli): prevent Termux relaunch and resize remount loops by @saymanq in - [#27110](https://github.com/google-gemini/gemini-cli/pull/27110) -- Feat/a2a expose usage metadata by @jvargassanchez-dot in - [#27288](https://github.com/google-gemini/gemini-cli/pull/27288) -- feat(context): Complete simplification work. by @joshualitt in - [#27345](https://github.com/google-gemini/gemini-cli/pull/27345) -- fix(core): force update_topic tool to execute sequentially by - @jvargassanchez-dot in - [#27357](https://github.com/google-gemini/gemini-cli/pull/27357) -- Changelog for v0.44.0-preview.0 by @gemini-cli-robot in - [#27360](https://github.com/google-gemini/gemini-cli/pull/27360) -- Changelog for v0.43.0 by @gemini-cli-robot in - [#27361](https://github.com/google-gemini/gemini-cli/pull/27361) -- Revert "fix(core): prevent SIGHUP kills in PTY environments" by @bbiggs in - [#27401](https://github.com/google-gemini/gemini-cli/pull/27401) -- fix(cli): filter internal session context from history during resumption by - @rmedranollamas in - [#27391](https://github.com/google-gemini/gemini-cli/pull/27391) -- Update default auto routing by @DavidAPierce in - [#27071](https://github.com/google-gemini/gemini-cli/pull/27071) -- fix(core): bypass routing classifiers to prevent orphaned function response - errors by @danielweis in - [#27389](https://github.com/google-gemini/gemini-cli/pull/27389) -- fix(core): suppress PTY resize EBADF errors by @scidomino in - [#27461](https://github.com/google-gemini/gemini-cli/pull/27461) -- fix(core): prevent blacklist bypass in mcp list by @ompatel-aiml in - [#27377](https://github.com/google-gemini/gemini-cli/pull/27377) -- fix(cli): ignore unmapped vim normal keys by @MukundaKatta in - [#27102](https://github.com/google-gemini/gemini-cli/pull/27102) -- fix(patch): cherry-pick bd53951 to release/v0.45.0-preview.0-pr-27496 to patch - version v0.45.0-preview.0 and create version 0.45.0-preview.1 by - @gemini-cli-robot in - [#27535](https://github.com/google-gemini/gemini-cli/pull/27535) + [#27644](https://github.com/google-gemini/gemini-cli/pull/27644) +- Changelog for v0.46.0-preview.0 by @gemini-cli-robot in + [#27641](https://github.com/google-gemini/gemini-cli/pull/27641) +- Respect backend definitions for 3.5 flash and Update auto mode to use 3.5 + flash when the flag is enabled. by @DavidAPierce in + [#27645](https://github.com/google-gemini/gemini-cli/pull/27645) +- fix(policy): add EBUSY fallback and TOML parse recovery (#19919) by @krishdef7 + in [#21541](https://github.com/google-gemini/gemini-cli/pull/21541) +- Changelog for v0.45.0 by @gemini-cli-robot in + [#27642](https://github.com/google-gemini/gemini-cli/pull/27642) +- update the max amount of times the Antigravity transition banner can be + displayed. by @DavidAPierce in + [#27676](https://github.com/google-gemini/gemini-cli/pull/27676) +- chore: remove experimental text from browser agent docs by @gsquared94 in + [#27746](https://github.com/google-gemini/gemini-cli/pull/27746) +- fix(core): implement atomic update in MCP tool discovery by @luisfelipe-alt in + [#27619](https://github.com/google-gemini/gemini-cli/pull/27619) +- Vertex ai model mapping fix by @DavidAPierce in + [#27749](https://github.com/google-gemini/gemini-cli/pull/27749) +- Add documentation and migration commands for Antigravity CLI by @DavidAPierce + in [#27765](https://github.com/google-gemini/gemini-cli/pull/27765) +- Avoid persisting empty resume sessions by @SandyTao520 in + [#27770](https://github.com/google-gemini/gemini-cli/pull/27770) **Full Changelog**: -https://github.com/google-gemini/gemini-cli/compare/v0.44.1...v0.45.0 +https://github.com/google-gemini/gemini-cli/compare/v0.46.0...v0.47.0 diff --git a/package-lock.json b/package-lock.json index bde6259b11..5ed8049e84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -449,8 +449,7 @@ "version": "2.11.0", "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.11.0.tgz", "integrity": "sha512-sBXGT13cpmPR5BMgHE6UEEfEaShh5Ror6rfN3yEK5si7QVrtZg8LEPQb0VVhiLRUslD2yLnXtnRzG035J/mZXQ==", - "license": "(Apache-2.0 AND BSD-3-Clause)", - "peer": true + "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@bundled-es-modules/cookie": { "version": "2.0.1", @@ -1536,7 +1535,6 @@ "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.3.tgz", "integrity": "sha512-Iq8QQQ/7X3Sac15oB6p0FmUg/klxQvXLeileoqrTRGJYLV+/9tubbr9ipz0GKHjmXVsgFPo/+W+2cA8eNcR+XA==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@grpc/proto-loader": "^0.8.0", "@js-sdsl/ordered-map": "^4.4.2" @@ -2244,7 +2242,6 @@ "integrity": "sha512-t54CUOsFMappY1Jbzb7fetWeO0n6K0k/4+/ZpkS+3Joz8I4VcvY9OiEBFRYISqaI2fq5sCiPtAjRDOzVYG8m+Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.2", @@ -2425,7 +2422,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -2475,7 +2471,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.7.1.tgz", "integrity": "sha512-QAqIj32AtK6+pEVNG7EOVxHdE06RP+FM5qpiEJ4RtDcFIqKUZHYhl7/7UY5efhwmwNAg7j8QbJVBLxMerc0+gw==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/semantic-conventions": "^1.29.0" }, @@ -2826,7 +2821,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.7.1.tgz", "integrity": "sha512-DeT6KKolmC4e/dRQvMQ/RwlnzhaqeiFOXY5ngoOPJ07GgVVKxZOg9EcrNZb5aTzUn+iCrJldAgOfQm1O/QfPAQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "2.7.1", "@opentelemetry/semantic-conventions": "^1.29.0" @@ -2861,7 +2855,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-2.7.1.tgz", "integrity": "sha512-MpDJdkiFDs3Pm1RHO3KByuZbuBdJEXEAkiC0+yJdsZGVCdf1RpHR6n+LHDcS7ffmfrt5kVCzJSCfm4z2C7v0uQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "2.7.1", "@opentelemetry/resources": "2.7.1" @@ -2917,7 +2910,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.7.1.tgz", "integrity": "sha512-NAYIlsF8MPUsKqJMiDQJTMPOmlbawC1Iz/omMLygZ1C9am8fTKYjTaI+OZM+WTY3t3Glo0wnOg/6/pac6RGPPw==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "2.7.1", "@opentelemetry/resources": "2.7.1", @@ -4170,7 +4162,6 @@ "integrity": "sha512-6mDvHUFSjyT2B2yeNx2nUgMxh9LtOWvkhIU3uePn2I2oyNymUAX1NIsdgviM4CH+JSrp2D2hsMvJOkxY+0wNRA==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.0.2" } @@ -4444,7 +4435,6 @@ "integrity": "sha512-/Zb/xaIDfxeJnvishjGdcR4jmr7S+bda8PKNhRGdljDM+elXhlvN0FyPSsMnLmJUrVG9aPO6dof80wjMawsASg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.58.2", "@typescript-eslint/types": "8.58.2", @@ -5220,7 +5210,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -7332,8 +7321,7 @@ "version": "0.0.1581282", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1581282.tgz", "integrity": "sha512-nv7iKtNZQshSW2hKzYNr46nM/Cfh5SEvE2oV0/SEGgc9XupIY5ggf84Cz8eJIkBce7S3bmTAauFD6aysMpnqsQ==", - "license": "BSD-3-Clause", - "peer": true + "license": "BSD-3-Clause" }, "node_modules/dezalgo": { "version": "1.0.4", @@ -7918,7 +7906,6 @@ "integrity": "sha512-GsGizj2Y1rCWDu6XoEekL3RLilp0voSePurjZIkxL3wlm5o5EC9VpgaP7lrCvjnkuLvzFBQWB3vWB3K5KQTveQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", @@ -8529,7 +8516,6 @@ "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", "license": "MIT", - "peer": true, "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", @@ -9799,7 +9785,6 @@ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.18.tgz", "integrity": "sha512-RWzP96k/yv0PQfyXnWjs6zot20TqfpfsNXhOnev8d1InAxubW93L11/oNUc3tQqn2G0bSdAOBpX+2uDFHV7kdQ==", "license": "MIT", - "peer": true, "engines": { "node": ">=16.9.0" } @@ -10062,7 +10047,6 @@ "resolved": "https://registry.npmjs.org/@jrichman/ink/-/ink-6.6.9.tgz", "integrity": "sha512-RL9sSiLQZECnjbmBwjIHOp8yVGdWF7C/uifg7ISv/e+F3nLNsfl7FdUFQs8iZARFMJAYxMFpxW6OW+HSt9drwQ==", "license": "MIT", - "peer": true, "dependencies": { "ansi-escapes": "^7.0.0", "ansi-styles": "^6.2.3", @@ -13838,7 +13822,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -13849,7 +13832,6 @@ "integrity": "sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "shell-quote": "^1.6.1", "ws": "^7" @@ -16004,7 +15986,6 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -16227,8 +16208,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/tsx": { "version": "4.20.3", @@ -16236,7 +16216,6 @@ "integrity": "sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "~0.25.0", "get-tsconfig": "^4.7.5" @@ -16402,7 +16381,6 @@ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "devOptional": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -16470,7 +16448,6 @@ "integrity": "sha512-6sMvZePQrnZH2/cJkwRpkT7DxoAWh+g6+GFRK6bV3YQo7ogi3SX5rgF6099r5Q53Ma5qeT7LGmOmuIutF4t3lA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.35.0", "@typescript-eslint/types": "8.35.0", @@ -16890,7 +16867,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.2.tgz", "integrity": "sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg==", "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.27.0", "fdir": "^6.5.0", @@ -17461,7 +17437,6 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -17474,7 +17449,6 @@ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz", "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", @@ -18128,7 +18102,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -18652,7 +18625,6 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "license": "MIT", - "peer": true, "engines": { "node": ">=12" },