unstale

npm / @google/adk

@google/adk

What changed in @google/adk 0.2 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

26 breaking24 security5 deprecations119 new APIs and options3 performance19 behavior and defaults2 tooling191 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@google/adk 2219 changes

Breaking changes 18

  • Agent instructions are no longer included in the published A2A agent card.

    2.5.0release notes

  • A stale session is rejected instead of being reloaded when appending an event.

    2.4.0release notes

  • The skill loader now throws typed errors, allowing callers to handle failures by error type.

    2.4.0release notes

  • The frontmatter delimiter must be a line consisting of exactly three hyphens.

    2.4.0release notes

  • Code executors now run client-side code by default and match adk-python output.

    2.3.0release notes

  • Implicit Google API authentication now requires HTTPS.

    2.3.0release notes

  • Boolean nodes in JSON Schema are converted to object schemas.

    2.3.0release notes

  • Boolean branches in anyOf are converted to object schemas.

    2.2.0release notes

  • An agent is a workflow node itself and can be passed directly to an edge or node(); non-LlmAgent nodes no longer append node input to conversation or promote final model text to node output.

    2.0.0release notes

  • BaseAgent now extends BaseNode and inherits rerunOnResume, waitForOutput, retryConfig, timeout, inputSchema, outputSchema, and stateSchema; same-named subclass fields collide, and description is no longer undefined when unset.

    2.0.0release notes

  • Schemas declared in the genai dialect are enforced, not just Zod schemas.

    2.0.0release notes

  • LLMAgentWrapper and LLMAgentWrapperConfig are removed; pass an agent directly to an edge or node() instead.

    2.0.0release notes

  • A node that reports an error now fails instead of being treated as successful.

    2.0.0release notes

  • Dynamic ctx.runNode() children that raise an interrupt and re-read ctx.resumeInputs on re-run must declare rerunOnResume: true; otherwise they complete with the raw reply as output.

    2.0.0release notes

  • Numeric custom runIds and runIds colliding with automatic ones are refused.

    2.0.0release notes

  • A node's declared stateSchema is enforced.

    2.0.0release notes

  • A workflow's output is no longer delivered as two events.

    2.0.0release notes

  • WorkflowAgent is removed; workflows can be driven as nodes.

    2.0.0release notes

Security 13

  • Reads environment variables safely in the browser.

    2.5.0release notes

  • Prevents path traversal in loadDotenvForAgent and eval set routes.

    2.5.0release notes

  • Fetched agent card RPC URLs are pinned to the origin from which the card was fetched.

    2.3.0release notes

  • Hardens agent-card resolution against SSRF and a silent file read.

    2.1.0release notes

  • Scrubs credential material before forwarding it to a remote A2A peer.

    2.1.0release notes

  • Rejects an empty credentialKey before storing the credential.

    2.1.0release notes

  • Redacts the OAuth2 authorization code from malformed-callback-URI logs.

    2.1.0release notes

  • Emits a PKCE S256 code challenge on the OAuth2 authorization URI.

    2.1.0release notes

  • Rejects an unusable OpenAPI HTTP credential instead of sending an unauthenticated request.

    2.1.0release notes

  • Redacts inline data payloads from the resumption debug event dump.

    2.1.0release notes

  • Prunes credential-bearing httpOptions from the traced request.

    2.1.0release notes

  • Unsupported-URI errors redact the connection-URI password.

    2.0.0release notes

  • Credential responses are bound to the request that asked for them.

    2.0.0release notes

Deprecations 4

  • Custom metadata keys prefixed with __adk_internal_ are reserved for ADK; developers should avoid using them.

    2.2.1release notesrelease notes

  • LoopAgent remains usable but logs a deprecation warning once per class per process.

    2.0.0release notes

  • ParallelAgent remains usable but logs a deprecation warning once per class per process.

    2.0.0release notes

  • SequentialAgent remains usable but logs a deprecation warning once per class per process.

    2.0.0release notes

