Spring Batch 5.1 GA, 5.0.4 and 4.3.10 available now!
On behalf of the team and all contributors, I am pleased to announce that Spring Batch 5.1.0, 5.0.4 and 4.3.10 are now available from Maven Central repository.
Versions 5.0.4 and 4.3.10 are drop-in replacements for their respective previous patch releases and come with bug fixes, documentation improvements and dependency updates. You can find the complete list of changes in the release notes: 5.0.4 and 4.3.10.
This blog post is more about Spring Batch 5.1, which includes a number of improvements and new features:
- Dependencies upgrade
- Virtual Threads support
- Memory management improvement in the
JpaItemWriter
- New synchronized decorators for item readers and writers
- New cursor-based
MongoItemReader
- Bulk inserts support in
MongoItemWriter
- New item reader and writer for Redis
- Automatic configuration of
JobRegistryBeanPostProcessor
- Ability to start a job flow with a decision
- Ability to provide a custom
JobKeyGenerator
- MongoDB Job Repository (Experimental)
- Composite Item Reader (Experimental)
- New documentation based on Antora
- Revamped samples
- Enhanced issue reporting guide …