Skip to content

chore(deps)(deps): bump org.springframework.ai:spring-ai-bom from 2.0.0-M4 to 2.0.0-M6 in the spring group across 1 directory#113

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/spring-2b83e38118
Open

chore(deps)(deps): bump org.springframework.ai:spring-ai-bom from 2.0.0-M4 to 2.0.0-M6 in the spring group across 1 directory#113
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/spring-2b83e38118

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps the spring group with 1 update in the / directory: org.springframework.ai:spring-ai-bom.

Updates org.springframework.ai:spring-ai-bom from 2.0.0-M4 to 2.0.0-M6

Release notes

Sourced from org.springframework.ai:spring-ai-bom's releases.

Spring AI 2.0.0-M6 Release Notes

🎯 Highlights

This release includes 7 new features, 18 bug fixes, 5 documentation improvements, 30 other improvements.

⏪ Breaking Changes

  • PromptChatMemoryAdvisor has been removed. Chat memory advisors now require an explicit conversation ID to be provided, improving predictability and eliminating ambiguous implicit state management. Applications using PromptChatMemoryAdvisor or relying on implicit conversation IDs must be updated. c3c7c86, 59ab752
  • The class OpenAiConnectionProperties has been renamed to OpenAiCommonProperties to better reflect its purpose as shared configuration across OpenAI integrations. 01400e2
  • OpenAI properties classes (e.g., OpenAiChatProperties, OpenAiEmbeddingProperties) no longer extend AbstractOpenAiOptions. This changes the class hierarchy and may affect code that relied on the options being available directly on properties classes. 7b2b436
  • Setter methods have been removed from OpenAI options classes in favor of the builder pattern. Code that called setters directly on options (e.g., OpenAiChatOptions) will need to be updated to use the builder API. f119b2f
  • The @​NestedConfigurationProperty annotations have been removed from OpenAI options fields. This may affect IDE auto-completion and Spring Boot configuration metadata for nested OpenAI properties. 5f82cdd
  • The SAP HANA DB vector store module has been removed from Spring AI. Users relying on this integration must migrate to an alternative vector store provider. 35b659e
  • The Infinispan vector store module has been removed from Spring AI. Users relying on this integration must migrate to an alternative vector store provider. 195d418
  • Mutable setter methods have been removed from Mistral AI options classes. Configuration must now be done through constructors or builders, enforcing immutability. 06015b7
  • Mutable setter methods have been removed from MiniMax GenAI options classes. Configuration must now be done through constructors or builders, enforcing immutability. 222bc7d
  • Mutable setter methods have been removed from Google GenAI options classes. Configuration must now be done through constructors or builders, enforcing immutability. 047f9a8
  • Mutable setter methods have been removed from ElevenLabs options classes. Configuration must now be done through constructors or builders, enforcing immutability. 304fe1b
  • Mutable setter methods have been removed from Bedrock options classes. Users must now use the immutable builder pattern or constructor-based initialization for Bedrock model options. 2b0b45b
  • Mutable setter methods have been removed from DeepSeek options classes. Users must now use the immutable builder pattern or constructor-based initialization for DeepSeek model options. a4e99c5
  • Anthropic configuration properties have been refactored and mutable setter methods removed from Anthropic options classes. Users must update to use the new property structure and immutable builder patterns. 556b5f2
  • Several utility methods have been removed from the ModelOptionsUtils class. Users relying on these methods need to update their code to use alternative approaches. #5941
  • Unnecessary Jackson annotations have been removed from OpenAiChatOptions. This may affect custom serialization/deserialization if users relied on these annotations. 6ed5928
  • Setter methods have been removed from OllamaChatOptions as part of an API cleanup. Users must now configure options using the builder pattern instead of calling setters directly. #5923

⚠️ Upgrading Notes

  • PromptChatMemoryAdvisor has been removed. Replace usages with the appropriate alternative chat memory advisor implementation and ensure all chat memory advisors are configured with an explicit conversation ID rather than relying on implicit identification. c3c7c86, 59ab752
  • OpenAiConnectionProperties is now OpenAiCommonProperties. OpenAi*Properties classes no longer extend AbstractOpenAiOptions — options are now configured separately. Setters have been removed; use the builder pattern instead (e.g., OpenAiChatOptions.builder()...build()). Review upgrade-notes.adoc for detailed migration guidance. 52c952e
  • If you use Tanzu bindings, the TanzuBindingsPropertiesProcessor has been upgraded to work with the new OpenAI configuration properties structure. Ensure your Tanzu bindings configuration is updated accordingly. d27f6fd
  • If you were using setter methods on PostgresMlEmbeddingOptions, StabilityAiImageOptions, or calling options.setInternalToolExecutionEnabled() / options.setOutputSchema() on ChatOptions, you must migrate to the builder pattern. Use the respective builder class (e.g., PostgresMlEmbeddingOptions.builder().build()) to construct options immutably. a0ad1c7, 741a6cc, #5957
  • If using the SAP HANA DB or Infinispan vector store integrations, you must migrate to an alternative supported vector store (e.g., pgvector, Redis, Chroma, Pinecone, etc.). Remove the corresponding starter dependencies from your build configuration. 35b659e
  • Setter methods have been removed from Mistral AI, MiniMax GenAI, Google GenAI, and ElevenLabs options classes. Update your code to use the builder pattern or constructor-based configuration instead of calling setter methods directly. 06015b7
  • With setters removed from Bedrock, DeepSeek, and Anthropic options classes, users must migrate to the builder pattern. Replace calls like options.setTemperature(0.7) with the equivalent builder method: Options.builder().temperature(0.7).build(). Review Anthropic property names as they have been refactored. 2b0b45b
  • If your application directly calls any of the removed ModelOptionsUtils methods, you will need to update your code. Review the PR for details on which methods were removed and what alternatives are available. #5941
  • With setters removed from OllamaChatOptions, users must update their code to use the builder API. Replace any direct setter calls (e.g., options.setModel(...)) with the equivalent builder methods (e.g., OllamaChatOptions.builder().model(...).build()). #5923
  • If you were previously using string values for OpenAiEmbeddingOptions#encodingFormat, update your code to use the new enum type. This provides compile-time safety and ensures only valid encoding formats are used. de1824f

