Skip to content

chore(deps): update module google.golang.org/adk to v1#2870

Open
renovate-bot wants to merge 3 commits intogoogleapis:mainfrom
renovate-bot:renovate/major-go-samples
Open

chore(deps): update module google.golang.org/adk to v1#2870
renovate-bot wants to merge 3 commits intogoogleapis:mainfrom
renovate-bot:renovate/major-go-samples

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
google.golang.org/adk v0.3.0v1.0.0 age confidence

Release Notes

google/adk-go (google.golang.org/adk)

v1.0.0

Compare Source

What's Changed
New Contributors

Full Changelog: google/adk-go@v0.6.0...v1.0.0

v0.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: google/adk-go@v0.5.0...v0.6.0

v0.5.0

Compare Source

What's Changed
New Contributors

Full Changelog: google/adk-go@v0.4.0...v0.5.0

v0.4.0

Compare Source

New major features

note: adk docs will be updated with Go examples

What's Changed
New Contributors

Full Changelog: google/adk-go@v0.3.0...v0.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from a team as a code owner March 26, 2026 23:22
@dpebot
Copy link
Copy Markdown

dpebot commented Mar 26, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the tests: run Label to trigger Github Action tests. label Mar 26, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Go version to 1.25.0 and upgrades several dependencies across the documentation's Go examples, including a major version bump for google.golang.org/adk to v1.0.0. A critical issue was identified where this upgrade introduces breaking API changes—specifically to the runner.Run function—that will cause existing example code to fail compilation. Feedback was provided to update the affected logic to use the new iterator-based API.

require (
github.com/googleapis/mcp-toolbox-sdk-go v0.5.1
google.golang.org/adk v0.3.0
google.golang.org/adk v1.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This major version upgrade of google.golang.org/adk to v1.0.0 introduces breaking API changes that will cause the example in agent.go to fail to compile.

The runner.Run function now returns a Go iterator that yields both an event and an error, and the structure of the agent.Event has changed. The example in docs/en/documentation/configuration/pre-post-processing/go/adk/agent.go needs to be updated to use the new API.

Please replace lines 143-154 in agent.go with the following corrected implementation:

		fmt.Print("AI: ")
		for event, err := range r.Run(ctx, userID, sess.ID(), userMsg, agent.RunConfig{
			StreamingMode: streamingMode,
		}) {
			if err != nil {
				fmt.Printf("\nAGENT_ERROR: %v\n", err)
				continue
			}
			if event != nil && event.LLMResponse != nil && event.LLMResponse.Content != nil {
				for _, p := range event.LLMResponse.Content.Parts {
					if streamingMode != agent.StreamingModeSSE || event.LLMResponse.Partial {
						fmt.Print(p.Text)
					}
				}
			}
		}

Since agent.go is not part of this pull request's changes, I'm adding this comment here. Please apply the fix to agent.go to resolve the compilation error.

@forking-renovate
Copy link
Copy Markdown

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Yuan325 Yuan325 assigned dishaprakash and unassigned Yuan325 Apr 2, 2026
@dishaprakash dishaprakash added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing. tests: run Label to trigger Github Action tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants