Spring
Follow
Spring Batch 6.1 is now GA!
Spring Batch 6.1 has been released with numerous new features, enhancements, and bug fixes. Key updates include dependency upgrades to latest Spring versions. A new @JobParameter annotation simplifies injecting job parameters into scoped beans. The PageableItemReader offers a type-safe alternative to RepositoryItemReader using Spring Data Pageable. Resource-based readers now accept location patterns directly for easier configuration. The MongoDB job repository supports a configurable collection prefix for better isolation. RepositoryItemWriter includes flushing support for improved data persistence. JsonLineMapper and JsonLineAggregator are now JSON library agnostic for greater flexibility. Async processing APIs and local chunking have moved to spring-batch-core. Builders now provide compile-time safety for mutually exclusive methods through a staged DSL. JDBC DAOs have been migrated to use JdbcClient, offering improved performance and a fluent API. Significant performance improvements have been made to job launching, restarting, and partitioned steps. Several breaking changes and deprecations are also noted in this release.