Upgrade to 2.1.0.0
Align the Alibaba, Extensions, and Spring AI BOMs with Spring Boot 4.2.0. Use Spring AI 2.1.0 and MCP Java SDK 2.2.0.
- ReactAgent dispatches the tools on the final model request. Tool metadata or a policy can pause a batch for approval, and Graph can resume approved or edited calls from a checkpoint. Defaults are 40 calls per tool and 150 total per turn.
- Preserve ordered Message Parts when editing history or persisting messages. Graph and Studio carry reasoning, media, provider payloads and tool errors through streaming and checkpoint resume. Incomplete tool arguments are available for display.
- Spring AI deprecates
ChatMemoryin favor of Session Memory, an event log with compaction, recall, and JDBC persistence. Opt in withLlmNode.builder().sessionMemory(sessionService, sessionIdKey)and set a conversation-specific session ID in Graph state. QuestionClassifierNodeaccepts aDecisionModelfor typed routing. OpenAI users can enable the Responses API withspring.ai.openai.chat.api=responses.- Configure Modern MCP per connection alongside existing Streamable HTTP and SSE connections. Nacos supports registration, discovery and gateway routing across the protocols.
- Extensions updates DashScope native model routing, image, audio and video generation, and the Bailian Knowledge API. AnalyticDB, OceanBase, Alibaba OpenSearch, Tablestore and Tair support precomputed embeddings. Tika extraction is capped by default.
Alibaba release · Spring AI GA blog · Spring AI upgrade guide