@google/adk
2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed
In short
1 security17 new42 fixed
- Security
server: prevent path traversal in loadDotenvForAgent and eval set routes
Release note
Features
a2a: propagate trace context across A2A calls
cli: port adk-python v1.1.1 changes to cli
cli: port adk-python v1.2.1 changes to cli
core: add agent and run error hooks and finalize aborted runs
core: add setIdProvider to control generated IDs
dev: support kebab-case CLI flags and command aliases
Port adk-python v1.1.1 changes to agents, auth, code_executors (+12 more)
Port adk-python v1.2.1 changes to models and sessions
telemetry: add MCP HTTP exchange records and per-run telemetry overrides
telemetry: continue Agent Engine request traces and record the support id
telemetry: emit the v2 span tree and GenAI log records
telemetry: export on the request path on Agent Runtime
telemetry: export traces, metrics and logs to telemetry.googleapis.com
telemetry: record ADK duration, token and totals metrics
tools: add computer use tool and toolset with a BaseComputer interface
tools: add sortByColumns support to Application Integration list operations
tools: keep supported schema formats and honor stdio MCP timeout
Bug Fixes
a2a: keep agent instructions out of the published A2A agent card
a2a: resume the matching peer task in mixed tool replies
a2a: stop attributing a remote peer's message to the local user
agents: fix AgentEngineClient wire protocol, SSE parsing, and optional aiplatform peer
agents: keep a tool's outputKey value when the final event has no text
agents: keep parallel tool responses when another call asks for confirmation
agents: leave thought parts out of the outputKey value
agents: prevent thought leaks and empty parts in convertForeignEvent
agents: skip function calls in partial events
agents: skip set_model_response in task mode and fix function call ID preservation
agents: treat Object.prototype names as missing state keys in instructions
artifacts: accept filenames starting with '..' in FileArtifactService
cli: harden tmp log setup, honor otel_to_cloud, and set failure exit codes
cli: keep the drive letter of an absolute Windows eval set path
code_executors: fix ContainerCodeExecutor container lifecycle and image build caching
context: retain nonadjacent tool call and response pairs
core: clarify OpenAPI OperationParser docstring helpers and error messages
core: combine duplicate header entries in mergeTrackingHeaders
core: guard null and prototype keys in failover_utils
core: invoke plugin beforeAgentCallback and afterAgentCallback
core: normalize artifact MIME types and use placeholders for binary instructions
core: order browser export condition and types in core/package.json
core: propagate partial flag in NlPlanningResponseProcessor
core: read environment variables safely in the browser
core: skip registered global providers in maybeSetOtelProviders
core: update LoadMemoryTool description and LoadMemoryResponse types
models: shallow-copy inlineData and fileData before stripping displayName
- Security
server: prevent path traversal in loadDotenvForAgent and eval set routes
sessions: fix DatabaseSessionService datetime precision, schema init, and StaleSessionError
sessions: keep temp: state in the session for the rest of the invocation
sessions: preserve empty user ID filters in database lists
skills: key nested skill resources by forward-slash paths on Windows
skills: run a skill script named without the scripts/ prefix
skills: validate frontmatter delimiters, empty mappings, and 0-byte zip files
telemetry: ignore blank error types and support numeric tool error codes
tools: pass the parent's current state to a reused AgentTool session
tools: serialize array and object fields in RestApiTool form bodies
tools: serialize OpenAPI path, header, and cookie parameters and omit null values
tools: validate GoogleApiToolset config, keep path schemas, and scope sample fetch
utils: keep schema constraints in the Gemini converter
workflow: handle thrown objects without constructors
workflow: stop storing a node's input as a user turn (#1169) (22a244e), closes #720
workflow: wait for the runner to store node events (adk-python parity)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.