@google/adk
2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @google/adk From 1.6.0 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 7
- changes to make
- 0
- advisories fixed
- 21
- new
- 49
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Deprecated2.0.0
Release by release
- Breaking
workflow:
LLMAgentWrapperandLLMAgentWrapperConfigare removed. An agent is a workflow node as itself — pass it to an edge ornode()directly. A non-LlmAgentagent used as a node no longer has the node input appended to its conversation, nor its final model text promoted to the node output. - Breaking
workflow:
InvocationContext.agentis now optional. Code reading it outside an agent's own execution must handleundefined; inside one, preferrequireAgent(ctx). - Breaking
agents: constructing a
SequentialAgent,ParallelAgentorLoopAgentnow logs a deprecation warning once per class per process. The classes are otherwise unchanged and keep working. - Breaking
agents:
BaseAgentnow extendsBaseNode, so subclasses inheritrerunOnResume,waitForOutput,retryConfig,timeout,inputSchema,outputSchemaandstateSchema. A subclass that declares a field of the same name now collides with the inherited one.BaseAgent.descriptionis also no longerundefinedwhen unset.
- Breaking
2 internal lines (docs, tests, tooling) left out.
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.