Download Latest Version v6.0.3 source code.tar.gz (8.7 MB)
Email in envelope

Get an email when there's a new version of Spring Batch

Home / v6.0.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-01-21 4.2 kB
v6.0.2 source code.tar.gz 2026-01-21 8.7 MB
v6.0.2 source code.zip 2026-01-21 10.9 MB
Totals: 3 Items   19.5 MB 1

:star: New features

  • Add ZonedDateTime and OffsetDateTime support to JobParametersConverter #5178

:lady_beetle: Bug fixes

  • Compatibility issues between v5 and v6 when Migrating from CommandLineJobRunner to CommandLineJobOperator #5227
  • MongoStepExecutionDao.countStepExecutions() ignores stepName parameter #5220
  • OptimisticLockingFailureException due to race condition in graceful shutdown #5217
  • ChunkOrientedStep#doExecute updates the StepExecution outside of the chunk transaction boundary. #5199
  • Jackson2ExecutionContextStringSerializer fails to serialize job parameters with JobStep #5191
  • StepContribution counters are not thread-safe during parallel chunk processing #5188
  • ScopeNotActiveException with @StepScope ItemProcessor in Multi-threaded ChunkOrientedStep #5183
  • ChunkOrientedStep updates ExecutionContext even when a chunk fails, leading to data loss on restart #5182
  • MetaDataInstanceFactory default values cause StepContext collision in StepScopeTestUtils when @SpringBatchTest is active #5181
  • Wrong database migration to spring-batch 6.x for DB2LUW #5166
  • OptimisticLockingFailureException in JobRepositoryTestUtils.removeJobExecutions() since Spring Batch 5.2.3 #5161
  • The implementation of jumpToItem(int itemLastIndex) in AbstractPaginatedDataItemReader does not handle restart behavior correctly. #5136
  • Incorrect resource cleanup order in AbstractCursorItemReader#doClose leads to inconsistent behavior #5109
  • Intermittent OptimisticLockingFailureException when starting job using jobOperator.start() with asyncTaskExecutor #5106
  • ClosedChannelException when using StaxEventItemWriter in combination with MultiResourceItemWriter #5098
  • WriteConflict in MongoSequenceIncrementer during parallel job executions #4960

:rocket: Enhancements

  • Use Spring Framework's CollectionUtils to create HashSet/HashMap #5175
  • Remove redundant assert in StoredProcedureItemReader #5119

:notebook_with_decorative_cover: Documentation

  • Fix typo in whatsnew.adoc and in integration tests #5207
  • Clarify ChunkListener changes in v6 #5226
  • Incorrect documentation about concurrent steps in v6 #5228
  • correct JobOperatorFactoryBean sample code #5103

:hammer: Tasks

  • Update project template in issue reporting guide #5212

🆙 Dependency Upgrades

Spring Framework: 7.0.3 Spring Integration: 7.0.2 Spring AMQP: 4.0.2 Spring Kafka: 4.0.2 Spring Data: 4.0.2 Micrometer: 1.16.2

:heart: Contributors

Thank you to all the contributors who worked on this release:

@wocks1123, @thswlsqls, @xeounxzxu, @LeeHyungGeol, @KMGeon, @HongYeseul, @banseok1216, @quaff, and @songhees

Source: README.md, updated 2026-01-21