Spring Batch 4.0.0.M2 is now available

Releases | Michael Minella | May 15, 2017 | ...

We are pleased to announce that Spring Batch 4.0.0.M2 is now available via Github and the Pivotal download repository. This release represents the second milestone for the Spring Batch 4.0 release. Many thanks to all that contributed to this release.

What's new?

This milestone continues the work laid out in Spring Batch 4.0.0.M1. Specific updates include:

  • Dependency updates
  • Continued java configuration improvements

Dependency updates

Spring Batch 4 will be the version included in Spring Boot 2 so we're taking this time to syncronize our dependencies. With that, this release supports upgrades to the latest milestones of the Spring Data Kay release train and Spring Integration 5.

Along with the cleanup of dependencies, we also did some cleanup around deprications. Support for iBatis based readers and writers has been removed in favor of the native support provided by MyBatis.

Java Configuration

Continuing the story of improving the java configuration capabilities started with milestone one, 4.0.0.M2 includes the following builders:

  • StaxEventItemReaderBuilder
  • StaxEventItemWriterBuilder
  • JdbcPagingItemReaderBuilder
  • HibernateCusrorItemReaderBuilder
  • HibernateItemWriterBuilder
  • HibernatePagingItemReaderBuilder
  • JpaPagingItemReaderBuilder
  • SingleItemPeekableItemReaderBuilder
  • SimpleMailMessageItemWriterBuilder
  • SynchronizedItemStreamReaderBuilder
  • CompositeItemWriterBuilder
  • ClassifierCompositeItemWriterBuilder
  • JmsItemReaderBuilder
  • JmsItemWriterBuilder
  • MultiResourceItemReaderBuilder
  • MultiResourceItemWriterBuilder

All 16 of those are now available. And we still aren't done with all of the ItemReader and ItemWriter implementations! We'll wrap them up in time for the next milestone.

What's next?

Looking to the next release, we plan on wrapping up the builders for this release. We'll also be updating the documenation to be more java config friendly. Look for future milestones in the coming months with Spring Batch 4 going GA prior to Spring Boot 2.

What do you think?

We look forward to your feedback on these new features in Jira, StackOverflow, or to me directly via Twitter @michaelminella!

Spring Batch Home | Source on GitHub | Reference Documentation

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

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

Learn more

Get support

Tanzu Spring Runtime 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