New APIs and options 44

  • Telemetry records ADK duration, token, and totals metrics.

    2.5.0release notes

  • Adds hooks for agent and run errors, and finalizes aborted runs.

    2.5.0release notes

  • Telemetry exports on the Agent Runtime request path.

    2.5.0release notes

  • CLI commands now support aliases.

    2.5.0release notes

  • Adds a computer use tool and toolset with a BaseComputer interface.

    2.5.0release notes

  • CLI flags can use kebab-case.

    2.5.0release notes

  • Telemetry records MCP HTTP exchanges.

    2.5.0release notes

  • Telemetry settings can be overridden per run.

    2.5.0release notes

  • Adds control over generated IDs through setIdProvider.

    2.5.0release notes

  • Application Integration list operations support sortByColumns.

    2.5.0release notes

  • Traces, metrics, and logs can be exported to telemetry.googleapis.com.

    2.5.0release notes

  • Telemetry emits the v2 span tree and GenAI log records.

    2.5.0release notes

  • Adds opt-in automatic session creation in the runner.

    2.3.0release notes

  • Adds DebugLoggingPlugin with full Python parity for developers who want debug logging through a plugin.

    2.3.0release notes

  • Adds ToolCallIntegrityPlugin with adk-python parity.

    2.2.1release notesrelease notes

  • The code-execution skill is published on the agent card.

    2.2.0release notes

  • Ports the BasePlanner planner API.

    2.2.0release notes

  • Ports the BuiltInPlanner planner API.

    2.2.0release notes

  • customMetadata is declared for memory entries.

    2.2.0release notes

  • LlmAgent gains planner support, allowing developers to configure an agent with a planner.

    2.2.0release notes

  • The logger facade is exported from the @google/adk public API.

    2.2.0release notes

  • Ports the PlanReActPlanner planner API.

    2.2.0release notes

  • Adds a module aliasing ToolContext to Context.

    2.2.0release notes

  • Adds a toolset for Chrome WebMCP document.modelContext tools.

    2.2.0release notes

  • Adds a BaseLlm for using the on-device Chrome Prompt API model.

    2.1.0release notes

  • Adds Docker-sandboxed code execution for applications that need to run code in a container.

    2.1.0release notes

  • Adds a model plugin for self-healing error recovery.

    2.1.0release notes

  • Adds a tool plugin for self-healing error recovery.

    2.1.0release notes

  • Exports resetLogger from the public API so applications can reset the logger.

    2.1.0release notes

  • Ports the adk-python v0.1.0 retrieval tools.

    2.1.0release notes

  • Ports the typed-errors module from adk-python.

    2.1.0release notes

  • Adds a Vertex AI RAG memory backend.

    2.1.0release notes

  • The environment abstraction is available, including BaseEnvironment, ExecutionResult, and LocalEnvironment.

    2.0.0release notes

  • ctx.runNode() now accepts the same inputs as edges.

    2.0.0release notes

  • Workflows gain a built-in Function node.

    2.0.0release notes

  • FunctionTool supports require_confirmation for human-in-the-loop approval.

    2.0.0release notes

  • Workflow support adds LLM-agent-as-node, task mode, and node-as-tool capabilities.

    2.0.0release notes

  • Plugins can use before/after node callbacks.

    2.0.0release notes

  • A failed workflow node is recorded as a NodeErrorEvent.

    2.0.0release notes

  • Workflow support adds ParallelWorker and JoinNode.

    2.0.0release notes

  • Runner.runLive and the LlmAgent live flow are implemented.

    2.0.0release notes

  • Workflows gain a built-in Tool node.

    2.0.0release notes

  • The workflow engine adds an execution model, graph, node registry, and public workflow runner API.

    2.0.0release notes

  • Workflow and node execution can be traced with OpenTelemetry.

    2.0.0release notes

Performance 3

  • The stale-session event reload is moved out of appendEvent's row lock.

    2.4.0release notes

  • Imports MikroORM on first database use.

    2.1.0release notes

  • Situational subsystems are optional peers, reducing the reported install package count from 591 to 172.

    2.0.0release notes

Behavior and default changes 12

  • Trace context is propagated across A2A calls.

    2.5.0release notes

  • Agent Engine request traces are continued and include the support id.

    2.5.0release notes

  • ExampleTool examples are validated when the tool is constructed, surfacing invalid examples earlier.

    2.3.0release notes

  • Session metadata is attached to task, working, and input-required events.

    2.2.0release notes

  • ADK tracking headers are sent on MCP HTTP requests.

    2.2.0release notes

  • MemoryEntry.id is forwarded as the Vertex memoryId.

    2.2.0release notes

  • InvocationContext.agent is optional; code outside an agent's execution must handle undefined, while code inside one should prefer requireAgent(ctx).

    2.0.0release notes

  • isolationScope now filters LLM contents.

    2.0.0release notes

  • RoutedAgent graduates out of experimental.

    2.0.0release notes

  • RoutedLlm graduates out of experimental.

    2.0.0release notes

  • Runner, App, and the agent loader accept a bare Workflow as a root.

    2.0.0release notes

  • Workflow is still experimental, and a bare Workflow can now be used as a root by the runner, App, and agent loader.

    2.0.0release notes

Fixes and other changes 125

  • The CLI honors otel_to_cloud and sets failure exit codes.

    2.5.0release notes

  • Fixes the wire protocol and SSE parsing, and makes the aiplatform peer optional.

    2.5.0release notes

  • Passes the parent's current state to a reused AgentTool session.

    2.5.0release notes

  • Normalizes artifact MIME types and uses placeholders for binary instructions.

    2.5.0release notes

  • Fixes container lifecycle and image build caching.

    2.5.0release notes

  • Prevents thought leaks and empty parts when converting foreign events.

    2.5.0release notes

  • Preserves empty user ID filters in database lists.

    2.5.0release notes

  • Fixes datetime precision, schema initialization, and StaleSessionError.

    2.5.0release notes

  • Accepts filenames starting with '..'.

    2.5.0release notes

  • Keeps schema constraints in the Gemini converter.

    2.5.0release notes

  • Skips registered global providers when setting OpenTelemetry providers.

    2.5.0release notes

  • Validates config, keeps path schemas, and scopes sample fetch.

    2.5.0release notes

  • Object.prototype names are treated as missing state keys in instructions.

    2.5.0release notes

  • Updates LoadMemoryTool description and LoadMemoryResponse types.

    2.5.0release notes

  • Resumes the matching peer task when tool replies are mixed.

    2.5.0release notes

  • Keys nested skill resources by forward-slash paths on Windows.

    2.5.0release notes

  • Serializes path, header, and cookie parameters and omits null values.

    2.5.0release notes

  • Preserves a tool's outputKey value when the final event has no text and excludes thought parts from the value.

    2.5.0release notes

  • Parallel tool responses are retained when another call asks for confirmation.

    2.5.0release notes

  • Function calls are skipped in partial events.

    2.5.0release notes

  • Invokes plugin beforeAgentCallback and afterAgentCallback.

    2.5.0release notes

  • Remote peer messages are no longer attributed to the local user.

    2.5.0release notes

  • Serializes array and object fields in form bodies.

    2.5.0release notes

  • Validates frontmatter delimiters, empty mappings, and 0-byte zip files.

    2.5.0release notes

  • Runs a skill script named without the scripts/ prefix.

    2.5.0release notes

  • The stdio MCP timeout is now honored.

    2.5.0release notes

  • Skips set_model_response in task mode and preserves function call IDs.

    2.5.0release notes

  • Keeps temp: state in the session for the rest of the invocation.

    2.5.0release notes

  • Retains nonadjacent tool call and response pairs.

    2.5.0release notes

  • Waits for the runner to store node events.

    2.5.0release notes

  • Stops storing a node's input as a user turn.

    2.5.0release notes

  • LlmAgent now calls BaseToolset.processLlmRequest when processing an LLM request.

    2.4.0release notes

  • The check now honors Gemini instance vertexai configuration.

    2.4.0release notes

  • Claude integrations now honor maxOutputTokens, set finishReason, and sanitize tool ids.

    2.4.0release notes

  • Executor state is isolated per session, preventing state from being shared across sessions.

    2.4.0release notes

  • Foreign agent thought parts are excluded when converting events.

    2.4.0release notes

  • Repeated HTTP header values are preserved instead of being lost or collapsed.

    2.4.0release notes

  • The text of inlineData artifacts is injected into instructions.

    2.4.0release notes

  • LoadMemoryTool now returns full memory entries.

    2.4.0release notes

  • OpenAPI tools now match adk-python behavior for empty-object schemas, OAuth2 exchange, and object-body parsing.

    2.4.0release notes

  • Array query parameters are sent as repeated keys.

    2.4.0release notes

  • Synchronous delegate initialization errors now trigger failover.

    2.4.0release notes

  • Telemetry spans now report tool error types.

    2.4.0release notes

  • Duplicate tracer registration is avoided.

    2.4.0release notes

  • Validation now reports when a path is missing or is not a directory.

    2.4.0release notes

  • Aborted invocations are sealed in session history.

    2.3.0release notes

  • Tool responses are normalized before afterToolCallback runs.

    2.3.0release notes

  • Base64 is decoded as UTF-8 in the browser.

    2.3.0release notes

  • In-memory artifact versions now have canonicalUri populated.

    2.3.0release notes

  • The sandbox name is persisted in the code execution context state delta.

    2.3.0release notes

  • Instruction strings containing ${...} and escaped braces are kept as literal text.

    2.3.0release notes

  • Planners now keep all leading parallel function calls.

    2.3.0release notes

  • llmRequest.model is set to the selected route model.

    2.3.0release notes

  • RoutedLlm.generateContentAsync now forwards abortSignal.

    2.3.0release notes

  • The call_llm span is ended in a finally block when runAsync exits early.

    2.3.0release notes

  • Runner now prefers an explicit appName over app.name.

    2.3.0release notes

  • VertexAiSessionService now gives Session.state a null prototype.

    2.3.0release notes

  • Partial chunks of a streamed response now share one event ID.

    2.3.0release notes

  • Falsy tool errors are preserved.

    2.3.0release notes

  • In SSE mode, the parent step loop stops after transfer_to_agent.

    2.3.0release notes

  • An explicit vertexai: false is respected even when enterprise environment variables are set.

    2.3.0release notes

  • Event listing now follows nextPageToken when retrieving a session.

    2.3.0release notes

  • Numeric log levels are mapped to Winston names.

    2.3.0release notes

  • Closes the Chrome reply envelope and prevents it from being shown.

    2.2.0release notes

  • An empty text part is rendered when a code execution result has no output.

    2.2.0release notes

  • Stringifies customMetadata values in GcsArtifactService.

    2.2.0release notes

  • Routes Gemini 3.x live audio by model family rather than the '-flash-live' spelling.

    2.2.0release notes

  • Emits one input transcription on Gemini 3.x Live.

    2.2.0release notes

  • Gemini 3.5 Live Translate is excluded from Gemini 3.x Live routing.

    2.2.0release notes

  • Keeps tool and code execution events in Memory Bank writes.

    2.2.0release notes

  • Fixes nested artifacts leaking versions into their parent.

    2.2.0release notes

  • Emits the body argument for a schema-less media type.

    2.2.0release notes

  • Scans every 2xx media type for the return schema.

    2.2.0release notes

  • Makes safeStringify total.

    2.2.0release notes

  • Closes the skill registry when the skill toolset closes.

    2.2.0release notes

  • Drops a null member from an enum when converting with toGeminiSchema.

    2.2.0release notes

  • Boolean branches in type arrays are converted to object schemas.

    2.2.0release notes

  • Lists artifacts nested under another artifact.

    2.1.0release notes

  • Loads artifacts and MCP resources when other tools are called.

    2.1.0release notes

  • Makes built-in tools resolvable by name.

    2.1.0release notes

  • Handles Cloud SQL Unix socket connections in sessions.

    2.1.0release notes

  • Stops a surviving grandchild from hanging code execution.

    2.1.0release notes

  • Stores the event timestamp with sub-second precision on MySQL.

    2.1.0release notes

  • Always emits an array for the required key in the OpenAPI argument schema.

    2.1.0release notes

  • Carries request-input resume inputs in their own type.

    2.1.0release notes

  • Propagates request metadata to agent execution.

    2.1.0release notes

  • Declares synthesized card default modes as media types.

    2.1.0release notes

  • Gracefully handles unregistered tool calls.

    2.1.0release notes

  • Makes transfer and runtime tool confirmation work across runtimes.

    2.1.0release notes

  • Configures VertexAiSessionService from the environment for vertexai:// URIs.

    2.1.0release notes

  • Makes the web build bundle and run in a browser and loadable outside Node.

    2.1.0release notes

  • An aborted node is reported as aborted, not timed out.

    2.0.0release notes

  • The dev server continues when one agent is broken, and adk run surfaces HITL prompts and errors.

    2.0.0release notes

  • An agent node can converse and finish a confirmed tool call.

    2.0.0release notes

  • The agent-transfer action is sent under the name defined by the API.

    2.0.0release notes

  • Usage metadata is retained from content-less streaming responses.

    2.0.0release notes

  • Delegated output is no longer duplicated, and structured replies are parsed.

    2.0.0release notes

  • A caller is unwound past a dynamic child that paused or failed.

    2.0.0release notes

  • Dynamic HITL children resume instead of livelocking.

    2.0.0release notes

  • A dynamic node that already settled is not run again.

    2.0.0release notes

  • The Gemini API path now consults GOOGLE_API_KEY.

    2.0.0release notes

  • getExpressModeApiKey() now honors GOOGLE_GENAI_USE_ENTERPRISE.

    2.0.0release notes

  • Human-in-the-loop confirmation is bound to the action it approves.

    2.0.0release notes

  • A reply that answers no open interrupt is refused.

    2.0.0release notes

  • The interrupt schema is emitted under the key clients read.

    2.0.0release notes

  • Events built by a node itself are stamped with the invocation id.

    2.0.0release notes

  • Node state writes are no longer rolled back mid-run.

    2.0.0release notes

  • Workflow outputs record which nodes they answer for.

    2.0.0release notes

  • An item that asks the user can pause the whole worker.

    2.0.0release notes

  • A child's pending interrupt can hold its caller.

    2.0.0release notes

  • State changes made during processLlmRequest are persisted.

    2.0.0release notes

  • Structured HITL replies are checked against responseSchema.

    2.0.0release notes

  • OpenAPI path parameters are encoded and validated.

    2.0.0release notes

  • A resumed graph can route back through a node it already ran.

    2.0.0release notes

  • Jittered retry delays stay within maxDelay.

    2.0.0release notes

  • A retryable exception can be matched by its class name.

    2.0.0release notes

  • Two route keys can share a destination node.

    2.0.0release notes

  • The START node receives the user's text, whether or not it includes an attachment.

    2.0.0release notes

  • A text reply requested by the schema is no longer reinterpreted.

    2.0.0release notes

  • The event round trip is restored.

    2.0.0release notes

  • A waiting parent resumes on its original input.

    2.0.0release notes

  • Errors identify which node failed and when a route goes nowhere.

    2.0.0release notes

  • Workflow event fields are preserved across the Agent Engine fallback path.

    2.0.0release notes

  • Node overrides are applied to an already-built node.

    2.0.0release notes

  • A finished run is no longer replayed on the next turn.

    2.0.0release notes

@google/adk 1119 changes

Breaking changes 7

  • Parses JSON bodies only and drops express.urlencoded.

    1.6.0release notes

  • Fails fast when a Vertex AI Express Mode API key cannot be used.

    1.6.0release notes

  • Rejects zip-slip entries and non-bare skill names when loading zipped skills.

    1.6.0release notes

  • Requires authentication when mounting an A2A server.

    1.5.0release notes

  • Requires confirmation before executing inline skill scripts.

    1.5.0release notes

  • AgentTool no longer propagates skipSummarization to parent EventActions.

    1.2.0release notes

  • Agent execution is aborted when the HTTP connection disconnects.

    1.2.0release notes

Security 10

  • Fixes a sibling-directory escape in the path check.

    1.6.0release notes

  • Uses a cryptographically secure source for randomUUID.

    1.6.0release notes

  • Passes -NoProfile to spawned PowerShell and /D to cmd.exe.

    1.6.0release notes

  • Prevents prototype pollution via untrusted map keys.

    1.6.0release notes

  • Fixes artifact-saving message part replacement and LLM exposure.

    1.5.0release notes

  • Adds an SSRF-safe tool for loading web pages.

    1.5.0release notes

  • Applies the SSRF blocklist to the OAuth2 token endpoint.

    1.4.0release notes

  • Prevents SSRF credential leaks via OAuth2 redirects and blocks IPv6 [::].

    1.4.0release notes

  • Prevents prototype pollution via a model-controlled JSON path during streaming.

    1.3.0release notes

  • Fixes SSRF protection for IPv4-mapped IPv6 and a dead 172.16/12 check.

    1.2.0release notes

