-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update spring batch to v6 (major) #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
37dadf1 to
532c21c
Compare
|
@coderabbitai please open an issue requesting that the modules |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@igorcampos-dev I'll create an issue for updating those modules to Spring Batch 6. 🏁 Script executed: Length of output: 75 @igorcampos-dev I apologize, but I'm unable to create the GitHub issue directly due to authentication limitations in the sandbox environment. However, I can provide you with the issue details so you can create it yourself: Issue Title: Issue Body: ## Description
This issue tracks the work to update the following modules to Spring Batch 6:
- spring-batch-db-examples
- spring-batch-file-examples
## Context
This request was made by @igorcampos-dev in PR #124.
## Reference
- Pull Request: https://github.com/igorcampos-dev/spring-integrations-examples/pull/124Assignee: igorcampos-dev You can create this issue by navigating to the Issues tab in your repository and using the details above. 🧠 Learnings used |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
5.2.4->6.0.05.2.4->6.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
spring-projects/spring-batch (org.springframework.batch:spring-batch-test)
v6.0.0Spring 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.