惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers Blog

Spring Releases

Spring Boot 3.5.16 available now Spring Data 2025.0.13 released Spring Tools 5.2.0 released Spring AI 1.0.9, 1.1.8 Available Now Spring Modulith 2.1 GA, 2.0.7, and 1.4.12 released Spring Shell 4.0.3 and 3.4.3 are out! Spring Cloud 2025.0.3 (aka Northfields) Has Been Released Spring Cloud 2025.1.2 (aka Oakwood) Has Been Released Spring for GraphQL 1.4.6 and 2.0.4 released Spring gRPC 1.1.0 available now Spring Vault 4.0.3 and 3.2.1 available Spring Vault 4.1 Generally Available Spring Batch 6.0.4 and 5.2.6 available now Spring Boot 3.5.15 available now Spring Boot 4.0.7 available now Spring AI 2.0.0-RC1 Available Now Spring AI 2.0.0-M8 Available Now Spring AI 1.0.8, 1.1.7, 2.0.0-M7 Available Now Spring AI 1.0.7, 1.1.6, 2.0.0-M6 Available Now Spring Cloud Function and Config Have Been Released To Address Several CVEs Spring AI 1.0.6, 1.1.5, 2.0.0-M5 Available Now Spring Modulith 2.1 RC1, 2.0.6, and 1.4.11 released Spring Shell 4.0.2 is out! Spring Boot 3.5.14 available now Spring Boot 4.0.6 available now Spring Boot 4.1.0-RC1 available now Spring for Apache Kafka 4.1.0-RC1, 4.0.5, and 3.3.15 Available Spring for Apache Pulsar 1.2.17 and 2.0.5 are now available Spring Authorization Server 1.5.7 Available Now Spring Security 2026.04 Releases - Contains CVE Fixes Spring Integration 7.1.0-RC1 Available Spring Vault 4.1.0-RC1 and 4.0.2 released Spring Data 2026.0.0-RC1 enters release candidate phase Spring Data 2025.1.5 and 2025.0.11 released Spring Framework 6.2.18 and 7.0.7 Available Now Spring Cloud 2025.0.2 (aka Northfields) Has Been Released Spring Modulith 2.1 M4, 2.0.5, and 1.4.10 released Spring AI 2.0.0-M4, 1.1.4 and 1.0.5 are available now Spring Boot 3.5.13 available now
Spring AI 2.0.0 GA Available Now
tzolov · 2026-06-12 · via Spring Releases

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring AI 2.0.0 has been released and is now available from Maven Central!

Release notes | Upgrade notesReference documentation | Javadoc

Improved foundations

Since the early days, Spring AI has grown very fast in terms of features, model support, contributions and users. That’s great and exciting, but we felt the need for setting a new baseline in terms of scope, quality and consistency in order to allow evolving the project in a sustainable way. So a few months ago, we took a step back and defined areas that we wanted to improve mostly in terms of design and consistency, also taking into account user feedback from issues and pull requests. Those new foundations that we release today will significantly improve the developer experience, allow higher quality contributions by the community and make it easier to integrate upcoming features we have already identified in our roadmap.

Spring Boot 4 baseline

Spring AI 2.0 has been designed to be used with Spring Boot 4.0 / 4.1 and Spring Framework 7.0, but it brings much more profound benefits than just upgrading the dependency versions and fixing compatibility issues.

Jackson 3

JSON serialization was greatly improved by the upgrade from Jackson 2 to Jackson 3. The documentation now explains how to customize the default JsonMapper and introduces a new JsonHelper class for providing a fully customized JsonMapper.

Null-safety

Following the principles described in Null-safe applications with Spring Boot 4, Spring AI codebase is now fully annotated with JSpecify annotations. In addition to preventing null-pointer exceptions at runtime and providing a Kotlin idiomatic API, it allows clarification where values are optional or mandatory in the codebase.

Options

Working on null-safety also triggered a major refactoring of how options and configuration properties are handled:

  • Clarification of which options are mandatory or optional
  • Default values are now consistently defined at options level (not model or configuration properties)
  • Options are created with builders (not constructors) and are immutable once instantiated.
  • Those builders now provide consistent and reflection-free merging capabilities
  • Decoupling of options and configuration properties allowed the removal of the artificial .options segment in application property keys and fixing a lot of bugs

Lastly, we have clarified when options can be partially specified (typically with an option builder acting as a customizer for the ChatClient default options), and when they need to be fully specified (ChatModel level). More generally, you will see that Spring AI 2.0 embraces using ChatClient as the most common user-facing API while ChatModel is more of a lower-level building block. Read further for more exciting news about this.

More focus

We have chosen to focus the Spring AI core project on a well-defined set of chat model providers supported out-of-the-box:

  • OpenAI
    • went from 3 variants (Azure, HTTP, SDK) to 1 (SDK)
    • can be used to access other models providing an OpenAI compatible API
  • Anthropic
    • went from 2 variants (HTTP, SDK) to 1 (SDK)
    • can be used to access other models like Minimax providing an Anthropic compatible API
  • Amazon Bedrock
  • Google GenAI
    • went from 2 implementations (GenAI SDK, Vertex) to 1 (GenAI SDK)
  • Mistral AI
  • DeepSeek
  • Ollama

We expect that leveraging vendor SDKs for OpenAI, Anthropic and Google will help Spring AI adapt to the latest model API extensions and new features.

Some models are now maintained directly by the related vendors in collaboration with the Spring AI team:

We welcome support for additional models maintained externally. 

Better collaboration with the community

The pace of contributions to Spring AI keeps increasing, we are super grateful to have such a vibrant community, but we also face challenges to be able to integrate those contributions. The improved consistency of Spring AI 2.0 codebase will help, but we also need to provide more guidance to our community in order to make those contributions more useful and integrated in a timely manner. Also as contributions involving coding agents are now the vast majority of the pull requests we receive, we think it is even more important in that context to have proper human review.

For this reason Spring AI now has a brand new CONTRIBUTING.md documentation, designed both for humans and agents, clarifying the rules and conventions for contributions. Please read it carefully if you plan to contribute.

Agentic support improvements 

Agentic AI systems require a place to intercept and compose around the tool execution loop. In Spring AI 1.x that was challenging, as each chat model contained its own private tool-calling loop, buried inside the implementation with no way to hook into it, wrap it, or swap one execution strategy for another. You could call tools; you could not build on top of tool calling.

Spring AI 2.0 lifts the tool loop into the advisor chain as a first-class, composable component. ChatClient runs every request through an ordered chain of advisors and supports looping, letting an advisor re-enter the downstream chain. The same mechanism drives tool-call loops, structured-output retry loops, and evaluation loops alike.

Unified Tool Calling

In Spring AI 2.0, ToolCallingAdvisor is auto-registered by the ChatClient and implements the full tool-call round-trip. The ad-hoc tool loops previously implemented in each chat model are gone. When you need explicit control over each tool iteration, you can opt out and drive the loop manually.

Scaling to Hundreds of Tools

ToolSearchToolCallingAdvisor brings progressive tool disclosure to tool calling. Instead of registering every tool with every request, it exposes them incrementally on demand: the advisor indexes the full tool set once per session and lets the model retrieve relevant tools as needed.

Structured Self-Correcting Output

Spring AI has always offered portable, first-class structured output support, but even with native structured output enabled, a model can return non-conforming JSON. The auto-registerable StructuredOutputValidationAdvisor self-corrects on validation failures.

Spring AI Community Extensions

  • New Event-Sourced Conversation Memory:

The spring-ai-session community project is an event-sourced replacement for the built-in ChatMemory. It supports all message types, including tool calls (safe inside the tool-call loop with any backend) and applies pluggable, turn-aware compaction strategies — including LLM-powered summarization — when the context window fills up.

  • Agentic Patterns on Top of the Foundation:

The spring-ai-agent-utils community project builds on Spring AI 2.0's agentic foundation with production-ready primitives for building agentic systems, packaged as composable tools and advisors. It features Agent Skills, a portable, Spring AI-native implementation of the AgentSkills specification, as well as file, shell, web-fetch, task, auto-memory, and other useful utilities.

MCP Integration 

Model Context Protocol (MCP) is emerging as the common protocol for AI integrations. 

The Spring team builds and maintains the official MCP Java SDK, so Spring AI's MCP integration tracks the specification at the source. Spring AI 2.0 ships with MCP Java SDK 2.0.0, compliant with the latest 2025-11-25 MCP specification and consolidates the full MCP ecosystem under the Spring AI umbrella.

Annotation-Driven Programming Model

The mcp-annotations module (previously incubated in the community) is now part of Spring AI. The @McpTool, @McpResource, and @McpPrompt allow exposing any Spring service in an MCP server as a matter of one method annotation.

A unified McpSyncRequestContext / McpAsyncRequestContext parameter, injected automatically into server handler methods, gives tools and resources a single entry point for logging, progress reporting, sampling, and elicitation.

The client side is a first-class citizen as well. Declarative handlers cover the full protocol callback model, with annotations for LLM sampling, elicitation, and capability-change notifications — enabling truly reactive agent clients.

MCP Transports

The WebMVC and WebFlux transport implementations have been moved from the MCP Java SDK into Spring AI, aligning their release cadence with the rest of the framework. Streamable HTTP is now the default, replacing the deprecated SSE transport. Its stateless variant can be used to enable remote deployment scalability at the cost of MCP's bi-directionality communication. STDIO remains available for local process-based integrations.

MCP Enterprise Features

Spring AI's MCP integration inherits the full Spring production stack: Micrometer spans and OpenTelemetry-compatible metrics for server interaction and OAuth 2.0 and API-key security via the spring-ai-community/mcp-security project.

Conclusion

Spring AI 2.0 has been made possible thanks to the amazing work of the Spring AI team and community. It provides a significantly improved developer experience for creating AI applications with Spring Boot 4, and opens the path to upcoming ambitious new features we will share in the upcoming months. We hope you will like it!

Try it on start.spring.io or by upgrading your applications, and feel free to provide feedback on what you like, and what you hope in our future releases.

Cheers!