Spring AI 2.0.0-M2 Available Now
On behalf of the Spring AI team, I'm happy to announce that Spring AI 2.0.0-M2 is now available from Maven Central.
Release Summary
This release includes 94 changes: 36 improvements, 16 bug fixes, 38 documentation updates, and 4 dependency upgrades.
Thanks to all contributors.
Null Safety
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…