Spring Batch 6.0.0-M4 released

Releases | Mahmoud Ben Hassine | October 09, 2025 | ...

I am pleased to announce that Spring Batch 6.0.0-M4 is now available from Maven Central!

The main changes in this milestone release are the following:

  • Migration to nullability checks with jSpecify
  • Improved domain model design

For the complete list of changes, please check the release notes here.

Null safety with JSpecify

Spring Batch 6.0 APIs are now annotated with JSpecify annotations to provide better null-safety guarantees and improve code quality. This change helps developers catch potential null-related issues at compile time, leading to more robust and reliable applications.

Improved domain model design

In this milestone, we have made significant improvements to the domain model design of Spring Batch. This includes better encapsulation of domain concepts and clearer separation of concerns. These changes aim to make it easier for developers to understand and work with the core components of Spring Batch.

Feedback

I would like to thank all contributors who had a role in this release! As we continue our work on Spring Batch 6, we look forward to your feedback on Github Issues, Github Discussions and X.


Spring Batch Home|Source on Github|Reference documentation

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all