Spring AI 1.1.1 Release Notes
🎯 Highlights
This release includes 13 new features, 16 bug fixes, 3 documentation improvements, 11 other improvements.
⭐ New Features
- Added native integration with the official OpenAI Java SDK, providing improved type safety and API coverage for OpenAI model interactions. e56b344
- ChatClient now supports native structured output, enabling more reliable and type-safe extraction of structured data from model responses. 3c3c3eb
- Integrated Claude Skills API with support for the Files API, enabling file-based interactions and enhanced Claude model capabilities. b7a36bb
- Backported Skills API support fixes to the 1.1.x maintenance branch for improved stability and consistency across versions. a1f32d1
- Added support for ISNULL and ISNOTNULL filter expressions in vector store queries, enabling null value checks in filter operations. 8e9ad36
- Introduced ThinkingLevel configuration support in ThinkingConfig to provide more control over reasoning and thinking processes. 7e6da6e
- Enhanced Vertex Gemini integration to include safety ratings in response metadata, providing visibility into content safety assessments. f4eb375
- The ToolCallAdvisor now supports extensibility through hook methods, allowing developers to customize tool call behavior in their applications 2c8c4e7
- GemFire Vector Store now supports username and password authentication for secure connections 21db782
- Added support for thought signatures in Google GenAI's Gemini 3 Pro model when using function calling capabilities 9bdf182
- Added support for the latest Claude 4.5 models including Opus and Haiku variants with updated documentation 2c7b10e
- Added prompt_tokens_details support and updated default chat options for ZhipuAI integration tests a66e243
- Introduces a new Spring Boot starter that provides auto-configuration for using Azure Cosmos DB as a chat memory repository, simplifying the setup for persisting conversation history in Spring AI applications. ef8f413
🪲 Bug Fixes
- Enhanced error handling for JSON parsing failures in MethodToolCallback, providing better diagnostics and recovery. d4f22ce
- Fixed tool execution exception handling in MethodToolCallback for improved error reporting and stability. b0a97c7
- Changed toolCallingManager visibility to protected, enabling proper extensibility for custom implementations. 4585acd
- Corrected TokenTextSplitter behavior when handling punctuation marks to ensure proper text segmentation. 8cc4ea4
- Resolved issue where the extraBody parameter was not being properly included in OpenAI API requests, ensuring custom request bodies are sent correctly. 0646d1e
- Fixed MariaDBSchemaValidator to correctly handle escaped spaces and eliminate misleading error messages during schema validation. f0268c0
- Resolved GraalVM native image compilation issues when using Java 22, improving compatibility and build success. 2cb1daa
- Fixed missing auto-configuration for OCI GenAI Inference client to ensure proper initialization 808dd7e
- Resolved missing auto-configuration classes to ensure all components are properly registered 3cc3a79
- Corrected issue where OpenAI gpt-oss models running on Amazon Bedrock returned null responses 88e03cd
- OpenSearch vector store now omits explicit IDs when manageDocumentIds=false, improving AWS Serverless compatibility with additional unit and integration tests 3618524
- Resolved issues in OpenSearch vector store integration tests 0f0f33e
- MCP client auto-configuration now supports optional handlers registry configuration #4920
- ClientMcp handlers registry now properly handles beans with unresolvable types #4918
- Fixed MongoDB vector store index creation to work across different Spring Data MongoDB versions 0821f48
- Enhanced retry logic for Oracle Vector Store integration test container startup 9950cf7
📓 Documentation
- Updated broken documentation link for Redis search queries to point to current documentation 1fa0e07
- Corrected typo in code comments for DefaultChatClientUtils a56380b
- Corrected documentation typo for HNSW (Hierarchical Navigable Small World) algorithm f476626
🔨 Dependency Upgrades
- Updated Apache Commons Lang to 3.18.0 to address CVE (Uncontrolled Recursion vulnerability). af6496a
- Updated Apache Commons Compress to 1.28.0 to fix CVEs (Infinite Loop and Resource Allocation vulnerabilities). 82424f8
- Updated Spring Boot dependency to version 3.5.8, bringing latest bug fixes and improvements from the Spring Boot framework. 2c854d3
- Updated io.swagger.core.v3:swagger-annotations from 2.2.30 to 2.2.38 1119293
- Updated MCP library dependencies to latest versions 5fcc557
🔩 Build Updates
- Cleaned up obsolete CI workflow configuration to streamline build and deployment processes. e08a614
- Updated Kotlin compiler version to ensure compatibility with JDK 25, enabling builds on the latest Java development kit. 62b3290
- Updated copyright information in test files to reflect current year and authorship. a7e3752
- Updated CI workflow configuration for the 1.1.x branch 0d89fb9
- Updated project version to 1.1.1-SNAPSHOT for ongoing development. 9970432
🔐 Security
- Applied security patches by upgrading commons-lang3 to 3.18.0 (CVE: Uncontrolled Recursion) and commons-compress to 1.28.0 (CVEs: Infinite Loop, Resource Allocation). af6496a
🙏 Contributors
Thanks to all the community contributors who made this release possible:
- academey (@academey)
- Andy (@andy1199)
- Christian Tzolov (@tzolov)
- CorgiBoyG (@CorgiBoyG)
- Daniel Garnier-Moiroux (@Kehrlann)
- David Frizelle (@dafriz)
- ddobrin (@ddobrin)
- Eric Bottard (@ericbottard)
- Ilayaperumal Gopinathan (@ilayaperumalg)
- Jason Huynh (@jhuynh1)
- jonghoon park (@dev-jonghoonpark)
- Julien Dubois (@jdubois)
- lance (@leehaut)
- Mark Pollack (@markpollack)
- MohammadAli Jalalkamali (@parazit-IR)
- Nils Breunese (@nbreunese)
- Sandra Ahlgrimm (@SandraAhlgrimm)
- sanghun (@lsh1215)
- shaojie (@JGoP-L)
- Soby Chacko (@sobychacko)
- YunKui Lu (@YunKuiLu)
- Yuriy Bezsonov (@ybezsonov)
- wilocu (@wilocu)