Spring Batch 6.0.2 宣布

Spring Batch 6.0.2 现已发布,包含多项改进、错误修复及文档更新。具体更新内容如下: New features 为 JobParametersConverter 添加 ZonedDateTime 和 OffsetDateTime 支持 #5178 Bug fixes 从CommandLineJobR...

应用介绍

Spring Batch 6.0.2 现已宣布,包含多项改进、缺点修复及文档更新。具体更新内容如下:

New features

  • Bug fixes

    • CommandLineJobRunner迁徙至CommandLineJobOperator时 v5 与 v6 的兼容性问题 #5227
    • MongoStepExecutionDao.countStepExecutions() 忽视 stepName 参数#5220
    • 因为 graceful shutdown 过程中的竞争前提,导致 OptimisticLockingFailureException 异常 #5217
    • ChunkOrientedStep#doExecute 更新了块事务界线之外的 StepExecution #5199
    • Jackson2ExecutionContextStringSerializer 无法序列化 JobStep 中的功课参数 #5191
    • 在并行块处理时代,StepContribution 计数器不是线程安然的 #5188
    • 在多线程 ChunkOrientedStep 中应用@StepScopeItemProcessor 时出现 ScopeNotActiveException 异常 #5183
    • ChunkOrientedStep 即使在数据块履行掉败的情况下也会更新 ExecutionContext,导致重启时数据损掉#5182
    • @SpringBatchTest激活时,MetaDataInstanceFactory 的默认值会导致 StepScopeTestUtils 中 StepContext 冲突 #5181
    • DB2LUW 数据库迁徙到 spring-batch 6.x 时出现缺点 #5166
    • 自 Spring Batch 5.2.3 起,JobRepositoryTestUtils.removeJobExecutions() 中出现 OptimisticLockingFailureException 异常 #5161
    • AbstractPaginatedDataItemReader 中的 jumpToItem(int itemLastIndex) 实现无法精确处理重启行动 #5136
    • AbstractCursorItemReader#doClose 中资本清理次序缺点导致行动不一致 #5109
    • 应用 asyncTaskExecutor 和 jobOperator.start() 启动功课时出现间歇性 OptimisticLockingFailureException 异常 #5106
    • 将 StaxEventItemWriter 与 MultiResourceItemWriter 结合应用时出现 ClosedChannelException 异常 #5098
    • 并行功课履行时代 MongoSequenceIncrementer 中的写入冲突 #4960

    Enhancements

    • 应用 Spring Framework 的 CollectionUtils 创建 HashSet/HashMap #5175
    • 移除 StoredProcedureItemReader 中的冗余断言#5119

    Documentation

    • 修复 whatsnew.adoc 和集成测试中的拼写缺点#5207
    • 明白 v6 版本中 ChunkListener 的变革#5226
    • v6 版本中关于并发步调的文档有误#5228
    • 精确的 JobOperatorFactoryBean 示例代码 #5103

    Tasks

    • 更新问题申报指南中的项目模板 #5212

    为 JobParametersConverter 添加 ZonedDateTime 和 OffsetDateTime 支撑 #5178

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

更新解释:https://github.com/spring-projects/spring-batch/releases/tag/v6.0.2

点赞(0) 打赏

立即下载

相关下载

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部