118 Commits

Author SHA1 Message Date
Jacksunwei 0a290d5743 chore: update last-release-sha for next release 2026-05-19 16:11:04 +00:00
Wei (Jack) Sun e5654bb253 chore(release/candidate): release 2.0.0 (#5752)
Co-authored-by: Sasha Sobran <asobran@google.com>
2026-05-19 12:10:48 -04:00
Sasha Sobran e6537decc9 chore(release): configure release-please for v2.0.0 GA
Change-Id: If39d565130df657d08e4367394c33771e68ad364
2026-05-19 13:36:37 +00:00
Sasha Sobran 162279358c chore: switch main to v2.0.0 GA (transition to v2)
Co-authored-by: Bo Yang <ybo@google.com>
Co-authored-by: Wei Sun (Jack) <weisun@google.com>
Co-authored-by: George Weale <gweale@google.com>
Co-authored-by: Swapnil Agarwal <swapnilag@google.com>
Co-authored-by: Xuan Yang <xygoogle@google.com>
Co-authored-by: Shangjie Chen <deanchen@google.com>
Co-authored-by: Yifan Wang <wanyif@google.com>
Co-authored-by: Kathy Wu <wukathy@google.com>
2026-05-19 02:01:33 +00:00
Wei (Jack) Sun e13ada758a chore: merge release v1.34.0 to main
Merge https://github.com/google/adk-python/pull/5747

Syncs version bump and CHANGELOG from release v1.34.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5747 from google:release/v1.34.0 160b1b45e4
PiperOrigin-RevId: 917514751
2026-05-18 17:40:10 -07:00
Arpit Jain e7ca943b6b ci: declare contents: read on seven workflows missing a permissions block
Merge https://github.com/google/adk-python/pull/5687

Co-authored-by: Xuan Yang <xygoogle@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5687 from arpitjain099:ci/add-permissions c145c102024d761ee90d0643a8d26f399578a0f4
PiperOrigin-RevId: 917369094
2026-05-18 12:28:52 -07:00
Shangjie Chen 27e71f3bcf chore: Update Gemini Actions workflows for enhanced security and community alignment
- Restrict invoke and review triggers purely to explicit user comments.
- Enforce strict author association verification (OWNER, MEMBER, COLLABORATOR).
- Enforce strict targeting assertion to ensure pull requests act on the main branch.
- Synchronize prompt constraints and GitHub action tools with the community catalog.
- Refine action API key options to uniformly target secrets.GOOGLE_API_KEY.

Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 915654346
2026-05-14 15:43:31 -07:00
Shangjie Chen fd8b49295d feat(ci): add Gemini auto review and invoke workflows
Merge https://github.com/google/adk-python/pull/5679

Same config as in adk-python-community

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5679 from DeanChensj:main d33c368d56bb7f7be0e07ff557dc14e557d7d45d
PiperOrigin-RevId: 914634367
2026-05-12 21:34:33 -07:00
Wei (Jack) Sun c13f2e4aeb chore: merge release v1.33.0 to main
Merge https://github.com/google/adk-python/pull/5648

Syncs version bump and CHANGELOG from release v1.33.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5648 from google:release/v1.33.0 643ebd10f7
PiperOrigin-RevId: 912728912
2026-05-08 15:39:31 -07:00
Wei (Jack) Sun 153c7f7093 ci: ignore browser assets in license lint
Merge https://github.com/google/adk-python/pull/5612

## Summary
- Added `.github/header-checker-lint.yml` with full configuration to ignore `src/google/adk/cli/browser/**`.
- Ensured Python files are still checked by adding `py` to `sourceFileExtensions`

## Test Plan
- Verify that the `License Header Lint GCF` / `header-check` status check passes on this PR

Co-authored-by: Wei Sun (Jack) <weisun@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5612 from google:ci/ignore-browser-assets d08d1618a2de883a300f817c9fdc777daba5185e
PiperOrigin-RevId: 911583387
2026-05-06 15:32:33 -07:00
Wei (Jack) Sun 4e81af6dd0 chore: merge release v1.32.0 to main
Merge https://github.com/google/adk-python/pull/5563

Syncs version bump and CHANGELOG from release v1.32.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5563 from google:release/v1.32.0 1551268ca43df93e275646d6f8d5f9c86b46e813
PiperOrigin-RevId: 908475510
2026-04-30 18:00:47 -07:00
Shangjie Chen f1532f9a22 chore: Update pre-commit workflow name
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 905354260
2026-04-24 20:55:14 -07:00
Shangjie Chen 533776e005 chore: Switch to pre-commit and cleanup redundant tools
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 905187116
2026-04-24 13:13:42 -07:00
Shangjie Chen 2565cc6872 chore: Format using pre-commit, resolving pyink, isort, trailing space, empty lines
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 904736532
2026-04-23 18:34:14 -07:00
Shangjie Chen 179380ffc4 chore: Introduce pre-commit configuration and scripts
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 903957079
2026-04-22 11:38:51 -07:00
Wei (Jack) Sun 8eb0d74a96 chore: merge release v1.31.0 to main
Merge https://github.com/google/adk-python/pull/5362

Syncs version bump and CHANGELOG from release v1.31.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5362 from google:release/v1.31.0 f0204a7fcba013d3e59af5c745d507e234de764f
PiperOrigin-RevId: 901020139
2026-04-16 19:21:24 -07:00
Wei (Jack) Sun 5195ba753a chore: merge release v1.30.0 to main
Merge https://github.com/google/adk-python/pull/5313

Syncs version bump and CHANGELOG from release v1.30.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5313 from google:release/v1.30.0 008ca58099
PiperOrigin-RevId: 899245408
2026-04-13 16:46:05 -07:00
Wei (Jack) Sun 5fab983c08 chore: merge release v1.29.0 to main
Merge https://github.com/google/adk-python/pull/5232

Syncs version bump and CHANGELOG from release v1.29.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5232 from google:release/v1.29.0 32e319930a46ec2aa8a27d769e027a14779301ff
PiperOrigin-RevId: 897324259
2026-04-09 15:12:16 -07:00
llalitkumarrr 6a1c90bd9d docs: Auto-Assignment GitHub Action for Issues
Merge https://github.com/google/adk-python/pull/4966

Co-authored-by: Xuan Yang <xygoogle@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4966 from llalitkumarrr:main ff7a8465ae923b3990de2483c16f374f8193302b
PiperOrigin-RevId: 896062781
2026-04-07 13:33:19 -07:00
Divyansh Shukla f641b1a219 feat: Implement robust process group management and timeouts in BashTool
Refactors BashTool to use start_new_session=True and os.killpg for proper process isolation and cleanup on timeouts or errors.

PiperOrigin-RevId: 893740978
2026-04-02 15:44:00 -07:00
Wei (Jack) Sun 33d48472cf chore: merge release v1.28.1 to main (#5122)
Co-authored-by: Jacksunwei <1281348+Jacksunwei@users.noreply.github.com>
Co-authored-by: Liang Wu <wuliang@google.com>
Co-authored-by: Sasha Sobran <asobran@google.com>
Co-authored-by: Ankur Sharma <ankusharma@google.com>
2026-04-02 15:31:17 -07:00
George Weale 446575fdf5 fix: Update v2 release workflow to be dispatched from v2 branch
The workflow now accepts a `release_branch` input, checks out the specified release branch, and updates the version in `src/google/adk/version.py`

Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 890134954
2026-03-26 17:38:11 -07:00
Xuan Yang 5f69e19f82 fix: Enhance ADK release analyzer with resume functionality and better session management
Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 890127075
2026-03-26 17:16:06 -07:00
Wei (Jack) Sun abe4bbeabb chore: merge release v1.28.0 to main
Merge https://github.com/google/adk-python/pull/5016

Syncs version bump and CHANGELOG from release v1.28.0 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5016 from google:release/v1.28.0 4e05efb76c
PiperOrigin-RevId: 890122693
2026-03-26 17:06:04 -07:00
Wei (Jack) Sun 2a90fbc1bf chore: merge release v1.27.4 to main
Merge https://github.com/google/adk-python/pull/4990

Syncs version bump and CHANGELOG from release v1.27.4 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4990 from google:release/v1.27.4 71982f2476f2a63df419309ac94658d1ff9228e9
PiperOrigin-RevId: 888928449
2026-03-24 17:09:03 -07:00
sasha-gitg b6185f742d chore: move release workflows to main
Merge https://github.com/google/adk-python/pull/4879

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4879 from sasha-gitg:add-v2-release-workflows-to-main f28f3d1ca069b4a1624253fe49c5a0b04f48c5c9
PiperOrigin-RevId: 885627463
2026-03-18 09:07:20 -07:00
Wei (Jack) Sun 4e5f683910 chore: merge release v1.27.2 to main
Merge https://github.com/google/adk-python/pull/4862

Syncs version bump and CHANGELOG from release v1.27.2 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4862 from google:release/v1.27.2 70847b6da6e6727dc14e1282b4e890b08249f3b0
PiperOrigin-RevId: 885216591
2026-03-17 14:39:01 -07:00
Wei (Jack) Sun 9b3888b637 chore: merge release v1.27.1 to main
Merge https://github.com/google/adk-python/pull/4833

Syncs version bump and CHANGELOG from release v1.27.1 to main.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4833 from google:release/v1.27.1 bc1b50020109004c6797b153a5e9b8144a22aebd
PiperOrigin-RevId: 883394436
2026-03-13 16:34:07 -07:00
Xuan Yang 51c19cbc13 docs: Use a dedicated API key for docs agents
Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 883246168
2026-03-13 11:04:26 -07:00
Rohit Yanamadala 780093f389 docs: Feat/Issue Monitoring Agent
Merge https://github.com/google/adk-python/pull/4622

Co-authored-by: Xuan Yang <xygoogle@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4622 from rohityan:feat/IssueWatchdog 560937039d0a218b27d9cea767abd9a88a004822
PiperOrigin-RevId: 882987318
2026-03-12 23:56:52 -07:00
Guoyi Lou 31b005c301 ADK changes
Co-authored-by: Guoyi Lou <guoyilou@google.com>
PiperOrigin-RevId: 882787811
2026-03-12 17:37:28 -07:00
Wei (Jack) Sun abf88a9476 chore: merge release v1.27.0 to main
Co-authored-by: Liang Wu <18244712+wuliang229@users.noreply.github.com>
2026-03-12 15:56:40 -07:00
Liang Wu 0847f511d2 chore: Update actions/checkout to v6 in GitHub workflows
V4 still uses deprecated Node.js 20.

Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 882275971
2026-03-11 17:18:26 -07:00
George Weale d0825d817e fix: Change Mypy workflow trigger to manual dispatch
Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 878643857
2026-03-04 13:34:13 -08:00
Wei (Jack) Sun 1206addd6e chore: merge release v1.26.0 to main
Merge https://github.com/google/adk-python/pull/4637

Syncs version bump and CHANGELOG from release v1.26.0 to main.

Co-authored-by: Xuan Yang <xygoogle@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4637 from google:release/v1.26.0 427a983b18
PiperOrigin-RevId: 875930970
2026-02-26 16:00:38 -08:00
Xuan Yang d55afede1b chore: Stop auto-triggering Release Please after cherry-picks
Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 875867583
2026-02-26 13:33:37 -08:00
Google Admin 7a813b0987 chore: refactor Github Action
Co-authored-by: Sasha Sobran <asobran@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4535 from google:lsc-1771431513.0644026 200d04544fafa4c555f2031f66ef6a3c2ff8a774
PiperOrigin-RevId: 875727295
2026-02-26 08:06:59 -08:00
Sasha Sobran b38b708e23 chore: Update release-please to always bump minor
Co-authored-by: Sasha Sobran <asobran@google.com>
PiperOrigin-RevId: 875727292
2026-02-26 08:06:15 -08:00
Google Team Member 5702a4b1f5 feat: Add param support to Bigtable execute_sql
PiperOrigin-RevId: 875382675
2026-02-25 16:11:44 -08:00
Google Admin 9730bc34d7 Refactor Github Action per b/485167538 (#4535)
Co-authored-by: Ben Knutson <benknutson@google.com>
2026-02-25 17:09:43 -05:00
Xuan Yang e4d9540ce3 chore: Make Release: Please workflow only run via workflow_dispatch
Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 874980878
2026-02-24 23:29:40 -08:00
Liang Wu 77df6d8db7 ci: only keep --extra test in GitHub unit test workflow
Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 873072872
2026-02-20 14:22:43 -08:00
Xiang (Sean) Zhou 2d8b6a2f5b chore: Release 1.25.1
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com>
PiperOrigin-RevId: 872062719
2026-02-18 15:12:50 -08:00
Wei Sun (Jack) 710d9de011 chore(release): Update release process to allow tag to use accurate commit sha in the branch
* use last-release-sha to locate the previous release commit in main for CHANGELOG generating.
* release tag can now use the commit sha in release branch

Co-authored-by: Wei Sun (Jack) <weisun@google.com>
PiperOrigin-RevId: 871909085
2026-02-18 09:30:33 -08:00
Wei Sun (Jack) 38b4869c41 chore(ci): migrate release pipeline from release-please App to GitHub Actions
Remove the release-please GitHub App config files and add an Actions-based
release pipeline with candidate branch strategy. This includes workflows for
cutting releases, running release-please, finalizing releases, publishing to
PyPI, and cherry-picking fixes to release candidates.

Co-authored-by: Wei Sun (Jack) <weisun@google.com>
PiperOrigin-RevId: 868825704
2026-02-11 13:47:41 -08:00
Liang Wu 61c329f8ce ci: match the environment with internal ones for pyink/isort/unittest
Previously submitted change is causing [Pyink error](https://github.com/google/adk-python/actions/runs/21884351396/job/63176122118) in repo because Pyink recently updated to 25.12.0.

Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 868806575
2026-02-11 13:01:32 -08:00
Salman Chishti 2f0fe97729 ci: Upgrade GitHub Actions for Node 24 compatibility
Merge https://github.com/google/adk-python/pull/4426

## Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

## Changes

| Action | Old Version(s) | New Version | Release | Files |
|--------|---------------|-------------|---------|-------|
| `actions/checkout` | [`v4`](https://github.com/actions/checkout/releases/tag/v4) | [`v6`](https://github.com/actions/checkout/releases/tag/v6) | [Release](https://github.com/actions/checkout/releases/tag/v6) | mypy-new-errors.yml, mypy.yml |
| `actions/setup-python` | [`v5`](https://github.com/actions/setup-python/releases/tag/v5) | [`v6`](https://github.com/actions/setup-python/releases/tag/v6) | [Release](https://github.com/actions/setup-python/releases/tag/v6) | mypy-new-errors.yml, mypy.yml |

## Context

Per [GitHub's announcement](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/), Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

### Why this matters

- **Node 20 EOL**: April 2026
- **Node 24 default**: March 4th, 2026
- **Action**: Update to latest action versions that support Node 24

### Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

### Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4426 from salmanmkc:upgrade-github-actions-node24 a574f92c72502ae60531163da60f7820e01380f3
PiperOrigin-RevId: 868281419
2026-02-10 13:02:24 -08:00
Salman Chishti f5702d70bf ci: Upgrade GitHub Actions to latest versions
Merge https://github.com/google/adk-python/pull/4427

## Summary

Upgrade GitHub Actions to their latest versions for improved features, bug fixes, and security updates.

## Changes

| Action | Old Version(s) | New Version | Release | Files |
|--------|---------------|-------------|---------|-------|
| `astral-sh/setup-uv` | [`v1`](https://github.com/astral-sh/setup-uv/releases/tag/v1), [`v5`](https://github.com/astral-sh/setup-uv/releases/tag/v5), [`v6`](https://github.com/astral-sh/setup-uv/releases/tag/v6) | [`v7`](https://github.com/astral-sh/setup-uv/releases/tag/v7) | [Release](https://github.com/astral-sh/setup-uv/releases/tag/v7) | mypy-new-errors.yml, mypy.yml, python-unit-tests.yml |
| `webfactory/ssh-agent` | [`v0.9.0`](https://github.com/webfactory/ssh-agent/releases/tag/v0.9.0) | [`v0.9.1`](https://github.com/webfactory/ssh-agent/releases/tag/v0.9.1) | [Release](https://github.com/webfactory/ssh-agent/releases/tag/v0) | analyze-releases-for-adk-docs-updates.yml |

## Why upgrade?

Keeping GitHub Actions up to date ensures:
- **Security**: Latest security patches and fixes
- **Features**: Access to new functionality and improvements
- **Compatibility**: Better support for current GitHub features
- **Performance**: Optimizations and efficiency improvements

### Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

### Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4427 from salmanmkc:upgrade-github-actions-node24-general 4aacbae5378233559880ff155e4f478e484c694b
PiperOrigin-RevId: 868263909
2026-02-10 12:20:03 -08:00
Sara Robinson 32f9f92042 chore: Add GitHub Action check to run mypy
Merge https://github.com/google/adk-python/pull/4276

This adds 2 mypy GitHub Actions checks:

* `mypy.yml` runs mypy on every PR. This will list all errors, so it shouldn't block until errors are resolved.
* `mypy-new-errors.yml` compares the PR branch to `main` to ensure no new mypy errors are introduced. This check can be made blocking now and can be removed once all errors are resolved in favor of `mypy.yml`.

### Checklist

- [x] I have read the [CONTRIBUTING.md](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) document.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] I have added tests that prove my fix is effective or that my feature works.
- [x] New and existing unit tests pass locally with my changes.
- [x] I have manually tested my changes end-to-end.
- [x] Any dependent changes have been merged and published in downstream modules.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4276 from sararob:mypy-gh-actions 63130773c4862e90e352d4cb79221d78a6b9f5fd
PiperOrigin-RevId: 862226296
2026-01-28 07:27:52 -08:00
Google Team Member 324796b4fe feat: This change restructures the bug report template as per intake process
PiperOrigin-RevId: 860304319
2026-01-23 16:43:56 -08:00