Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreHi, Spring fans! How are ya? I'm doing fine. Excited, even. You see, Spring AI M7 is coming soon! In theory, it drops on Thursday. Don't hold us to that — these things can change :-) But soon, and it's turning out to be a whopper of a release!
You should try upgrading your application to the new M7 by using the -SNAPSHOT
builds. The coordinates for the various starters have been reworked, so things will break there. Don't panic — you just need to update the coordinates. There's good information in the documentation.
Here's the gist:
spring-ai-{model}-spring-boot-starter
→ spring-ai-starter-model-{model}
spring-ai-{store}-store-spring-boot-starter
→ spring-ai-starter-vector-store-{store}
spring-ai-mcp-{type}-spring-boot-starter
→ spring-ai-starter-mcp-{type}
Also, note that the Spring AI auto-configuration has changed from a single monolithic artifact to individual auto-configuration artifacts per model, vector store, and other components. This change was made to minimize the impact of different versions of dependent libraries conflicting, such as Google Protocol Buffers, Google RPC, and others. By separating auto-configuration into component-specific artifacts, you can avoid pulling in unnecessary dependencies and reduce the risk of version conflicts in your application.
Nice! OK, let's dive into this week's roundup!