Spring AI 1.1.0-RC1 Release Notes
🎯 Highlights
This release includes 10 new features, 8 bug fixes, 10 documentation improvements, 12 other improvements.
⏪ Breaking Changes
- OpenAI TTS implementation migrated to shared TextToSpeechModel interface with standardized Double type for speed parameter instead of String 2b195b3
- Removed deprecated APIs in preparation for the 1.1.0 release. Applications using deprecated methods will need to migrate to the newer alternatives. c631340
⚠️ Upgrading Notes
- OpenAI TTS users should update to use the new shared TextToSpeechModel interface. Speed parameter now uses Double type instead of String. See TTS migration guide for detailed instructions. a8d2208
- Applications using deprecated APIs removed in 1.1.0 must migrate to the newer replacement APIs. Review your codebase for deprecation warnings from 1.0.x releases and update accordingly. c631340
⭐ New Features
- Added support for extraBody and reasoningContent in OpenAI API, enabling advanced model configuration and reasoning chain access ec717c1
- Added promptCacheKey and safetyIdentifier support for improved caching and safety management 347378a
- Automatic retry configuration for network exceptions to improve resilience in distributed environments c03a485
- Event-driven tool callback caching for Model Context Protocol integration improves performance and reduces redundant operations 5783104
- Refactored Model Context Protocol client annotation handling with unified handler registries for improved maintainability 2a2f155
- Added MongoDB repository implementation for chat memory persistence, enabling conversation history storage in MongoDB databases. 80527b2
- Added thinking mode support for Ollama reasoning models, enabling enhanced reasoning capabilities for compatible models. 0b8293e
- Added and updated tests for OpenAI reasoning_effort parameter, enhancing control over reasoning model behavior. e157775
- Enhanced BeanOutputConverter to support removing thinking tags from input text, improving structured output parsing d1aa8d4
🪲 Bug Fixes
- Fixed OllamaApiIT#streamingChat integration test 47e4232
- Resolved configuration injection issue where VertexAiEmbeddingConnectionDetails was not properly injected when using the Vertex AI embedding starter 9de3592
- Improved embedding dimension handling by implementing lazy loading for unknown dimensions and caching results for better performance a8b3982
- Corrected the configuration property prefix in OpenAI Text-to-Speech documentation 992a02f
- Resolved authentication issues with the Chroma vector database API 0abfedf
- Enhanced error logging to include exception details when tool execution fails, improving debugging capabilities c5ce4be
- Updated MCP integration tests to properly include McpServerObjectMapperAutoConfiguration 7529a21
- Improved MCP server configuration by simplifying ObjectMapper dependency injection 6d9b8e6
📓 Documentation
- Documented reasoning content support for Ollama via OpenAI compatibility mode e673935
- Added documentation for extraBody, reasoningContent, promptCacheKey, and safetyIdentifier features 347378a
- Added Text-to-Speech migration guide for 1.1.0-RC1 release a8d2208
- Added documentation for configuring Model Context Protocol (MCP) with STDIO on Windows systems e464266
- Corrected Javadoc documentation for ZhiPuAiImageApi cb6afde
- Improved advisor documentation and type usage for better clarity and consistency 266401e
- Corrected formatting issues in Pinecone vector database documentation 690f400
- Corrected the MCP Java SDK URL in documentation #4795
- Corrected example configuration for MCP server properties fb66626
- Corrected various typos throughout the documentation 6e74b00
🔨 Dependency Upgrades
- Updated AWS Bedrock Runtime and AWS SDK dependencies to version 2.36.3 #4806
⚡ Performance
- Event-driven caching mechanism for MCP tool callbacks reduces redundant operations and improves response times 5783104
🔩 Build Updates
- Introduced new fast-continuous-integration workflow with parallel build execution, replacing the legacy continuous-integration workflow for faster PR validation. 7112eeb
- Multiple improvements to the fast-continuous-integration workflow including YAML syntax fixes, scheduled trigger enablement, and parallel execution support for rapid PR merges. e928ca9
- Updated Maven build configuration to run format:apply during local development and format:check in CI pipelines fb523c8
- Enhanced test coverage for MCP server ObjectMapper auto-configuration 9b0eaf2
- Improved test structure by consolidating AutoConfiguration tests to use a centralized SpringAiTestAutoConfigurations approach 4532f64
- Temporarily disabled unstable integration test for OpenAI chat model stream web search annotations 355b883
- Corrected the description in the GitHub Actions workflow for Maven publishing bd1834d
- Prevented the spring-ai-integration-tests artifact from being published to Maven Central 531a695
🙏 Contributors
Thanks to all contributors who made this release possible:
- Alexandros Pappas (@apappascs)
- Christian Tzolov (@tzolov)
- Daniel Garnier-Moiroux (@Kehrlann)
- Eric Bottard (@ericbottard)
- guanxu (@guanxuc)
- Ilayaperumal Gopinathan (@ilayaperumalg)
- Issam El-atif (@ielatif)
- James Ward (@jamesward)
- liugddx (@liugddx)
- Mark Pollack (@markpollack)
- Martin Kamp Jensen (@mkjensen)
- Nguyen Tran (Mark) (@nguyen.trantrung)
- Philip I. Thomas (@philipithomas)
- Senrey_Song (@SenreySong)
- Thorben Janssen (@thjanssen)
- Tran Ngoc Nhan (@ngocnhan-tran1996)
- vdm24 (@vdm24)
- Viacheslav Dobrynin (@viacheslav-dobrynin)
- Wenli Tian (@jamespud)
- Yanming Zhou (@quaff)
- Łukasz Jernaś (@deejay1)