You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(apps): Migrate all apps to Spring AI 2.0 and Spring Boot 4.1 (#909)
Upgrade every Maven module to Spring Boot 4.1.0 and consolidate all
Spring AI usage on the 2.0.0 GA release (previously a mix of 1.1.7,
2.0.0-M6 and 2.0.0-RC2). Fix the breaking changes surfaced by the
upgrade:
- Rename artifact spring-ai-advisors-vector-store to
spring-ai-vector-store-advisor.
- Move @mcptool from org.springaicommunity.mcp.annotation to
org.springframework.ai.mcp.annotation.
- Replace removed McpSyncClientCustomizer with the generic
McpClientCustomizer<McpClient.SyncSpec>.
- Replace removed PromptChatMemoryAdvisor with MessageChatMemoryAdvisor.
- ChatClient.Builder.defaultOptions now takes a ChatOptions.Builder
instead of a built ChatOptions; update call sites and tests.
- OllamaChatModel.Builder.defaultOptions renamed to options.
- Migrate direct Jackson databind usage to Jackson 3 (tools.jackson)
where Spring AI 2.0 no longer brings Jackson 2 transitively.
All 23 modules compile (mvn clean test-compile) and the affected unit
tests pass.
Also improve the Dependabot config: group Spring, Maven plugins, test
tooling, Kubernetes, Docker images and GitHub Actions so coordinated
upgrades arrive as single reviewable PRs instead of dozens.
Co-authored-by: Yuriy Bezsonov <bezsonov@amazon.de>
0 commit comments