Spring AI 2.0.1 Available Now Note
Spring

Spring AI 2.0.1 Available Now

Spring AI 2.0.1 has been released, a maintenance update building upon the 2.0.0 GA release. This significant update addresses over eighty issues and incorporates frequently requested features since the general availability. The release includes fixes for several critical security vulnerabilities, such as unbounded recursion and arbitrary file writes. Before upgrading, users should be aware of minor changes including the retirement of deprecated Mistral AI models and a rename of the Redis chat memory auto-configuration module. OpenAI tool-calling strict mode now defaults to false, and media builders now use typed data overloads for clarity. The DeepSeekApi has been revised to align with other API client conventions, and the Couchbase vector store now utilizes the Spring Boot-managed Couchbase client. New capabilities in this release include configurable tool call limits per request to prevent infinite agentic loops and an exception for exceeding these limits. OpenAI audio functionality now supports streaming and includes enriched options for transcription. Google GenAI gains ToolChoice support and image generation capabilities, while the PagePdfDocumentReader allows ingestion of specific page ranges. The AWS region resolution now adheres to default SDK rules, improving consistency with other AWS stack components. Significant reliability improvements have been made to streaming and tool calling, including better handling of deltas and cancellation. Chat memory and vector stores have also seen various bug fixes and hardening for improved stability and functionality across different integrations.