Spring AI 1.0.7, 1.1.6, 2.0.0-M6 Available Now
TL;DR · AI Summary
Spring AI releases 1.0.7, 1.1.6, and 2.0.0-M6 with 143 improvements, security fixes, and documentation updates—key changes include deprecating legacy APIs, removing vector store modules, and enhancing null safety.
Key Takeaways
- Both 1.0.7 and 1.1.6 deprecate PromptChatMemoryAdvisor; explicit conversation ID
- 2.0.0-M6 removes vector store integrations for SAP HANA DB and Infinispan—users
- This release includes 53 dependency upgrades and fixes for CVE-2026-41705, CVE-2
Outline
Jump quickly between sections.
Three versions of Spring AI released simultaneously, totaling 143 improvements, security fixes, and documentation updates across all streams.
Both 1.0.7 and 1.1.6 deprecate the old PromptChatMemoryAdvisor, requiring explicit conversation IDs to ensure proper context isolation.
Adds null-safety annotations using JSpecify, refactors AssistantMessage builder, and removes two unsupported vector store integrations.
Fixes three critical CVEs (CVE-2026-41705, CVE-2026-41712, CVE-2026-41713) via 53 dependency upgrades—recommended to upgrade immediately.
Applications using deprecated APIs or removed modules should migrate per release notes to prevent runtime failures.
Mindmap
See how the topics connect at a glance.
查看大纲文本(无障碍 / 无 JS 友好)
- Spring AI 新版本发布
- 版本范围
- 1.0.7
- 1.1.6
- 2.0.0-M6
- 主要改进
- 143 项修复与优化
- 53 个依赖升级
- 3 个 CVE 安全补丁
- 关键变更
- 弃用 PromptChatMemoryAdvisor
- 移除向量存储模块
- 重构构建器模式
Highlights
Key sentences worth saving and sharing.
1.0.7 and 1.1.6 deprecate PromptChatMemoryAdvisor — explicit conversation IDs are now required to prevent memory scoping errors.
2.0.0-M6 removes vector store support for SAP HANA DB and Infinispan — users must migrate to supported alternatives.
This release fixes 53 dependencies and three critical CVEs including CVE-2026-41705 — immediate upgrade recommended.
On behalf of the Spring AI engineering team and everyone who has contributed, I'm happy to announce that Spring AI 1.0.7, 1.1.6, 2.0.0-M6 have been released and are now available from Maven Central.
These releases deliver important improvements, stability enhancements, and bug fixes across multiple release streams.
Release Summary
These releases include a combined total of 143 improvements, bug fixes, and documentation updates. See individual release notes: 1.0.7 | 1.1.6 | 2.0.0-M6
In addition, the releases contain security fixes for CVE-2026-41705, CVE-2026-41712 and CVE-2026-41713.
The focus of these releases includes:
- Improvements: 42 enhancements across all releases
- Stability: 13 bug fixes addressing community-reported issues
- Documentation: 35 improvements to help developers
- Security: 53 dependency upgrades for enhanced security
Thanks to all those who have contributed with issue reports and pull requests.
Version-Specific Highlights
Spring AI 1.0.7
Overview:
PromptChatMemoryAdvisorhas been deprecated. Users should migrate to the updated chat memory advisor APIs that require explicit conversation IDs.
⚠️ Breaking Changes:
- Chat memory advisors now require an explicit conversation ID to be supplied. Previously, a default or implicit ID may have been used, which could cause incorrect memory scoping across conversations. Callers must now provide a conversation ID explicitly.
Spring AI 1.1.6
Overview:
- PromptChatMemoryAdvisor has been deprecated. Users should migrate to the updated chat memory advisor API that requires an explicit conversation ID. This deprecation is part of a broader effort to improve conversation context management. 917f62e
⚠️ Breaking Changes:
- Chat memory advisors now require an explicit conversation ID to be supplied. This is a behavioral change that affects how chat memory is scoped and managed. Applications relying on implicit conversation IDs must be updated to supply an explicit ID.
Spring AI 2.0.0-M6
Overview:
- Deprecated properties have been added to OpenAiChatProperties to maintain backward compatibility with the previous AbstractOpenAiOptions extension. Users should migrate to the new configuration approach. f271fdc
- Setter methods have been removed from PostgresML embedding options and Stability AI image options classes, as well as from common ChatOptions (internalToolExecutionEnabled, outputSchema). These options should now be configured through the builder pattern or constructors. Affected: PostgresMlEmbeddingOptions, StabilityAiImageOptions, and common ChatOptions. a0ad1c7, 741a6cc, #5957
- Two vector store integrations (SAP HANA DB and Infinispan) have been removed from the Spring AI project. Users of these modules should plan migration to supported vector store alternatives. 35b659e
- Continued polish of null-safety annotations across the codebase using the JSpecify standard, improving IDE support and static analysis for nullability. 65f9c67
- The AssistantMessage builder has been refactored to properly support inheritance, enabling subclasses to extend the builder fluently. 2622d03
- OpenAI Java SDK is updated to
4.34.0 - Anthropic Java SDK is updated to
2.30.0
⚠️ Breaking Changes:
- PromptChatMemoryAdvisor has been removed. Chat memory advisors now require an explicit conversation ID to be provided, improving predictability and eliminating ambiguous implicit state management. Applications using PromptChatMemoryAdvisor or relying on implicit conversation IDs must be updated. c3c7c86,
- The class OpenAiConnectionProperties has been renamed to OpenAiCommonProperties to better reflect its purpose as shared configuration across OpenAI integrations.
- OpenAI properties classes (e.g., OpenAiChatProperties, OpenAiEmbeddingProperties) no longer extend AbstractOpenAiOptions. This changes the class hierarchy and may affect code that relied on the options being available directly on properties classes.
Key Improvements:
- Enhanced functionality with 18 improvements
- Documentation updates with 30 improvements
- Updated dependencies for better security and performance
🙏 Contributors
Thanks to all contributors who made these releases possible:
- Arpan Chakraborty (@ArpanC6)
- chabinhwang (@chabinhwang)
- Eddú Meléndez (@eddumelendez)
- Emile Plas (@emileplas)
- Eric Bottard (@ericbottard)
- Ilayaperumal Gopinathan (@ilayaperumalg)
- Daniel Garnier-Moiroux (@Kehrlann)
- KoreaNirsa (@KoreaNirsa)
- Nicolas Krier (@nicolaskrier)
- Sébastien Deleuze (@sdeleuze)
- Soby Chacko (@sobychacko)
- Thomas Vitale (@ThomasVitale)
- Christian Tzolov (@tzolov)
- Yaner (@yaner-here)
What's Next
The Spring AI team continues to focus on improving AI application development with Spring Boot. Based on the momentum from these releases, upcoming versions will build on these foundations with enhanced capabilities and developer experience improvements.
For the latest updates and to contribute to the project, visit our GitHub repository or join the discussion in our community channels.
Resources
Project Page | GitHub | Issues | Stack Overflow
Documentation:1.0.7 Docs | 1.1.6 Docs | 2.0.0-M6 Docs