Repository navigation
chore(deps): upgrade to Spring Boot 4.2.0 and Spring AI 2.1.0 - #286
Merged
epugh merged 1 commit intoNov 24, 2026
Merged
Conversation
adityamparikh
force-pushed
the
chore/spring-boot-4.2-spring-ai-2.1
branch
2 times, most recently
from
November 14, 2026 15:26
4d05a67 to
3e0b525
Compare
adityamparikh
marked this pull request as draft
November 16, 2026 21:04
adityamparikh
pushed a commit
to adityamparikh/solr-mcp
that referenced
this pull request
Nov 20, 2026
adityamparikh
force-pushed
the
chore/spring-boot-4.2-spring-ai-2.1
branch
from
November 20, 2026 23:03
ad5d357 to
c604387
Compare
adityamparikh
marked this pull request as ready for review
November 20, 2026 23:07
- Spring Boot 4.1.1 -> 4.2.0, Spring AI 2.0.1 -> 2.1.0. - Drop the mcp-bom 2.0.1 pin. Spring AI 2.1.0 depends on MCP SDK 2.2.0 itself, and the pin, declared ahead of spring-ai-bom, would have held the SDK back at 2.0.1 under "first declaration wins". - opentelemetry-logback-appender 2.28.1-alpha -> 2.34.0-alpha, the release built against Boot 4.2's OpenTelemetry 1.68.0. The old appender left opentelemetry-api-incubator at 1.62.0-alpha, which fails OpenTelemetrySdk creation with NoClassDefFoundError: io/opentelemetry/api/internal/ConfigUtil. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Aditya Parikh <aditya.m.parikh@gmail.com>
adityamparikh
force-pushed
the
chore/spring-boot-4.2-spring-ai-2.1
branch
from
November 20, 2026 23:24
c604387 to
d3f3e79
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Moves the build onto Spring Boot 4.2.0 and Spring AI 2.1.0.
Two follow-on changes go with the bump:
mcp-bom2.0.1 was declared ahead ofspring-ai-bomto lift the SDK past what Spring AI 2.0.1 shipped. Spring AI 2.1.0 depends on SDK 2.2.0 itself, and under the plugin's "first declaration wins" rule the old pin would have held the SDK back at 2.0.1. Without the pin,mcp,mcp-coreandmcp-json-jackson3all resolve to 2.2.0.opentelemetry-api/sdkbut notopentelemetry-api-incubator, which follows the appender. With 2.28.1-alpha the classpath mixes the new SDK with incubator 1.62.0-alpha, and every application context fails:2.34.0-alpha is built against
opentelemetry-api:1.68.0and bringsopentelemetry-api-incubator:1.68.0-alpha.dev-docs/graalvm-native-image.mdrecords the pairing and the error, andAGENTS.mdrecords the new versions.Evidence
./gradlew build→ 457 tests, 0 failures, 0 skipped,BUILD SUCCESSFUL../gradlew nativeTest -Pnative→ 301 tests successful, 0 failed,BUILD SUCCESSFUL(the 153 skipped are the Mockito-based tests marked@DisabledInNativeImage).spring-boot-4.2.0,spring-ai-mcp-2.1.0,mcp-core-2.2.0,opentelemetry-api-1.68.0,opentelemetry-api-incubator-1.68.0-alpha, andMETA-INF/sbom/application.cdx.json.Merge Danger
Door: two-way
Reverting the version catalog and the BOM import restores 4.1.1 / 2.0.1. No data or config formats change.
Blast Radius: runtime-wide
Every distribution artifact (Jib JVM image, both native images) picks up the new Boot, Spring AI and MCP SDK. The native images are exercised by
native.yml.🤖 Generated with Claude Code