New APIs and options 52

  • Adds bearerTokenUserBuilder for A2A authentication.

    1.6.0release notes

  • Adds getUserChoiceTool for parity with adk-python.

    1.6.0release notes

  • Adds requestInputTool for parity with adk-python.

    1.6.0release notes

  • Supports expireTime as a session-expiration option when creating a Vertex AI session.

    1.6.0release notes

  • Supports ttl as a session-expiration option when creating a Vertex AI session.

    1.6.0release notes

  • Implements anchored iterative summarization in context compactors.

    1.5.0release notes

  • Adds clone() support to BaseAgent and RoutedAgent.

    1.5.0release notes

  • Adds a tool for Gemini web grounding.

    1.5.0release notes

  • Adds a tool for few-shot examples.

    1.5.0release notes

  • Adds GlobalInstructionPlugin to scope global instructions.

    1.5.0release notes

  • Adds a tool to read MCP server resources.

    1.5.0release notes

  • Adds live streaming support to LoopAgent.

    1.5.0release notes

  • Introduces agent-controlled compaction.

    1.4.0release notes

  • Adds support for --agent_engine_id to deploy agent_engine.

    1.4.0release notes

  • Client labels are configurable in adk-js.

    1.4.0release notes

  • Adds fileData support to GcsArtifactService.

    1.4.0release notes

  • Implements the Gemini Interaction API in adk-js.

    1.4.0release notes

  • Creates a new top-level integrations package.

    1.4.0release notes

  • Introduces SessionArtifactService alongside changes to ForwardingArtifactService.

    1.4.0release notes

  • Introduces trajectory thought pruning in adk-js.

    1.4.0release notes

  • ADK JS supports Gemini 2.5 and 3.x Live Models.

    1.3.0release notes

  • Adds an OpenAPI spec operation parser and auth handler.

    1.3.0release notes

  • Adds a flag to watch agent files for changes.

    1.3.0release notes

  • Adds integration with a remote GCP Skills Registry.

    1.3.0release notes

  • Implements a REST API tool for OpenAPI.

    1.3.0release notes

  • Adds a dynamic SearchSkillsTool for LLM agents.

    1.3.0release notes

  • Introduces a core interface for a Skills Registry, along with zip extraction and local Toolset caching fallbacks.

    1.3.0release notes

  • Adds an Agent Engine Sandbox Code Executor.

    1.2.0release notes

  • Implements the Agent Registry in adk-js.

    1.2.0release notes

  • Adds customMetadata support in runAsync and runEphemeral.

    1.2.0release notes

  • Adds a Google maps tool.

    1.2.0release notes

  • listSessions now supports pagination and sorting.

    1.2.0release notes

  • Adds OpenAPI authentication helpers and credential exchangers.

    1.2.0release notes

  • Adds implementation of the Vertex AI Memory Bank service.

    1.2.0release notes

  • Adds a tool for Vertex AI RAG Engine grounding.

    1.2.0release notes

  • Adds URL context grounding for Gemini 2+.

    1.1.0release notes

  • Adds a Vertex AI Search tool.

    1.1.0release notes

  • Supports an abort parameter in the runner, agent, model, tool, and processors.

    1.0.0release notes

  • Adds Agent as a type alias for LlmAgent to keep parity with Python ADK.

    1.0.0release notes

  • Adds an auth preprocessor and updates the auth handler.

    1.0.0release notes

  • Adds base classes related to authentication.

    1.0.0release notes

  • Adds a client URL option to support custom URL options for DB connections.

    1.0.0release notes

  • Adds OAuth2-related classes for OAuth support.

    1.0.0release notes

  • Adds callbacks for context compaction and tool selection.

    1.0.0release notes

  • Adds progressive processing for model streaming.

    1.0.0release notes

  • Adds RoutedAgent.

    1.0.0release notes

  • Adds RoutedLlm.

    1.0.0release notes

  • Adds support for script execution in skills.

    1.0.0release notes

  • Defines an interface for skills.

    1.0.0release notes

  • Adds a loader for skills.

    1.0.0release notes

  • Adds a skills toolset.

    1.0.0release notes

  • Adds an unsafe local code executor.

    1.0.0release notes

Behavior and default changes 4

  • Groups appName, userId, and sessionId into a unified composite session key.

    1.4.0release notes

  • Cleans up and generalizes agent determination for LRO session resumption routing.

    1.4.0release notes

  • Uses AuthPreprocessor in LlmAgent.

    1.3.0release notes

  • Enables concurrent replacement with key deduplication.

    1.3.0release notes

Tooling 1

  • Adds A2A authentication support for the dev server and Cloud Run deploy.

    1.6.0release notes

Fixes and other changes 45

  • Stops restoring the event branch from A2A peer metadata.

    1.6.0release notes

  • Skill frontmatter validation accepts the derived allowedTools alias.

    1.6.0release notes

  • Gates the set_model_response workaround on canUseOutputSchemaWithTools.

    1.6.0release notes

  • Isolates in-memory composite keys for artifacts.

    1.6.0release notes

  • Surfaces root-cause MCP session errors instead of swallowing them.

    1.6.0release notes

  • Persists events returned by onEventCallback.

    1.6.0release notes

  • Falls back to node:crypto so randomUUID cannot throw on Node.

    1.6.0release notes

  • Validates tool callback response types and prevents state event pollution.

    1.6.0release notes

  • Detects PowerShell 7+ (pwsh) in the SHELL branch.

    1.6.0release notes

  • Treats @google/genai ApiError 404 as session not found.

    1.6.0release notes

  • Fixes handling of A2A events without content.

    1.5.0release notes

  • Preserves errorCode in A2A event metadata.

    1.5.0release notes

  • Missing in-memory artifact versions now return undefined.

    1.5.0release notes

  • Validates the effective maxLlmCalls value.

    1.5.0release notes

  • Uses the statically configured credential in OpenAPI tools.

    1.5.0release notes

  • Quotes userId in the Vertex AI sessions AIP-160 list filter.

    1.4.0release notes

  • Treats an empty toolFilter array as no filter.

    1.4.0release notes

  • Gracefully handles missing function calls during context compaction.

    1.4.0release notes

  • Formats object state and Part artifact values as JSON or text in instruction templates.

    1.4.0release notes

  • Shares the invocation cost manager so maxLlmCalls spans the whole run.

    1.4.0release notes

  • Defaults the role to 'user' when it is omitted.

    1.4.0release notes

  • Persists exchanged OpenAPI credentials via the State API.

    1.4.0release notes

  • Allows SKILL.md files containing tables to load.

    1.4.0release notes

  • Stops emitting model content with empty parts from the stream aggregator.

    1.4.0release notes

  • Suppresses empty part arrays in streaming.

    1.4.0release notes

  • Gates token-based compaction on latest prompt size rather than event sum.

    1.4.0release notes

  • Uses the proper AuthConfig type in EventActions instead of any.

    1.3.0release notes

  • Fixes an infinite loop when outputSchema and tools are combined.

    1.3.0release notes

  • Suppresses trailing empty STOP chunks with zero parts.

    1.3.0release notes

  • Filters temporary state keys when creating a session.

    1.3.0release notes

  • Temporary keys are filtered from sub-agent state deltas in AgentTool.

    1.2.0release notes

  • Array responses from function tools are wrapped to comply with the Gemini API.

    1.2.0release notes

  • MCP client sessions are closed after listTools and callTool to address a Windows libuv assertion and process leak.

    1.2.0release notes

  • Adds a method to close an MCPToolset session.

    1.2.0release notes

  • MCPToolset.getTools() now applies toolFilter.

    1.2.0release notes

  • Streaming suppresses empty STOP chunks and preserves tool calls in SSE session history.

    1.2.0release notes

  • Prevents close() from dropping the final event when the last chunk has no candidates.

    1.2.0release notes

  • Thought parts are filtered in stringifyContent and AgentTool merged text.

    1.2.0release notes

  • Handles an undefined type in enum- or const-only schemas.

    1.2.0release notes

  • Fixes the path used to serve ADK web UI source code.

    1.1.0release notes

  • AgentTool uses getOrCreateSession to allow session reuse within the same session.

    1.1.0release notes

  • Strips the prefix during MCP tool execution.

    1.1.0release notes

  • Adds support for dynamic require in ESM builds.

    1.0.0release notes

  • Fixes missing invocation IDs on ADK events created while merging parallel tool responses.

    1.0.0release notes

  • Propagates thoughtSignature to concurrent function calls in streaming.

    1.0.0release notes

