github google/adk-java v0.9.0

latest releases: v1.2.0, v1.1.0, v1.0.0...
3 months ago

0.9.0 (2026-03-13)

⚠ BREAKING CHANGES

  • refactor ApiClient constructors hierarchy to remove Optional parameters
  • remove deprecated LlmAgent.canonicalTools method
  • remove deprecated LoadArtifactsTool.loadArtifacts method
  • update LoopAgent's maxIteration field and methods to be @nullable instead of Optional
  • Remove Optional parameters in EventActions
  • remove deprecated url method in ComputerState.Builder
  • Remove deprecated create method in ResponseProcessor
  • remove McpAsyncToolset constructors
  • use @nullable fields in Event class
  • remove methods with Optional params from VertexCredential.Builder

Features

  • add formatting to the RemoteA2A agent so it filters out the previous agent responses and updates the context of the function calls and responses (0d6dd55)
  • add multiple LLM responses to LLM recordings for conformance tests (bdfb7a7)
  • add support for gemini models in VertexAiRagRetrieval (924fb71)
  • Fixing the spans produced by agent calls to have the right parent spans (3c8f488)
  • Fixing the spans produced by agent calls to have the right parent spans (973f887)
  • refactor ApiClient constructors hierarchy to remove Optional parameters (910d727)
  • Remove deprecated create method in ResponseProcessor (5e1e1d4)
  • remove deprecated LlmAgent.canonicalTools method (aabf15a)
  • remove deprecated LoadArtifactsTool.loadArtifacts method (bc38558)
  • remove deprecated url method in ComputerState.Builder (a86ede0)
  • remove executionId method that takes Optional param from CodeExecutionUtils (be3b3f8)
  • remove McpAsyncToolset constructors (82ef5ac)
  • remove methods with Optional params from VertexCredential.Builder (0b9057c)
  • Remove Optional parameters in EventActions (b8316b1)
  • replace Optional type of version in BaseArtifactService.loadArtifact with Nullable (5fd4c53)
  • Trigger traceCallLlm to set call_llm attributes before span ends (d9d84ee)
  • Update converters for task and artifact events; add long running tools ids (9ce78d7)
  • update LoopAgent's maxIteration field and methods to be @nullable instead of Optional (e0d833b)
  • update return type for artifactDelta getter and setter to Map from ConcurrentMap (d1d5539)
  • update return type for requestedToolConfirmations getter and setter to Map from ConcurrentMap (143b656)
  • update return type for stateDelta() to Map from ConcurrentMap (3f6504e)
  • update State constructors to accept general Map types (c6fdb63)
  • use @nullable fields in Event class (67b602f)

Bug Fixes

  • Explicitly setting the otel parent spans in agents, llm flow and function calls (20f863f)
  • Make sure that InvocationContext.callbackContextData remains the same instance (14ee28b)
  • Removing deprecated InvocationContext methods (41f5af0)
  • Removing deprecated methods in Runner (0d8e22d)
  • Removing deprecated methods in Runner (b857f01)

Miscellaneous Chores

  • override new version to 0.9.0 (a47b651)

Don't miss a new adk-java release

NewReleases is sending notifications on new releases.