Skip to content

Releases: google/adk-java

v0.2.0

30 Jun 22:37
Compare
Choose a tag to compare

0.2.0 (2025-06-30)

Features

  • LangChain4j Integration: Added experimental integration with LangChain4j to support third-party and local models. (0d1bb89)
  • Enabled FunctionTools to be created for methods that return a Single, improving support for asynchronous operations. (cb49092)
  • FunctionTools can now be created for object instances in addition to static methods. (71d7325)
  • Added an endInvocation field to Event Actions, allowing developers to interrupt or explicitly stop the agent loop after a tool call. (1909869, 07989e2)
  • Implemented VertexAiRagRetrieval using AI Platform APIs. (b5f17f3)
  • Added support for chained callbacks for before/after model, agent, and tool execution events. (1cf889d, 2501dc1, b55ed61)
  • Add InMemoryMemoryService (c8fed2d)
  • Development UI:
    • Save and reuse evaluation thresholds across runs. (f71ee0f)
    • Display the specific metric used in evaluation history. (cec9ef3)
    • Render HTML artifacts directly in the chat window. (49e8d85)
    • Added a button to export the current session to a JSON file. (0592dc5)
    • Updated minified web files to include all the latest UI changes. (bab4bd9)

Bug Fixes

  • Fixed an OpenTelemetry version mismatch caused by a Spring Boot dependency override. (94cadce)
  • Correctly track state updates within callbacks. (8665637)
  • Fixed a bug in SessionUtils that incorrectly filtered out previous events in chats for Vertex-stored sessions. (06529d2)
  • Fixed a bug where listing events would fail if the session list was empty. (d4ec143)
  • Removed an incorrect auto-value dependency that was causing confusing annotation processing messages during builds. (d8e5629)
  • Fixed a bug when using RunConfig to save blob inputs as artifacts. (3762368)
  • Fixed artifact loading by refactoring BaseLlmFlow's preprocess and postprocess methods to be non-blocking and return a Single. (1331879, 94b061a)
  • The agent description check now correctly handles null or empty strings. (a62c37d)
  • Development UI:
    • Fixed an OAuth issue preventing proper authentication. (4a73947)
    • Fixed an issue where the web UI could not be served under a custom route. (590065c)
    • Fixed an issue where evaluation history cases could not be toggled. (6f94b23)

Documentation

  • Added JitPack to the README as an installation option. (04dd583)
  • Fixed broken Javadoc comments in InstructionUtils. (9681380)

Chores

  • Introduced a parent POM to simplify the project structure and build process. (dc02503)
  • Added the Maven Wrapper (./mvnw) to ensure a consistent build environment for all contributors. (4a4007a)
  • Applied extensive reformatting, style fixes, and code clarity improvements across the entire codebase. (891acac, 471bddb, bc43a23, etc)
  • Renamed all internal references from "Google ADK" to "ADK" for consistency. (c31b2ee)
  • The library now dynamically loads the project version from a version.properties file. (8c98a38)
  • The process for creating Gemini model instances has been simplified. (fca01e7)
  • Remove blocking calls from Runner and GcsArtifactService (79fc8a6)