@google/adk 0.616 changes

Security 1

  • Prevents path traversal in FileArtifactService.

    0.6.0release notes

New APIs and options 7

Behavior and default changes 1

  • Supports video metadata during A2A part conversion.

    0.6.0release notes

Tooling 1

Fixes and other changes 6

  • MCP types can be arrays instead of being limited to strings.

    0.6.1release notes

  • Uses the correct enum values for agent card transport types.

    0.6.0release notes

  • Prints an error message when the port for the ADK API server is already in use.

    0.6.0release notes

  • Uses the LLM agent instruction when the root agent is not an LLM agent.

    0.6.0release notes

  • Preserves existing tables in the schema during session database initialization.

    0.6.0release notes

  • Persists session state correctly so previous data is not lost.

    0.6.0release notes

@google/adk 0.53 changes

New APIs and options 2

  • Adds an ExitLoopTool equivalent to those in Python and Java ADK.

    0.5.0release notes

  • Toolsets can be prefixed to avoid tool name conflicts.

    0.5.0release notes

Fixes and other changes 1

  • MikroORM drivers are lazy loaded to avoid errors when they are not used.

    0.5.0release notes

@google/adk 0.418 changes

Breaking changes 1

  • The CLI is now ESM native instead of CommonJS, affecting how it runs in a project.

    0.4.0release notes

