Skip to content

chore(main): release 0.8.0#969

Merged
copybara-service[bot] merged 1 commit intomainfrom
release-please--branches--main
Mar 6, 2026
Merged

chore(main): release 0.8.0#969
copybara-service[bot] merged 1 commit intomainfrom
release-please--branches--main

Conversation

@tilgalas
Copy link
Contributor

@tilgalas tilgalas commented Mar 6, 2026

🤖 I have created a release beep boop

0.8.0 (2026-03-06)

⚠ BREAKING CHANGES

  • remove methods with Optional params from LiveRequest.Builder
  • remove deprecated methods accepting Optional params in InvocationContext
  • remove deprecated BaseToolset.isToolSelected method
  • remove Optional parameters from LlmResponse.Builder's methods
  • remove support for legacy transferToAgent, superseded by transfer_to_agent

Features

  • add callbacks functionality to the agent executor (7e8f9dc)
  • add example on how to expose agent via A2A protocol (e3ea378)
  • Adding a Builder for EventsCompactionConfig (05fbcfc)
  • Adding a SessionKey for typeSafety (d899f6f)
  • Adding plugin(Plugin... p) helper methods on App and Runner builders (dc1a192)
  • implement partial event aggregation in RemoteA2AAgent (e064067)
  • remove deprecated BaseToolset.isToolSelected method (d2f1145)
  • remove deprecated methods accepting Optional params in InvocationContext (88153c8)
  • remove methods with Optional params from LiveRequest.Builder (84c62a4)
  • remove Optional parameters from LlmResponse.Builder's methods (a3ac436)

Bug Fixes

  • Allow injecting ObjectMapper in FunctionTool, default to ObjectMapper (re. #473) (71b1070)
  • downgrade otel.version to 1.51.0 (117fedf)
  • Ensure Gemini 3.1 models have events correctly buffered (acffdb9)
  • Exit from rearrangeEventsForLatestFunctionResponse if size of events is less than 2 (5bc3ef8)
  • Fixed issue where events were marked empty if the first part had an empty text; now checks all parts for meaningful content (a0cba25)
  • prepare JSON serialization for Jackson 2.20.2 and Spring Boot 4.0.2 upgrades (8c6591b)

Miscellaneous Chores

  • revert: switch release please secret to use adk-java-releases-bot's token (7eafd1b)

Code Refactoring

  • remove support for legacy transferToAgent, superseded by transfer_to_agent (c1ccb2e)

This PR was generated with Release Please. See documentation.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request represents the official release of version 0.8.0 of the Google ADK Java library. It incorporates a range of updates including significant breaking changes by removing deprecated methods and Optional parameter usage, introduces new features to enhance agent functionality and development, and resolves several bugs to improve stability and compatibility.

Highlights

  • Breaking Changes: Removed methods with Optional parameters from LiveRequest.Builder, InvocationContext, and LlmResponse.Builder. The deprecated BaseToolset.isToolSelected method was removed. Support for the legacy transferToAgent was removed, superseded by transfer_to_agent.
  • New Features: Added callbacks functionality to the agent executor. An example demonstrating how to expose an agent via the A2A protocol was added. A Builder for EventsCompactionConfig and a SessionKey for type safety were introduced. Helper methods for plugin(Plugin... p) were added to App and Runner builders. Partial event aggregation was implemented in RemoteA2AAgent.
  • Bug Fixes: Allowed injecting ObjectMapper in FunctionTool, defaulting to ObjectMapper. The otel.version was downgraded to 1.51.0. Ensured Gemini 3.1 models have events correctly buffered. Fixed an issue where events were marked empty if the first part had an empty text. Prepared JSON serialization for Jackson 2.20.2 and Spring Boot 4.0.2 upgrades.
  • Code Refactoring: Refactored code to remove support for the legacy transferToAgent method.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • breaking_changes
    • remove methods with Optional params from LiveRequest.Builder
    • remove deprecated methods accepting Optional params in InvocationContext
    • remove deprecated BaseToolset.isToolSelected method
    • remove Optional parameters from LlmResponse.Builder's methods
    • remove support for legacy transferToAgent, superseded by transfer_to_agent
  • bug_fixes
    • Allow injecting ObjectMapper in FunctionTool, default to ObjectMapper (re. #473)
    • downgrade otel.version to 1.51.0
    • Ensure Gemini 3.1 models have events correctly buffered
    • Exit from rearrangeEventsForLatestFunctionResponse if size of events is less than 2
    • Fixed issue where events were marked empty if the first part had an empty text; now checks all parts for meaningful content
    • prepare JSON serialization for Jackson 2.20.2 and Spring Boot 4.0.2 upgrades
  • code_refactoring
    • remove support for legacy transferToAgent, superseded by transfer_to_agent
  • features
    • add callbacks functionality to the agent executor
    • add example on how to expose agent via A2A protocol
    • Adding a Builder for EventsCompactionConfig
    • Adding a SessionKey for typeSafety
    • Adding plugin(Plugin... p) helper methods on App and Runner builders
    • implement partial event aggregation in RemoteA2AAgent
    • remove deprecated BaseToolset.isToolSelected method
    • remove deprecated methods accepting Optional params in InvocationContext
    • remove methods with Optional params from LiveRequest.Builder
    • remove Optional parameters from LlmResponse.Builder's methods
  • miscellaneous_chores
    • revert: switch release please secret to use adk-java-releases-bot's token
Activity
  • This pull request was automatically generated by Release Please to create version 0.8.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 automates the release of version 0.8.0. The changes primarily consist of version bumps across various pom.xml files, README.md, and other configuration files. The overall changes look correct for a release, but I've noticed a likely typo in the release date within the CHANGELOG.md file that should be addressed.

@copybara-service copybara-service bot merged commit 7f09b99 into main Mar 6, 2026
7 of 9 checks passed
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants