Skip to content

Releases: spring-projects/spring-ai

Spring AI 1.0.1

08 Aug 19:32
Compare
Choose a tag to compare

Spring AI 1.0.1 Release Notes

🎯 Highlights

This release includes 24 new features, 50 bug fixes, 45 documentation improvements, 32 other improvements.

📢 Noteworthy

  • Official release of Spring AI version 1.0.1 with consolidated bug fixes and documentation improvements 53ec007
  • Multiple commits were reverted related to tool context validation fixes and OpenAI chat client method invoking function callback integration tests 80ffb4c
  • Temporarily reverted the change that resolved OpenAI ApiKey for every request, indicating potential issues that required investigation 8a2706d

⭐ New Features

  • Enhanced KeywordMetadataEnricher with custom template functionality to provide more flexible metadata enrichment capabilities 2082a59
  • Added validation to check documents for text/media content when adding to vector stores #3687
  • Improved @tool annotation functionality to enhance function calling capabilities 62160d3
  • Added support for streaming tool calls without parameters in the Anthropic chat model 2099278
  • Updated and improved configuration options for Mistral chat model integration c18a241
  • Added capability to selectively rethrow exceptions in the default tool execution exception processor d1baefb
  • Refactored MessageAggregator to include support for tool calls functionality 1805ca0
  • The ChatClient#mutate method now creates copies of advisors and advisorParams instead of sharing references, improving isolation between chat client instances ccfaaf1
  • Added equals, hashCode, deep copy functionality and comprehensive tests to MiniMaxChatOptions for better object handling and comparison dc9ea17
  • Added support for new Mistral AI chat models to expand the available model providers #3523
  • Enhanced OllamaChatModel with retry template integration for improved reliability f89530c
  • Added streaming thinking events support for Anthropic model provider to enhance real-time interaction capabilities 379901b
  • Enhanced OpenAI integration with updated supported voice enumerations for text-to-speech and chat completion audio features #3411
  • Added support for dynamic API key configuration for Anthropic model provider on a per-request basis ae9284c
  • Neo4j vector store now automatically determines default embedding dimensions based on the configured model 96c45c7
  • Added Spring Framework 7.x compatibility to RetryUtils#ResponseErrorHandler to support upcoming Spring Framework versions 5ecfcce
  • Enhanced OpenAI client to resolve API key for every request, improving key rotation and configuration flexibility dd6c0a9
  • Introduced support for Anthropic's latest Claude models including claude-opus-4 and claude-sonnet-4 #3351
  • Extended OpenAI integration to support PDF files as media input a330458
  • Provided MySQL database schema for SPRING_AI_CHAT_MEMORY table to support chat memory functionality 148bf33
  • Improved handling and testing of complex metadata values in Chroma vector store integration aba837a
  • Added metadata support for vector store types to enhance data management capabilities #3325
  • Added support for configurable exception handling when executing tools, providing better error management and recovery options 3068c04
  • Added comprehensive integration tests for Chat Memory functionality with SQL Server support a6858cf

🪲 Bug Fixes

  • Resolved issue where method tool calls would throw errors when methods had the same name #2774
  • Fixed typo in frequencyPenalty property name for Google model builders 2e579b1
  • Corrected spelling of PromptTemplate in structured output API documentation image #3304
  • Resolved null pointer exception in Anthropic API streaming functionality #3755
  • Fixed issue where SystemPromptTemplate.builder() incorrectly returned PromptTemplate builder 2f91adb
  • Corrected parameter sequence in JSON schema generation functionality f20eeea
  • Resolved annotation packaging issues #3716
  • Resolved issue where audio filenames were lost when requesting OpenAI /transcriptions and /translations interfaces c0c7f3a
  • Enhanced schema initialization logic and updated deprecated code for Milvus vector store #3705
  • Added null checks, optimized string joining, and improved JavaDocs #3663
  • Corrected assertion message in SimpleApiKey implementation for better debugging #3656
  • Prevented streaming tool calling responses when internal execution is enabled for Anthropic models 5d8a930
  • Cleaned up unused configuration options from ZhiPu AI model implementation #3669
  • Added support for custom dimensions in ZhiPu AI embedding models #3668
  • Removed incorrect @nullable annotation from VectorStore similaritySearch methods #3613
  • Added validation for invalid page numbers in outline items for getTextBetweenParagraphs method 50e8615
  • Corrected issues with Ollama autoconfiguration that were preventing proper setup #3645
  • Fixed naming inconsistencies throughout the Mistral integration package #3652
  • Resolved issue where streaming tool calls without input arguments would fail in Bedrock integration d1dac6c
  • Fixed hardcoded configuration parameter to allow proper customization of topK values in Bedrock Converse Proxy #3621
  • Prevents incorrect ToolCall merging in DeepSeek model provider when tool calls have empty id and name strings ff5855d
  • Resolves test failure in ChromaVectorStoreAutoConfigurationIT due to updated exception message handling 7200580
  • Resolved exception occurring in OpenAiAudioTranscriptionResponseMetadata.toString method #3575
  • Corrected infinite recursion issue in getMimeType(Path) method b6b069c
  • Improved root exception handling in McpToolCallback to prevent unhandled errors fb1746b
  • Corrected logging behavior when creating ChromaDB collections [e0d3703](https://github.com/spring-projects/spring-...
Read more