⭐ New features
- Add support for local chunking #5021
- Add remote step execution support #5024
- Add shutdown hook to gracefully stop job executions on sigterm #5028
- Add support for Jackson 3 #4842
- Support SEDA with Spring Integration
MessageChannel
s #4719 - Use existing
ItemWriter
withCompositeItemWriter
expecting different item types #4735
🚀 Enhancements
- Missing comma in
StepExecution#getSummary
#5025 - Improve performance of
DefaultFieldSet.indexOf()
method #4930 - Improve
MessageChannelPartitionHandler::receiveReplies
#4776
🐞 Bug fixes
- Spring batch terminate in started status after sigterm #4023
- Jdbc Hibernate Connection closed prematurly when launching a Job #5006
OptimisticLockingFailureException
caused byjobExecutionDao.updateJobExecution(jobExecution)
#5022- Missing GraalVM native image hints for
StepContext.getJobParameters()
#5041 - StepBuilder(JobRepository) fails due to timing mismatch between constructor validation and BeanNameAware #5027
RecursiveCollectionLineAggregator.aggregate()
fails on empty collection input #5023- Incorrect retrieval of last step execution with MongoDB #4896
- Fix potential NPE in
JdbcJobExecutionDao
#5044
📖 Documentation updates
- FaultTolerantStepBuilder#skipLimit Javadoc is misleading with custom skipPolicy #4963
- Fix grammar error in testing documentation #4979
- Improve javadoc of
JobInstanceDao#getJobNames
method #5043
🆙 Dependency Upgrades
- Spring Framework: 7.0.0-RC1
- Spring Integration: 7.0.0-RC1
- Spring AMQP: 4.0.0-RC1
- Spring Kafka: 4.0.0-RC1
- Spring Data: 4.0.0-RC1
- Spring Ldap: 4.0.0-RC1
- Micrometer: 1.16.0-RC1
❤️ Contributors
Thank you to all the contributors who worked on this release!
Full change log: v6.0.0-M4...v6.0.0-RC1