Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the Spring AI team, I'm happy to announce that Spring AI 2.0.0-M2 is now available from Maven Central.
This release includes 94 changes: 36 improvements, 16 bug fixes, 38 documentation updates, and 4 dependency upgrades.
Thanks to all contributors.
Spring AI 2.0 will join the Spring Portfolio effort to provide a null-safe API, as documented in this original blog post. What this means is that the whole Spring AI codebase needs to be reviewed and converted to JSpecify, which is no small endeavor!
The benefits are a better documented API but also one we can trust because thanks to JSpecify and NullAway, all of this is now enforced at compile time. Moreover, for Kotlin users, this translates to true nullable and non-nullable types in the Kotlin language.
Work has started to achieve full coverage by 2.0 GA, and M2 already delivers annotated packages for all of the core Spring AI APIs, memory implementations, document readers and all vector stores!
There could be changes in the near future as we discover real usage of APIs by each vendor implementation, but we appreciate the community understanding that this is an ongoing effort. This also means that future contributions will not only benefit from this, but should also properly consider marking code for null safety. Please refer to this user guide to get started.
Work continues toward 2.0.0 GA. Follow progress on GitHub.
Project Page | GitHub | Issues | Documentation | Stack Overflow
Thanks to all the community contributors who made this release possible: