Spring AI 1.0.7 Release Notes
🎯 Highlights
This release includes 5 bug fixes, 6 other improvements.
⏪ 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. be48f06
⚠️ Upgrading Notes
- If you are using
PromptChatMemoryAdvisor, migrate to the replacement advisor. All chat memory advisors now require an explicitconversationIdto be provided — update your code to pass a conversation ID when creating or invoking chat memory advisors. be48f06
🪲 Bug Fixes
- Corrected string escaping in the Milvus vector store's
doDeletemethod when handling ID lists, preventing potential query errors during deletion operations. 864ef81 - Resolved a misconfiguration of the
ObjectMapperin the MCP server, ensuring proper JSON serialization and deserialization behavior. 436c765 - Corrected auto-configuration issues affecting MCP server and Spring WebMvc server setup. A prior incorrect fix was reverted and replaced with the proper resolution. 4b21612
- Updated integration tests for
ChatClientAdvisorto supply an explicit conversation ID, aligning with the new requirement for explicit IDs in chat memory advisors. a5fb397 - Resolved a test failure in the Anthropic chat client integration test for method-invoking function callbacks. daa1b68
🔨 Dependency Upgrades
- Updated the Model Context Protocol (MCP) SDK by a significant version jump (0.10.0 → 0.18.2), incorporating many upstream improvements, new capabilities, and compatibility updates. #5958
🔩 Build Updates
- The project build now uses JDK 17.0.19, ensuring alignment with the latest LTS patch release for improved security and stability in the build environment. 1badb6f
- Spring AI starter modules have been relocated to a dedicated starters/ directory, improving the project's directory structure and organization. 36df6b9
- Project version advanced to 1.0.7-SNAPSHOT to begin the next development cycle following the 1.0.6 release. 82848f2
🙏 Contributors
Thanks to all contributors who made this release possible: