# Spring AI 2.1.0-RC1 and 2.0.2 Available Now

DevFeed: [Spring AI 2.1.0-RC1 and 2.0.2 Available Now](<https://devfeed.tech/articles/spring-ai-2-1-0-rc1-and-2-0-2-available-now-97730.md>)

Original publisher: [Read original article](<https://spring.io/blog/2026/10/23/spring-ai-2-1-0-RC1-available-now>)

Author: ebottard

Published: 2026-10-23T00:00:00Z

Content type: release

Language: en

Sources: [Spring](<https://devfeed.tech/sources/spring.md>)

Topics: [Spring AI](<https://devfeed.tech/topics/spring-ai.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [accessors](<https://devfeed.tech/tags/accessors.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [also](<https://devfeed.tech/tags/also.md>), [announce](<https://devfeed.tech/tags/announce.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [batch](<https://devfeed.tech/tags/batch.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [boot](<https://devfeed.tech/tags/boot.md>), [builder](<https://devfeed.tech/tags/builder.md>), [builds](<https://devfeed.tech/tags/builds.md>), [call](<https://devfeed.tech/tags/call.md>), [central](<https://devfeed.tech/tags/central.md>), [chat](<https://devfeed.tech/tags/chat.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [code](<https://devfeed.tech/tags/code.md>), [content](<https://devfeed.tech/tags/content.md>), [contributed](<https://devfeed.tech/tags/contributed.md>), [conversations](<https://devfeed.tech/tags/conversations.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [java](<https://devfeed.tech/tags/java.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [reactive](<https://devfeed.tech/tags/reactive.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-ai](<https://devfeed.tech/tags/spring-ai.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

## AI overview

Spring AI 2.1.0-RC1 adds native message-part support across major chat providers, built-in session memory, tool-call confirmation, and vector search using a caller-supplied query embedding; 2.0.2 fixes are included. Session memory stores an append-only event log and builds a compacted view, cutting only at turn boundaries; JDBC repositories support PostgreSQL, MySQL, MariaDB, and H2, and callers must provide a session ID on every call. Existing chat-memory APIs are deprecated for removal in 3.0.0, with some replacement dialects still planned. Confirmation pauses tool execution until the application allows or denies each call, with policies based on metadata, named tools, or arguments. Query-vector search leaves the embedding model unused and is implemented by pgvector, Qdrant, Redis, Elasticsearch, and OpenSearch; unsupported stores fail fast, and OpenSearch upsert requires managed document IDs. The release also preserves provider-specific reasoning payloads, with replay configurable for OpenAI-compatible endpoints because some require it and others reject it.

## Source excerpt

On behalf of the Spring AI team and everyone who has contributed, I'm happy to announce that Spring AI 2.1.0-RC1 and 2.0.2 have been released and are now available from Maven Central! Release notes | Upgrade notes | Reference documentation 2.1.0-RC1 builds on 2.1.0-M1 and delivers most of what we promised in its "What's next" section: message parts are now produced and consumed natively by the major chat models, and session memory arrives in Spring AI itself. It also adds tool call confirmation, and extends the pre-computed embeddings support with search by query vector. New in this release Message Parts across providers In M1, only OpenAiResponsesChatModel worked natively with MessagePart content. In this release the following ChatModel implementations produce and consume parts as well: OpenAI (Chat Completions) Anthropic Google GenAI Amazon Bedrock Converse Ollama Mistral AI DeepSeek Reasoning, tool calls, and provider-specific blocks therefore keep their order and their opaque payloads, such as Anthropic thinking signatures and Gemini thought signatures, across a whole conversation. Code that uses the existing accessors (getText(), getToolCalls(), ...) keeps working. The message builders' setters now replace parts in place, so UserMessage.builder().text(...) followed by another call no longer leaves stale parts behind. Two related details for OpenAI-compatible endpoints. reasoning_content is echoed back on assistant messages because some endpoints, such as DeepSeek in thinking mode, require it, while others, such as Groq, reject it. Replaying is now configurable with spring.ai.openai.chat.replay-reasoning-content (or OpenAiChatOptions.replayReasoningContent); it keeps sending the property by default, and false turns it off. And on the Responses API, the order of the parts of a user message is preserved, and file URLs are sent as file_url. Session Memory ChatMemory stores a flat list of messages per conversation id. Long-running conversations and agents need more