github spring-projects/spring-batch v5.0.1

latest releases: v5.2.0-RC1, v5.2.0-M2, v5.2.0-M1...
21 months ago

🐞 Bug fixes

  • Missing AOT Hint for JobOperator in Batch 5.0.0 #4248
  • Missing AOT hints for for types associated with remote chunking #4307
  • @StepScope not working when XML namespace activated #3936
  • Incorrect API contract of JobRepository.deleteJobInstance #4250
  • SimpleJobRepository.deleteJobExecution does not follow API contract #4249
  • Inconsistent state validation rules between RepositoryItemReader and RepositoryItemReaderBuilder #4276
  • ClassCastException in RepositoryItemReader when using Slice instead of Page #4115
  • Disable BatchTestContextCustomizer after AOT processing #4286
  • Outdated contract of APIs accepting job parameters as String #4301
  • ArrayIndexOutOfBoundsException when invoke SimpleJobOperator.start #4253
  • Cannot run job with LocalDate(Time) job parameters #4257
  • Illegal argument exception when querying running jobs with Date() parameter #4270
  • ConversionFailedException when using java.util.Date job parameter #4297
  • Incorrect handling of default parameter type in JsonJobParametersConverter #4299
  • Incorrect handling of file deletion in File-based writers #4203
  • Incorrect notNull assertion on parameter type in JobParameter #4263
  • Invalid Oracle migration script in 5.0 #4271
  • Invalid Postgresql migration script in 5.0 #4260

🚀 Enhancements

  • High memory consumption during long running jobs #3790
  • Use batch inserts for job parameters #3867
  • Add default component name in constructor of AvroItemReader #4285
  • Implement equals and hashCode in Chunk class #4296
  • Add final modifier to fields of RunIdIncrementer and Job/Step BuilderFactory APIs #4143
  • Use ExecutionContext map constructor #3985
  • Optimize ExitStatus#addExitDescription #3979
  • Spring 6.0.1 and newer requires/prefers compilation with "-parameters" #4258
  • Remove unused method #4256

📔 Documentation

  • Incorrect version in Javadoc's since tag of DefaultBatchConfiguration #4312
  • Indent of Javadoc codes are mixed #4234
  • Fix typos in Javadocs #4295
  • Incorrect reference to AbstractJobTests in documentation #4182
  • Architecture html docs are missing diagrams #4268
  • Changes to BATCH_JOB_EXECUTION_PARAMS are incorrectly specified in the migration guide #4259
  • Fix double "before" typo #4281
  • Incorrect code samples in reference documentation #4262
  • Fix typo tnew to new in adoc files #4283

🔨 Dependency Upgrades

  • Spring Framework: 6.0.5
  • Spring Retry: 2.0.0
  • Spring AMQP: 3.0.2
  • Spring Data: 3.0.2
  • Spring Integration: 6.0.3
  • Spring Kafka: 3.0.3
  • Spring LDAP: 3.0.1
  • Micrometer: 1.10.4

🔨 Tasks

  • Move build process to Github Actions #4128
  • Incorrect deployment descriptor of spring-batch-docs in Artifactory #4109
  • Deprecate JobOperator.start(String, String) #4304
  • Deprecate MetaDataInstanceFactory#createJobExecution #4303
  • Intermittent failure in TaskExecutorRepeatTemplateAsynchronousTests #3866
  • Intermittent failure in FaultTolerantStepFactoryBeanRollbackTests.testMultithreadedSkipInWriter #1278
  • Add "v" prefix to git tag names #4183

❤️ Contributors

We would like to thank all contributors who helped in shipping this release!

Don't miss a new spring-batch release

NewReleases is sending notifications on new releases.