Add ai-21-migration module: upgrading Spring AI 2.0.x to 2.1.0, measured. One probe source tree run on 2.0.0, 2.0.2, 2.0.3 and 2.1.0 (Anthropic prompt tokens with caching, auth header, discarded temperature, thinking parts, message mutability, entity() on refusals), three compile breaks, API and configuration diffs from the jars, ChatMemory to session copy, a wrapping ToolCallingManager under tool confirmation, the OpenAI Responses switch, VectorStore.upsert on real pgvector, a grep checklist and an OpenRewrite recipe. Scripted and local fake models; no provider called. Spring Boot 4.2.0, Spring AI 2.1.0, Java 25.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Claude
2026-12-03 09:46:46 +05:30
parent 8f69e7bf50
commit c8fa0912f7
71 changed files with 1990 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# spring-ai-bom: managed artifacts
2.0.0: 161
2.0.3: 167
2.1.0: 181
in 2.0.3 but not 2.1.0:
new in 2.1.0 compared with 2.0.3:
spring-ai-autoconfigure-model-decision-observation
spring-ai-autoconfigure-model-session
spring-ai-autoconfigure-model-session-jdbc
spring-ai-autoconfigure-model-systemone
spring-ai-google-genai-transcription
spring-ai-google-genai-tts
spring-ai-session
spring-ai-session-advisor
spring-ai-session-jdbc
spring-ai-starter-model-google-genai-transcription
spring-ai-starter-model-google-genai-tts
spring-ai-starter-model-session-jdbc
spring-ai-starter-model-systemone
spring-ai-systemone
# versions in the root pom.xml of each release tag
property 2.0.0 2.0.3 2.1.0
spring-boot.version 4.1.0 4.1.3 4.2.0
anthropic-sdk.version 2.40.1 2.75.0 3.8.0
openai-sdk.version 4.39.1 4.101.0 4.101.0
com.google.genai.version 1.58.0 1.65.0 1.73.0
mcp.sdk.version 2.0.0 2.1.0 2.2.0
awssdk.version 2.41.22 2.55.14 2.55.14
kotlin.version 2.3.20 2.3.20 2.4.21
java.version 17 17 17