github spring-projects/spring-batch v5.2.0-M1

pre-releaseone day ago

⭐ New features

  • Add support for data classes in JdbcCursorItemReaderBuilder & JdbcPagingItemReaderBuilder #4578
  • Add support for query hints in JPA item readers #4479
  • Add possibility to configure line separator in RecursiveCollectionLineAggregator #4594
  • Revisit the mechanism of job registration #4547
  • Add JobRegistrySmartInitializingSingleton #4521

🐞 Bug fixes

  • Incorrect bean configuration in DefaultBatchConfiguration #4543
  • BeanPostProcessorChecker.postProcessAfterInitialization WARNING after upgrade spring-framework-6.1.0 #4489
  • Possible duplicate state transitions in flow definition #3674
  • Order of Transition Elements Still Does Not completely adhere to documentation #3996
  • Memory leak in MessageChannelPartitionHandler when polling the database #4598
  • ListItemWriter<T>::getWrittenItems has bad wildcard return type #4576
  • SimpleBinaryBufferedReaderFactory misses line endings #811
  • StepExecution.getEndTime() returns null in StepExecutionListener.afterStep() #3846
  • Default value for ignoreWarnings in JdbcCursorItemReaderBuilder does not align with documentation #4570
  • Remote partitioning doesn't work if you're using graalvm #4564
  • SystemCommandTasklet does not propagate errors #4483
  • Incorrect Chunk property value in implementation of ItemWriter write method #4560
  • Incorrect step configuration when setting the taskExecutor before faultTolerant() #4438
  • Incorrect deprecation in MongoPagingItemReader #4552
  • JobRepository.deleteJobInstance() Fails with Foreign Key Constraint Violation if Job Executions have Step Executions #4382
  • DefaultJobParametersConverter throws java.lang.ArrayIndexOutOfBoundsException if input is empty string #4505

🚀 Enhancements

  • Use Threadlocal.remove() instead of Threadlocal.set(null) #4601
  • Performance issue in DefaultFieldSet due to the usage of SimpleDateFormat #1694
  • Improve Error Messages in JobParametersBuilder methods #4581
  • Implement jumpToItem in JsonItemReader #4557
  • Maintain similar ordering of elements between DefaultStateTransitionComparator and FlowJobBuilder #4527
  • Avoid collection copying #4553
  • Make util classes to follow code style guide #4545
  • Use annotation @Override consistently #4512
  • Check dirty flag of step execution context before update in inner loop #4503

📔 Documentation

  • Flow order priority does not match documented behavior #4456
  • Incorrect link to batch reference documentation on project page #4637
  • Typo in architecture doc #4607
  • Grammatical error in restart.adoc #4600
  • Incorrect link in appendix #4595
  • Missing information about error handling in ChunkListeners #4384
  • Improve Javadoc regarding the sort order in RepositoryItemReader #4462
  • Fix code sample that uses deprecated StepBuilderFactory #4582
  • Misleading documentation on ItemWriteListener #4400
  • Incorrect code example in documentation #4550
  • Reference Documentation Uses Deprecated Class StepExecutionListenerSupport #4538
  • Incorrect Type of getter in Documentation for JobParameters#getDouble #4526
  • UI Aligment Issue - Spring Batch Version Number in Docs #4534

🆙 Dependency Upgrades

  • Spring Framework: 6.2.0-RC1
  • Spring Retry: 2.0.9
  • Micrometer: 1.14.0-M3
  • Spring Integration: 6.4.0-M3
  • Spring AMQP: 3.2.0-M3
  • Spring Kafka: 3.3.0-M3
  • Spring Data: 3.4.0-M1
  • Spring Ldap: 3.2.6

🔨 Tasks

  • Remove deprecated APIs scheduled for removal in v5.2.0 #4398
  • Regression in javadocs deployment script #4511

❤️ Contributors

Many thanks to all contributors who worked on this release!


Full change log: v5.1.2...v5.2.0-M1

Don't miss a new spring-batch release

NewReleases is sending notifications on new releases.