New APIs and options 10

Behavior and default changes 1

Fixes and other changes 6

  • Uses the isBaseTool type guard instead of instanceof for class-instance checks.

    0.4.0release notes

  • Uses the isLlmAgent type guard instead of instanceof for class-instance checks.

    0.4.0release notes

  • Fixes state persistence in LlmAgent.

    0.4.0release notes

  • The ADK API server handles state request-body parameters.

    0.4.0release notes

  • The ADK API server handles state delta request-body parameters.

    0.4.0release notes

  • Removes the hard-coded check that prevented set tools and outputSchema.

    0.4.0release notes

@google/adk 0.35 changes

Deprecations 1

  • The MCP Session manager's header option is deprecated in favor of headers.

    0.3.0release notes

New APIs and options 2

  • The MCP Session manager adds a headers option for supplying headers.

    0.3.0release notes

  • Adds setLogger() to support custom loggers.

    0.3.0release notes

Behavior and default changes 1

Fixes and other changes 1

  • Changes rootAgent to use a getter, matching Python SDK behavior.

    0.3.0release notes

@google/adk 0.29 changes

New APIs and options 2

Fixes and other changes 7

  • Fixes a bug that caused the ADK web server to crash during agent graph generation.

    0.2.5release notes

  • Handles empty MCP schema types during Gemini conversion.

    0.2.5release notes

  • Fixes lodash import errors for developers using the package.

    0.2.3release notes

  • Improves type inference for functional tool parameters.

    0.2.2release notes

  • Passes the header parameter to StreamableHTTPClientTransport in MCPSessionManager.

    0.2.2release notes

  • Improves the error message shown when appName is missing in the runner.

    0.2.2release notes

  • Adds graceful handling for nullable or unknown types.

    0.2.2release notes