fix(deps): update spring batch to v6 (major) #1151
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.2.4->6.0.05.2.4->6.0.05.2.4->6.0.0Release Notes
spring-projects/spring-batch (org.springframework.batch:spring-batch-test)
v6.0.0Compare Source
Spring Batch 6.0 is a major release that comes with several new features, enhancements, and bug fixes. This release introduces a number of API breaking changes and deprecations. Please refer to the migration guide for the full list of changes.
⭐ New features
MessageChannels #4719MapJobRegistrysmart enough to auto register jobs defined in the application context #4855MessageChannelPartitionHandlerusable with any job repository implementations #4917Jobinterface a functional interface #4966Stepinterface a functional interface #4976StepExecutionparameter toStoppableTasklet.stop()#4703ItemWriterwithCompositeItemWriterexpecting different item types #4735🚀 Enhancements
JobRepository#4718JdbcStepExecutionDao::getStepExecution#4799JobOperatorAPI by using domain types instead of primitive types #4845JobOperatorby reducing its scope to job operations only #4833core.listenerpackage #4867core.explorepackage undercore.repository#4827org.springframework.batch.core.partition#4849JobKeyGeneratorinterface #4886JobFactoryin `JobRegistry`` #4854JobExplorerinSimpleJobOperator#4817JobExplorerbean registration from the default batch configuration #4825SimpleJobOperatortoTaskExecutorJobOperator#4834JobRepositoryFactoryBeantoJdbcJobRepositoryFactoryBean#4829FlatFileItemReaderBuilder: raise check exception on build #4757JobOperatorextendJobLauncher#4832JobRepositoryextendJobExplorer#4824JobExplorer/JobInstanceDaoAPIs #4821ErrorProne, fix compiler warnings #4807testErrorMessageWhenNoLineTokenizerWasProvided#4883ExitStatus#isRunningfor type-safety #4783ExitStatus#equalsas nullable #4823ctx::getBeaninstead #4803jdbcTemplate.queryForStream().findFirst()where appropriate #4802JobRegistryoptional in the default batch configuration #4971JobOperatorFactoryBean#4970JdbcStepExecutionDao::getLastStepExecution#4798MongoStepExecutionDao#5061StepExecution#getSummary#5025DefaultFieldSet.indexOf()method #4930MessageChannelPartitionHandler::receiveReplies#4776🐞 Bug fixes
JobParametersIncrementer#4910ResourcelessJobRepository#4975@AfterChunk/@BeforeChunkannotation javadoc to current implementation #4961RecordFieldSetMapperfails withRecordwithout components #4900JsonObjectReaderfails to read JSON array format due to Jackson 3.0FAIL_ON_TRAILING_TOKENSdefault change #5047ChunkOrientedStep: UnnecessaryItemReader.read()calls when chunk size exceeds item count #5048JobParameterconstructor validates wrong parameter (value instead of name) #5049JobOperatorTestUtilsconstructor #5051ChunkOrientedStepBuilderthrowsIllegalArgumentExceptionwhen retry() is used(configured) without retryLimit() #5068ChunkOrientedStepBuilderthrowsIllegalArgumentExceptionwhen skip() is used(configured) without skipLimit() #5069MongoJobExecutionDaodoesn't handle temporal job parameter types correctly #5063StepExecutionListener#afterStep#4362TopicPartitionfromJobRepository#3797JobExecutionDao#5062OptimisticLockingFailureExceptioncaused byjobExecutionDao.updateJobExecution(jobExecution)#5022StepContext.getJobParameters()#5041RecursiveCollectionLineAggregator.aggregate()fails on empty collection input #5023JdbcJobExecutionDao#5044📖 Documentation updates
whatsnew.adoc#4901JdbcCursorItemReaderBuilder#4838JobInstanceDao#getJobNamesmethod #5043🆙 Dependency Upgrades
🔨 Tasks
JobExplorerwithJobRepositoryinRemoteStepExecutionAggregator#4928JobExplorerwithJobRepositoryinSystemCommandTasklet#4927JobLauncherwithJobOperatorinJobLaunchingGatewayandJobLaunchingMessageHandler#4924JobLauncherwithJobOperatorinJobStep#4923JobExplorerwithJobRepositoryinStepExecutionRequestHandler#4918JobLauncherTestUtilstoJobOperatorTestUtils#4920JobExplorerFactoryBeantoJdbcJobExplorerFactoryBean#4846StepRunner#4921EnableBatchProcessing#4866JobExplorerinBatchIntegrationConfiguration#4919❤️ Contributors
Many thanks to all contributors who made this release possible!
@darth-raijin, @itis821, @jbotuck, @martinfrancois, @noojung, @patrickwinti, @sieunie, @sjiwon, @therepanic, @thelightway24, @ch200203, @monnetchr, @Chienlin1014, @lucas-gautier, @PENEKhun, @kyb4312.
A special thanks to @scordio , @quaff and @KILL9-NO-MERCY for their amazing feedback and numerous contributions 🙏
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.