Spring Batch 6.0.0-RC2 available now!

Releases | Mahmoud Ben Hassine | November 06, 2025 | ...

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

What's new in Spring Batch 6.0.0-RC2?

This second release candidate introduces a long-awaited feature which is the use of contextual lambda expressions to configure batch artefacts. This new style of configuration provides a more concise and readable way to define item readers and writers.

For example, instead of using the traditional builder pattern like in the following snippet to define a delimited file reader:

var reader = new FlatFileItemReaderBuilder()
    .resource(...)
    .delimited()
    .delimiter(",")
    .quoteCharacter('"')
    ...
    .build();

You can now use a lambda expression to configure the delimited options like this:

var reader = new FlatFileItemReaderBuilder()
    .resource(...)
    .delimited(config -> config.delimiter(',').quoteCharcter( '"' ))
    ...
    .build();

This release also comes with several bug fixes, performance improvements and dependency upgrades.

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

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