Skip to content

Comments

Bump org.springframework.ai:spring-ai-bom from 2.0.0-M1 to 2.0.0-M2#121

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/org.springframework.ai-spring-ai-bom-2.0.0-M2
Open

Bump org.springframework.ai:spring-ai-bom from 2.0.0-M1 to 2.0.0-M2#121
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/org.springframework.ai-spring-ai-bom-2.0.0-M2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 4, 2026

Bumps org.springframework.ai:spring-ai-bom from 2.0.0-M1 to 2.0.0-M2.

Release notes

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

Spring AI 2.0.0-M2 Release Notes

🎯 Highlights

This release includes 20 new features, 20 bug fixes, 16 documentation improvements, 38 other improvements.

⏪ Breaking Changes

  • The Anthropic Skills API has been unified and helper classes have been renamed, which may require code changes if you're using the Anthropic integration directly #5299
  • The SemanticCache interface has been relocated from the Redis-specific package to a more generic package location, which may require import statement updates for applications directly using this interface. #5284
  • The Couchbase vector store classes have been relocated to a new dedicated package structure. Applications using Couchbase vector store will need to update their import statements. #5233

⚠️ Upgrading Notes

  • If you are using the Anthropic Skills API directly, review your code for the renamed helper classes and update accordingly #5299
  • If you are using the Couchbase vector store, update your import statements to reference the new dedicated package location. #5233

⭐ New Features

  • Ollama embedding models now support configuring the dimensions parameter, allowing control over the size of generated embeddings 4bd83ba
  • JSON schema can now be customized, providing more flexibility for structured output generation 3119086
  • Default API endpoint paths are now configured for OpenAI's content moderation API, simplifying integration setup #5300
  • Default API endpoint paths are now configured for OpenAI's audio API (speech and transcription), making it easier to use audio capabilities f7eeaf9
  • Added support for using Amazon S3 as a vector store backend for storing and retrieving embeddings cd86d38
  • Integrated Infinispan as a new vector store option, providing distributed in-memory data grid capabilities for embedding storage 9b105b8
  • Added support for Amazon Bedrock Knowledge Base as a vector store, enabling integration with AWS's managed knowledge base service 21c3834
  • Enhanced the Redis semantic cache module with improved functionality and performance 7233e8d
  • Made the content field name configurable in QdrantVectorStore, allowing customization of the field used to store document content f65756e
  • Added a convenience method to the Prompt class for easily retrieving system messages 8a79390
  • Added native support for structured outputs using JSON schema validation in the Mistral AI chat model, enabling type-safe responses with automatic schema enforcement. 8757c5b
  • OpenAI moderation, audio speech, and audio transcription API paths are now configurable, allowing customization for proxy setups or alternative OpenAI-compatible endpoints. 1d38aec
  • Migrated to use Spring Boot 4's native MongoDB Atlas container support for improved testing and development experience. 5b39fbb
  • Introduced Mcp*ServerCustomizer interfaces to allow customization of MCP server configurations #5261
  • Added new Redis-based semantic cache advisor implementation, enabling intelligent caching of semantically similar queries to improve performance and reduce API calls 391cbbb
  • OllamaChatOptions now implements StructuredOutputChatOptions with corresponding methods, unit tests, and integration tests. Enhanced JSON format handling for Ollama chat options 163df2e
  • Improved model provider detection logic for Microsoft Foundry integration, providing better model identification and configuration support 5c18a40
  • Add support for dynamic tool schema enhancement, allowing runtime modification of tool argument definitions for more flexible function calling 3c4b6dc
  • Add conversationHistoryEnabled option to ToolCallAdvisor, providing finer control over whether conversation history is included in tool call contexts 5ad8485
  • Add JSpecify annotations to commons module for improved null-safety analysis and compile-time verification #5101

🪲 Bug Fixes

  • Resolved an issue where ToolCallAdvisor would not preserve system messages when memory functionality was disabled 1dac9d0
  • Fixed incorrect observation provider usage in the Google GenAI embedding model implementation #5227
  • Corrected conditional logic in Infinispan AutoConfiguration to ensure proper bean creation #5295
  • Resolved issues in the MistralAiChatModelIT.chatClientEntityWithStructuredOutput integration test to ensure proper validation of structured output functionality. cf2212b
  • Corrected code style violations in the spring-ai-redis-semantic-cache module to maintain code quality standards. 0108011
  • Fixed MCP auto-configuration to work properly in non-web application contexts #5261
  • Improved exception handling in the ChromaApi for better error reporting e291712
  • Fixed failing Ollama integration tests by modifying tool descriptions to better guide the model in providing geographical coordinates 864487f
  • Enhanced JdbcChatMemoryRepositorySchemaInitializer for improved database schema setup d202db1
  • Corrected string parsing issues in the grammar implementation 8ecc334
  • Corrected invalid Filter.Expression constructor usage in documentation examples #5243
  • Resolved checkstyle violations in Redis auto-configuration code to maintain code quality standards 07ccd2c
  • Resolved token count inconsistencies in Ollama integration tests that occurred with varying model versions c2dfedb

... (truncated)

Commits
  • 88cb2ea Spring AI BOM updates
  • 3e299e4 Fix maven deployment metadata for the new modules
  • 77b2262 Fix javadoc upload workflow to use the aggregate:jar approach
  • 2bc79b6 Release version 2.0.0-M2
  • d81e47d Upgrade MCP SDK to 0.17.2
  • 9fa0b8a Unify Anthropic Skills API and rename helper class (#5299)
  • 1dac9d0 Fix ToolCallAdvisor to preserve system message when memory disabled
  • f7eeaf9 Add default paths for OpenAI audio API endpoints
  • 4bd83ba feat(spring-ai-ollama): Add the dimensions parameter for the Ollama Embedding...
  • 0c60e78 fix: use correct observation provider for Google Gen AI emb model (#5227)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.springframework.ai:spring-ai-bom](https://github.com/spring-projects/spring-ai) from 2.0.0-M1 to 2.0.0-M2.
- [Release notes](https://github.com/spring-projects/spring-ai/releases)
- [Commits](spring-projects/spring-ai@v2.0.0-M1...v2.0.0-M2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants