VMware has released Spring Batch 5.0. Baselined to Java 17 and the latest Spring Framework 6.0, Spring Batch now supports GraalVM native image, a new Observation API, Java Records, and a long list of enhancements and fixes made by more than 50 contributors.
Spring Batch 5 depends on Spring Framework 6, Spring Integration 6, Spring Data 3, Spring AMQP 3, and Micrometer 1.10. Furthermore, import statements require a migration from the javax.* to jakarta.* namespaces for all usage of the Jakarta EE APIs since this version marks the migration to Jakarta EE 9. Spring Batch now also uses Hibernate 6 for cursor and paging item readers.