diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json index 84541506fb6..7731f20ec86 100644 --- a/.github/.release-please-manifest.json +++ b/.github/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.15.1" + ".": "2.16.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 00053f47b20..6a98d702ca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,92 @@ # Changelog +## [2.16.0](https://github.com/google/adk-python/compare/v2.15.1...v2.16.0) (2026-12-03) + + +### Highlights + +This release introduces grounding verification tools, multi-objective agent optimization capabilities, support for the Gemini Decisions API, and streamlined skill loading from markdown files. + +* **Grounding**: Verify agent response factual accuracy using the new GroundingPlugin. ([9efe125](https://github.com/google/adk-python/commit/9efe1252791a76a0eaaa60e72af1c3b2046fa581)) +* **Optimization**: Fine-tune agent behavior across multiple performance goals using the multi-objective GridSearchAgentOptimizer. ([276b7e0](https://github.com/google/adk-python/commit/276b7e0e65feb2f31001882702ef476126af34e0)) +* **Classifiers**: Run decision-making workflows using the new GeminiDecisionsClassifier for the Gemini Decisions API. ([b4ae4fb](https://github.com/google/adk-python/commit/b4ae4fb8dde4fb45644b0a02a455a9ab94b14df0)) +* **Skills**: Construct skills directly from markdown text using `load_skill_from_markdown`. ([6686413](https://github.com/google/adk-python/commit/6686413c26490e67c7200d4908e6cea6ff995aad)) + +#### Breaking changes + +Update trace parsers skipping `transfer_to_agent` `function_call` parts in `eval_view_ctes_v1.sql` to also skip the newly paired empty `transfer_to_agent` `function_response` parts. + +
+All changes + +### ⚠ BREAKING CHANGES + +* **plugins:** `AGENT_TRANSFER` rows in `eval_view_ctes_v1.sql` traces now emit a paired empty `transfer_to_agent` `function_response`. Parsers skipping `transfer_to_agent` `function_call` parts must also skip `transfer_to_agent` `function_response` parts. `v1` changes in place because all 6 placeholders and output columns stay unchanged, avoiding `v1`/`v2` skew across evaluators. + +### Features + +* add GroundingPlugin for grounding verification ([9efe125](https://github.com/google/adk-python/commit/9efe1252791a76a0eaaa60e72af1c3b2046fa581)) +* **artifacts:** support artifact metadata on Azure in FsspecArtifactService ([481e1b2](https://github.com/google/adk-python/commit/481e1b2f15440743a61ccf36bcbcdba12d5949be)) +* **classifiers:** add GeminiDecisionsClassifier for the Gemini Decisions API ([b4ae4fb](https://github.com/google/adk-python/commit/b4ae4fb8dde4fb45644b0a02a455a9ab94b14df0)) +* **cli:** warn on duplicate Agent Engine display name and add --update_if_exists ([84cb074](https://github.com/google/adk-python/commit/84cb0742bcd5921efc585dff7c1ae86063702f81)) +* **features:** promote the Eventarc toolset and its config to stable ([e357631](https://github.com/google/adk-python/commit/e357631427bfe8b354a3a992dbe4233681b15714)) +* **integrations:** add session and turn scoped facts and agent_names to the experimental GroundingPlugin ([8f4e747](https://github.com/google/adk-python/commit/8f4e7474872917114040b9fe0a40901f3356024a)) +* **optimization:** add agent tree cloner for dotted parameter overrides ([d723cb8](https://github.com/google/adk-python/commit/d723cb87b9051d451e7c67d8ea20fe0f6b42be80)) +* **optimization:** add multi-objective GridSearchAgentOptimizer ([276b7e0](https://github.com/google/adk-python/commit/276b7e0e65feb2f31001882702ef476126af34e0)) +* **scripts:** flag imports of another module's private names ([62a488d](https://github.com/google/adk-python/commit/62a488d302aed614e82f39f1be036577191d2d27)) +* **skills:** add load_skill_from_markdown to build a skill from SKILL.md text ([6686413](https://github.com/google/adk-python/commit/6686413c26490e67c7200d4908e6cea6ff995aad)) +* **telemetry:** record gen_ai.client.inference.duration ([8d064dc](https://github.com/google/adk-python/commit/8d064dc91612805805fd8e2e281c8b86f503e37f)) +* **telemetry:** support experimental reasoning parts in gen_ai messages ([0019b86](https://github.com/google/adk-python/commit/0019b8658cbd3fae9c6e151889f6f203c404fc34)) + + +### Bug Fixes + +* **a2a:** propagate CancelledError raised inside runner.run_async ([5096169](https://github.com/google/adk-python/commit/50961696a49750c1bff354c9406c455778c2a166)) +* **a2a:** revert persisting streamed RemoteA2aAgent output without last_chunk ([5523aa7](https://github.com/google/adk-python/commit/5523aa7333d36736262b2e38d7a302f1505b1822)), closes [#7255](https://github.com/google/adk-python/issues/7255) +* allow google-genai 3 ([163bfc0](https://github.com/google/adk-python/commit/163bfc0681fde974bb58d4f1d5274697d574bb34)) +* **artifacts:** preserve display names for URI-backed artifacts ([6700fc9](https://github.com/google/adk-python/commit/6700fc9cc2e3b017e585e9fb6cbd253d568d7c9f)) +* **artifacts:** tighten S3 metadata checks in FsspecArtifactService ([4d9e2c7](https://github.com/google/adk-python/commit/4d9e2c75f92305b335f8e66f8b4a8ea99f13017f)) +* clear strict mypy errors in auth and OpenAPI tools ([5a3f793](https://github.com/google/adk-python/commit/5a3f7931c94d4198adda3f43ed86bab3c3f3242c)) +* **compaction:** use initial_prompt_token_count for token-threshold checks ([9f0ed1f](https://github.com/google/adk-python/commit/9f0ed1f8316627df29903ce64553f4ca8f0bfd2a)) +* copy the request config and tools when screening live user input ([17c4a10](https://github.com/google/adk-python/commit/17c4a10afb604e11f92ca04c99d1cab6a90cd6cb)) +* **eval:** count capitalized and multi-word judge verdicts in final_response_match_v2 ([f9c5331](https://github.com/google/adk-python/commit/f9c5331fbc5bfb86cdbdfa2ed4f88ba62e1c49f8)) +* **eval:** stop detail printing from discarding the eval result ([0cbbe7c](https://github.com/google/adk-python/commit/0cbbe7ca4bcfe4b91391e7a63e7d75855c25deca)), closes [#8149](https://github.com/google/adk-python/issues/8149) +* **eval:** stop failing Thai, Lao, Khmer and Myanmar answers with digits ([a60ed1b](https://github.com/google/adk-python/commit/a60ed1b2455d0f24b266c8010ecbd02ee666e07a)) +* keep a langchain tool's name and description in from_config ([f578fcd](https://github.com/google/adk-python/commit/f578fcd2dbf6bf7304d32c7d548b0d2f466ab747)), closes [#7900](https://github.com/google/adk-python/issues/7900) +* keep ModelArmorPlugin's shared client open on runner close ([bee78e7](https://github.com/google/adk-python/commit/bee78e7ce1bc1bfd16cccb0d0f8190ca6d401871)), closes [#8066](https://github.com/google/adk-python/issues/8066) +* limit the default A2A task store and scope tasks to their creator ([a492932](https://github.com/google/adk-python/commit/a4929329cdcbb9d3a5224425cbe2aaf6dfd86ee1)) +* match BigQuery schema case-insensitively and harden write retries ([f5ace77](https://github.com/google/adk-python/commit/f5ace77fffe140acdf4ccf3add19d03503ac909a)) +* **models:** handle Claude sampling settings on anthropic 1.x and 2.x ([1c38450](https://github.com/google/adk-python/commit/1c384506e08bb808f3eab2d82f6c26f2d65b773e)) +* **plugins:** add tiebreakers and SessionRollup root_agent in BQAA eval SQL ([851b770](https://github.com/google/adk-python/commit/851b7707ad0af9d6ee248a70f836a1388f501281)) +* **plugins:** expose lazy exports in dir() for Sphinx docs ([9fd6b33](https://github.com/google/adk-python/commit/9fd6b330e6cd5d02bd3604d8e8a31fced17b0286)) +* **plugins:** keep secret_key and passwd args out of tracing spans ([e3dbdc1](https://github.com/google/adk-python/commit/e3dbdc1726bed0bfc3d2e3f335fc7c0dcdf6b9c5)) +* **plugins:** pair transfer_to_agent calls with empty function_response ([8fe561f](https://github.com/google/adk-python/commit/8fe561f577d585e6d69ac88efb3ec17000e1ea8f)) +* **plugins:** resolve per-turn scoped_system_prompt in BQAA eval SQL ([3e322e9](https://github.com/google/adk-python/commit/3e322e9a988d6360508e7f6c9fa68983741bea23)) +* **plugins:** use text_summary for custom non-inline BQAA user messages ([7d7a275](https://github.com/google/adk-python/commit/7d7a275d11008c0e0c94e4ab15c5ea284d1b8a59)) +* preserve empty-text signed thinking blocks in LiteLlm ([cd867da](https://github.com/google/adk-python/commit/cd867daa9b817967f5276dbba51a61062ba2e2fc)) +* reject paths that escape remote sandbox workspaces ([b72f466](https://github.com/google/adk-python/commit/b72f46698c41d43d4fa552e4ecf35aa85e72725b)), closes [#7699](https://github.com/google/adk-python/issues/7699) +* report Apigee tool calls whose arguments are not a JSON object ([7b07e7d](https://github.com/google/adk-python/commit/7b07e7df7f4a35687f2a2fff079dbecb59532c0e)), closes [#7740](https://github.com/google/adk-python/issues/7740) +* save each image of a code execution response as its own artifact ([3b4c72e](https://github.com/google/adk-python/commit/3b4c72e99f5c81638fd9204624e68f23b6d4adc0)) +* **telemetry:** record a Gemini inference once when the google-genai instrumentor is installed ([8c0d2f8](https://github.com/google/adk-python/commit/8c0d2f88064dc4f4661a02accb01fe4fb6c25efa)) +* **telemetry:** record invocation_id on workflow and node spans ([b1566b8](https://github.com/google/adk-python/commit/b1566b855e2f17926b2f91576c1a9fbade28d5a4)) +* track transient instructions and gate dynamic instruction routing ([9c22a89](https://github.com/google/adk-python/commit/9c22a89fe2d212a0672ea0bdfcc155ac8d361b5e)), closes [#8217](https://github.com/google/adk-python/issues/8217) +* **workflow:** retry a failed workflow child in place ([f04b5fe](https://github.com/google/adk-python/commit/f04b5fe424dbe2c8368682b54bc40ba070a0148d)) + + +### Performance Improvements + +* **telemetry:** skip serializing request history when content capture is off ([825a44c](https://github.com/google/adk-python/commit/825a44c5dfb72cd14d5d037a8f42a27c7bf62292)) + + +### Documentation + +* add SECURITY.md with the ADK threat model, scope, and hardening guidance ([740eacc](https://github.com/google/adk-python/commit/740eacc9ddda569c7e66f6f477311395784e4488)) +* **classifiers:** default classifier samples to GeminiDecisionsClassifier ([5697bbd](https://github.com/google/adk-python/commit/5697bbd80a05868f60754307b728345552ec5835)) +* fix the threat model image path in SECURITY.md ([2b90353](https://github.com/google/adk-python/commit/2b90353cd2f1ee0a8a52262a7843333b6f7d2c8d)) +* **skills:** update the bigquery-ai-ml skill ([36873b3](https://github.com/google/adk-python/commit/36873b39e918038814f7ad615868f471541d269d)) + +
+ ## [2.15.1](https://github.com/google/adk-python/compare/v2.15.0...v2.15.1) (2026-11-24) diff --git a/src/google/adk/version.py b/src/google/adk/version.py index 463329d8b68..b50e5a22a32 100644 --- a/src/google/adk/version.py +++ b/src/google/adk/version.py @@ -13,4 +13,4 @@ # limitations under the License. # version: major.minor.patch -__version__ = "2.15.1" +__version__ = "2.16.0"