Commit beb0ee9
spring-projectsGH-3379: Spring Boot 4.x compatibility
- Updated Spring Boot dependency to 4.0.0.RC1
- Spring Framework 7 API compatibility (see below)
- Migration to Spring Boot 4.x as per https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide :
* Adopt new modular design of starters
* Use new Jackson 3.x API
* Support Property Mapper API changes around null handling
* Migrated from Spring Retry to Spring Framework Retry functionality
- Updated Swagger codegen templates used by huggingface model to align with latest Spring Framework APIs
- Update elasticsearch test container to 9.2.0
- Added `FailureDetectingExternalResource` from old versions of `testcontainers` library to support `gemfire-testcontainers`
- Other related dependencies updates:
* TestContainers to 2.0.1
* GemFire testcontainers to 2.3.3
* opensearch-testcontainers to 4.0.0
* Rest Assured to 5.5.6
* swagger-codegen-maven-plugin to 3.0.75
Fixes spring-projectsGH-3379 (spring-projects#3379)
Includes changes by @paulbakker from spring-projects#4681
Built on-top of spring-projects#4771
- Use only Spring Framework APIs available both in 6.x and 7.x branches
- Add constructors without logic to `*Api` classes in `models` modules to simplify extensibility; effective final fields are marked as final
- Kotlin 2.x support; use kotlin compiler version 2.2.21
- Update MCP SDK to 0.15.0
- Update MCP Annotations to 0.6.0
Future tasks:
- [x] Raise issue to migrate from Spring Retry to Spring Framework 7 built-in retry functionality: spring-projects#4681
- [ ] Raise issue with `swagger-codegen-maven-plugin` to support Spring Framework 7
- [x] Raise issue with GemFire to support testcontainers 2.x: gemfire/gemfire-testcontainers#7
Signed-off-by: Dmitry Bedrin <[email protected]>1 parent 10bc0a7 commit beb0ee9
File tree
276 files changed
+2670
-1041
lines changed- auto-configurations
- common/spring-ai-autoconfigure-retry
- src
- main/java/org/springframework/ai/retry/autoconfigure
- test/java/org/springframework/ai/retry/autoconfigure
- mcp
- spring-ai-autoconfigure-mcp-client-httpclient
- spring-ai-autoconfigure-mcp-client-webflux
- spring-ai-autoconfigure-mcp-server-webflux
- src/test/java/org/springframework/ai/mcp/server/autoconfigure
- models
- chat/memory
- repository
- spring-ai-autoconfigure-model-chat-memory-repository-cassandra
- src
- main/java/org/springframework/ai/model/chat/memory/repository/cassandra/autoconfigure
- test/java/org/springframework/ai/model/chat/memory/repository/cassandra/autoconfigure
- spring-ai-autoconfigure-model-chat-memory-repository-cosmos-db
- spring-ai-autoconfigure-model-chat-memory-repository-jdbc
- src
- main/java/org/springframework/ai/model/chat/memory/repository/jdbc/autoconfigure
- test/java/org/springframework/ai/model/chat/memory/repository/jdbc/autoconfigure
- spring-ai-autoconfigure-model-chat-memory-repository-neo4j
- src
- main/java/org/springframework/ai/model/chat/memory/repository/neo4j/autoconfigure
- test/java/org/springframework/ai/model/chat/memory/repository/neo4j/autoconfigure
- spring-ai-autoconfigure-model-chat-memory
- spring-ai-autoconfigure-model-anthropic
- src
- main/java/org/springframework/ai/model/anthropic/autoconfigure
- test/java/org/springframework/ai/model/anthropic/autoconfigure
- spring-ai-autoconfigure-model-deepseek
- src
- main/java/org/springframework/ai/model/deepseek/autoconfigure
- test/java/org/springframework/ai/model/deepseek/autoconfigure
- spring-ai-autoconfigure-model-elevenlabs
- src
- main/java/org/springframework/ai/model/elevenlabs/autoconfigure
- test/java/org/springframework/ai/model/elevenlabs/autoconfigure
- spring-ai-autoconfigure-model-google-genai
- src
- main/java/org/springframework/ai/model/google/genai/autoconfigure
- chat
- embedding
- test/java/org/springframework/ai/model/google/genai/autoconfigure/chat/tool
- spring-ai-autoconfigure-model-minimax
- src
- main/java/org/springframework/ai/model/minimax/autoconfigure
- test/java/org/springframework/ai/model/minimax/autoconfigure
- spring-ai-autoconfigure-model-mistral-ai
- src
- main/java/org/springframework/ai/model/mistralai/autoconfigure
- test/java/org/springframework/ai/model/mistralai/autoconfigure
- spring-ai-autoconfigure-model-ollama
- src
- main/java/org/springframework/ai/model/ollama/autoconfigure
- test/java/org/springframework/ai/model/ollama/autoconfigure
- spring-ai-autoconfigure-model-openai
- src
- main/java/org/springframework/ai/model/openai/autoconfigure
- test/java/org/springframework/ai/model/openai/autoconfigure
- tool
- spring-ai-autoconfigure-model-postgresml-embedding
- src
- main/java/org/springframework/ai/model/postgresml/autoconfigure
- test/java/org/springframework/ai/model/postgresml/autoconfigure
- spring-ai-autoconfigure-model-stability-ai
- src/main/java/org/springframework/ai/model/stabilityai/autoconfigure
- spring-ai-autoconfigure-model-vertex-ai
- src/main/java/org/springframework/ai/model/vertexai/autoconfigure
- embedding
- gemini
- spring-ai-autoconfigure-model-zhipuai
- src
- main/java/org/springframework/ai/model/zhipuai/autoconfigure
- test/java/org/springframework/ai/model/zhipuai/autoconfigure
- vector-stores
- spring-ai-autoconfigure-vector-store-cassandra
- src
- main/java/org/springframework/ai/vectorstore/cassandra/autoconfigure
- test/java/org/springframework/ai/vectorstore/cassandra/autoconfigure
- spring-ai-autoconfigure-vector-store-chroma
- spring-ai-autoconfigure-vector-store-couchbase
- src
- main/java/org/springframework/ai/vectorstore/couchbase/autoconfigure
- test/java/org/springframework/ai/vectorstore/couchbase/autoconfigure
- spring-ai-autoconfigure-vector-store-elasticsearch
- src
- main/java/org/springframework/ai/vectorstore/elasticsearch/autoconfigure
- test/java/org/springframework/ai/vectorstore/elasticsearch/autoconfigure
- spring-ai-autoconfigure-vector-store-gemfire
- src/test/java/org/testcontainers/containers
- spring-ai-autoconfigure-vector-store-mariadb
- src
- main/java/org/springframework/ai/vectorstore/mariadb/autoconfigure
- test/java/org/springframework/ai/vectorstore/mariadb/autoconfigure
- spring-ai-autoconfigure-vector-store-milvus
- spring-ai-autoconfigure-vector-store-mongodb-atlas
- src/test/java/org/springframework/ai/vectorstore/mongodb/autoconfigure
- spring-ai-autoconfigure-vector-store-neo4j
- src
- main/java/org/springframework/ai/vectorstore/neo4j/autoconfigure
- test/java/org/springframework/ai/vectorstore/neo4j/autoconfigure
- spring-ai-autoconfigure-vector-store-opensearch
- src/test/java/org/springframework/ai/vectorstore/opensearch/autoconfigure
- spring-ai-autoconfigure-vector-store-oracle
- src
- main/java/org/springframework/ai/vectorstore/oracle/autoconfigure
- test/java/org/springframework/ai/vectorstore/oracle/autoconfigure
- spring-ai-autoconfigure-vector-store-pgvector
- src
- main/java/org/springframework/ai/vectorstore/pgvector/autoconfigure
- test/java/org/springframework/ai/vectorstore/pgvector/autoconfigure
- spring-ai-autoconfigure-vector-store-pinecone
- spring-ai-autoconfigure-vector-store-qdrant
- spring-ai-autoconfigure-vector-store-redis
- src
- main/java/org/springframework/ai/vectorstore/redis/autoconfigure
- test/java/org/springframework/ai/vectorstore/redis/autoconfigure
- spring-ai-autoconfigure-vector-store-typesense
- spring-ai-autoconfigure-vector-store-weaviate
- document-readers/pdf-reader
- memory/repository
- spring-ai-model-chat-memory-repository-cassandra
- src/test/java/org/springframework/ai/chat/memory/repository/cassandra
- spring-ai-model-chat-memory-repository-jdbc
- src/test/java/org/springframework/ai/chat/memory/repository/jdbc
- spring-ai-model-chat-memory-repository-neo4j
- models
- spring-ai-anthropic/src
- main/java/org/springframework/ai/anthropic
- api
- test/java/org/springframework/ai/anthropic
- api
- spring-ai-deepseek/src
- main/java/org/springframework/ai/deepseek
- api
- test/java/org/springframework/ai/deepseek
- chat
- spring-ai-elevenlabs/src/main/java/org/springframework/ai/elevenlabs
- api
- spring-ai-google-genai-embedding/src
- main/java/org/springframework/ai/google/genai/text
- test/java/org/springframework/ai/google/genai/text
- spring-ai-google-genai/src
- main/java/org/springframework/ai/google/genai
- test/java/org/springframework/ai/google/genai
- spring-ai-huggingface
- src/main/resources/handlebars/Java/libraries/resttemplate
- spring-ai-minimax/src
- main/java/org/springframework/ai/minimax
- test/java/org/springframework/ai/minimax
- api
- embedding
- spring-ai-mistral-ai/src
- main/java/org/springframework/ai/mistralai
- moderation
- test/java/org/springframework/ai/mistralai
- spring-ai-ollama
- src
- main/java/org/springframework/ai/ollama
- test/java/org/springframework/ai/ollama
- spring-ai-openai
- src
- main/java/org/springframework/ai/openai
- api
- metadata/support
- test/java/org/springframework/ai/openai
- api
- audio
- api
- speech
- transcription
- chat
- embedding
- image
- api
- moderation
- api
- spring-ai-postgresml
- src/test/java/org/springframework/ai/postgresml
- spring-ai-transformers
- spring-ai-vertex-ai-embedding/src
- main/java/org/springframework/ai/vertexai/embedding/text
- test/java/org/springframework/ai/vertexai/embedding/text
- spring-ai-vertex-ai-gemini/src
- main/java/org/springframework/ai/vertexai/gemini
- test/java/org/springframework/ai/vertexai/gemini
- spring-ai-zhipuai/src
- main/java/org/springframework/ai/zhipuai
- api
- test/java/org/springframework/ai/zhipuai
- api
- chat
- embedding
- spring-ai-client-chat/src/main/kotlin/org/springframework/ai/chat/client
- spring-ai-integration-tests
- src/test/java/org/springframework/ai/integration/tests/tool
- spring-ai-model/src/test/kotlin/org/springframework/ai/tool/resolution
- spring-ai-retry
- src
- main/java/org/springframework/ai/retry
- test/java/org/springframework/ai/retry
- spring-ai-spring-boot-docker-compose
- src
- main/java/org/springframework/ai/docker/compose/service/connection/mongo
- test/java/org/springframework
- ai/docker/compose/service/connection/mongo
- boot/docker/compose/service/connection/test
- spring-ai-spring-boot-testcontainers
- src
- main/java/org/springframework/ai/testcontainers/service/connection
- mongo
- opensearch
- test/java/org/springframework/ai/testcontainers/service/connection
- mongo
- ollama
- opensearch
- vector-stores
- spring-ai-azure-cosmos-db-store
- spring-ai-cassandra-store
- src/test/java/org/springframework/ai/vectorstore/cassandra
- spring-ai-chroma-store
- spring-ai-couchbase-store
- src/test/java/org/springframework/ai/vectorstore
- spring-ai-elasticsearch-store
- src
- main/java/org/springframework/ai/vectorstore/elasticsearch
- test/java/org/springframework/ai/vectorstore/elasticsearch
- spring-ai-gemfire-store
- src/test/java/org/testcontainers/containers
- spring-ai-mariadb-store
- src/test/java/org/springframework/ai/vectorstore/mariadb
- spring-ai-milvus-store
- src/test/java/org/springframework/ai/vectorstore/milvus
- spring-ai-mongodb-atlas-store
- spring-ai-neo4j-store
- src/test/java/org/springframework/ai/vectorstore/neo4j
- spring-ai-opensearch-store
- src/test/java/org/springframework/ai/vectorstore/opensearch
- spring-ai-oracle-store
- src/test/java/org/springframework/ai/vectorstore/oracle
- spring-ai-pgvector-store
- src/test/java/org/springframework/ai/vectorstore/pgvector
- spring-ai-qdrant-store
- spring-ai-redis-store
- src/test/java/org/springframework/ai/vectorstore/redis
- spring-ai-typesense-store
- src/test/java/org/springframework/ai/vectorstore/typesense
- spring-ai-weaviate-store
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
276 files changed
+2670
-1041
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
Lines changed: 31 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
93 | 85 | | |
94 | 86 | | |
95 | 87 | | |
| |||
104 | 96 | | |
105 | 97 | | |
106 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | | - | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | | - | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments