github spring-projects/spring-ai v1.0.4
Spring AI 1.0.4

latest releases: v2.0.0-M3, v1.1.3
4 hours ago

Spring AI 1.0.4 Release Notes

🎯 Highlights

This release includes 1 new features, 9 bug fixes, 1 documentation improvements, 11 other improvements.

📢 Noteworthy

  • The default model for Anthropic chat has been updated to claude-haiku-4-5 as part of the Claude 4.6 model additions and deprecation cleanup. 86ad1f5

⏪ Breaking Changes

  • Deprecated Claude 3.x and 3.7 model variants have been removed from AnthropicApi.ChatModel enum. The default model has been changed to claude-haiku-4-5. 86ad1f5

⚠️ Upgrading Notes

  • If you are using deprecated Claude 3.x or 3.7 model variants, update your code to use Claude 4.x models (claude-haiku-4-5, claude-opus-4-6, or claude-sonnet-4-6). The default model is now claude-haiku-4-5. 86ad1f5

⭐ New Features

  • Added CLAUDE_OPUS_4_6 and CLAUDE_SONNET_4_6 to AnthropicApi.ChatModel enum, providing access to the latest Claude 4.6 models from Anthropic. 86ad1f5

🪲 Bug Fixes

  • Fixed and enhanced FilterExpressionConverter for vector stores to improve filter expression handling. a2f6f4c
  • Corrected string parsing logic in FilterExpressionTextParser to properly handle filter expressions. f6204b5
  • Updated AzureOpenAiImage tests to use the latest image model, replacing the disabled model variant. ccd79fb
  • Fixed AnthropicChatModelObservationIT and updated integration tests to handle tool call parameters for latest models and replace deprecated model references. 43797b6
  • Resolved issues with streaming responses in Azure OpenAI chat model integration 356ae8f
  • Corrected message ordering issues when using MySQL or MariaDB as the backend for JDBC-based chat memory storage 393d9fa
  • Fixed handling of responses that contain both text content and tool calls in Vertex AI Gemini chat model 9cbc192
  • Corrected PDF document reader to properly respect the pagesPerDocument configuration when splitting documents 4c87187
  • Resolved property access syntax issues in StringTemplate rendering 4b2ab39

📓 Documentation

  • Updated documentation to reflect that Spring Boot 3.5 has been released and is now available 18bf28c

🔨 Dependency Upgrades

  • Updated Spring Boot dependency to version 3.5.11. 11716e7
  • Updated dependencies for vector store integrations to latest versions. 2708445
  • Updated GemFire vectorstore Docker image used in integration tests. 3722b9f
  • Migrated from deprecated Claude Sonnet 3.5 models (retired October 28th, 2025) to Claude Sonnet 3.7 for integration tests be4aa53
  • Updated Spring Boot dependency to version 3.5.6 adbdd72

🔩 Build Updates

  • Improved Ollama integration test stability to handle token count variations across different model versions c8dad8a
  • Updated Anthropic integration tests to use currently active model versions 65402b0
  • Enhanced test container startup reliability for Oracle Vector Store integration tests 425ee84
  • Cleaned up unused internal classes to reduce codebase complexity 9d3d7e1

🙏 Contributors

Thanks to all contributors who made this release possible:

Don't miss a new spring-ai release

NewReleases is sending notifications on new releases.