⭐ New Features

  • Enhanced observability support for chat models, providing better monitoring and tracing capabilities for AI model interactions. c3bdbb0
  • OpenAI options classes now use an improved builder pattern, providing a cleaner and more consistent API for constructing option objects programmatically. 5568c7b
  • Enhanced observability for tool/function calling, providing better monitoring and tracing capabilities when AI models invoke tools. #5927
  • A new default buildRequestPrompt method has been added to the ChatModel interface, removing the need for duplicate implementations across individual model providers. This also adds the missing GoogleGenAiChatOptions.responseMimeType mutation and improves ChatOptions handling for vendor-specific requirements. #5841
  • OpenAiEmbeddingOptions#encodingFormat has been refined to use an enum type instead of a plain string, providing better type safety and IDE support when configuring embedding encoding formats. The OpenAI SDK default for encoding format is now preserved. de1824f
  • The OpenAI embedding encoding format option has been restored, ensuring users can once again configure this parameter when working with OpenAI embedding models. 984e8b6
  • An MCP (Model Context Protocol) integration test tool with date functionality has been enabled, improving test coverage for MCP-based workflows. #5843

🪲 Bug Fixes

  • Fixed a bug in MilvusVectorStore where string IDs were not properly escaped during deletion operations, which could cause failures when deleting vectors with special characters in their IDs. 0146f25
  • Resolved an issue where calling getOutputSchema() on OllamaChatOptions would throw an unexpected exception, restoring correct structured output schema retrieval behavior. #5976
  • Fixed incorrect tool options handling when merging ToolCallingChatOptions into OpenAiChatOptions, ensuring tool configurations are correctly propagated during option merging. bb5d2f0
  • Fixed the MistralAiChatModelIT#chatClientEntityWithStructuredOutput integration test to ensure reliable validation of structured output functionality with the Mistral AI provider. 0cf8f99

... (truncated)

Commits
  • 3177028 Release version 2.0.0-M6
  • f040fc6 Fix anthora formatting issue
  • 0146f25 Fix MilvusVectorStore doDelete idList string esacping
  • 0cf8f99 Fix MistralAiChatModelIT#chatClientEntityWithStructuredOutput
  • a9f5966 Fix OllamaChatModelIT#chatClientEntityWithStructuredOutput
  • 11c52d3 Fix broken IT
  • c3c7c86 Remove PromptChatMemoryAdvisor and fix NullAway violations
  • 59ab752 Require explicit conversation ID in chat memory advisors
  • 6715a6e OllamaChatOptions getOutputSchema() throws exception
  • c3bdbb0 Improve chat model observations (#5962)
  • Additional commits viewable in compare view

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 4, 2026

Labels

The following labels could not be found: area:backend, type:dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps the spring group with 1 update in the / directory: [org.springframework.ai:spring-ai-bom](https://github.com/spring-projects/spring-ai).


Updates `org.springframework.ai:spring-ai-bom` from 2.0.0-M4 to 2.0.0-M6
- [Release notes](https://github.com/spring-projects/spring-ai/releases)
- [Commits](spring-projects/spring-ai@v2.0.0-M4...v2.0.0-M6)

---
updated-dependencies:
- dependency-name: org.springframework.ai:spring-ai-bom
  dependency-version: 2.0.0-M5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: spring
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps)(deps): bump org.springframework.ai:spring-ai-bom from 2.0.0-M4 to 2.0.0-M5 in the spring group chore(deps)(deps): bump org.springframework.ai:spring-ai-bom from 2.0.0-M4 to 2.0.0-M6 in the spring group across 1 directory May 11, 2026
@dependabot dependabot Bot force-pushed the dependabot/maven/spring-2b83e38118 branch from 1e9dda5 to 8f37cd5 Compare May 11, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants