Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S spring-batch-utils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mainz
  • spring-batch-utils
  • Merge requests
  • !2

Open
Created Nov 18, 2020 by Renovate Bot@renovatebotContributor0 of 1 task completed0/1 task
  • Report abuse
Report abuse

chore(deps): update all dependencies

  • Overview 0
  • Commits 1
  • Changes 2

This MR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
maven image minor 3.6.3-jdk-11 -> 3.8.6-jdk-11 age adoption passing confidence
org.apache.maven.plugins:maven-compiler-plugin build minor 3.8.0 -> 3.13.0 age adoption passing confidence
org.springframework.batch:spring-batch-core (source) compile minor 4.2.4.RELEASE -> 4.3.10 age adoption passing confidence
junit:junit (source) test patch 4.13.1 -> 4.13.2 age adoption passing confidence

Release Notes

spring-projects/spring-batch (org.springframework.batch:spring-batch-core)

v4.3.10

Compare Source

Important❗: This is the last OSS release of Spring Batch 4. Please refer to the support policy page for more details about our support policy.

🐞 Bug fixes

  • NullPointerException in RepeatTemplate#doHandle() when unwrapIfRethrown() returns null if logging in DEBUG #​1123
  • Job scoped bean doesn't cleanup in unit test #​1288

📔 Documentation

  • Update documentation about serializable keys in the execution context #​4457
  • Incorrect JavaDoc for Methods returning JobFlowBuilder in JobBuilder #​4415
  • Incorrect Javadoc in DefaultFieldSet and DefaultFieldSetFactory #​4494
  • Regression with the CSS styles and JS toggle in the reference documentation of 4.3.x #​4437

🔨 Tasks

  • Upgrade to gradle 6.9.4
  • Switch to spring-asciidoctor-backends for documentation

🔨 Dependency Upgrades

  • Spring Framework: 5.3.31
  • Spring Retry: 1.3.4
  • Spring AMQP: 2.3.16
  • Spring Data: 2.7.18
  • Spring Integration: 5.5.20
  • Spring Kafka: 2.9.13
  • Spring LDAP: 2.4.1
  • Micrometer: 1.9.17

❤️ Contributors

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

v4.3.9

Compare Source

🐞 Bug fixes

  • Incorrect retrieval of job parameters in SimpleJobExplorer#getJobExecutions #​4246
  • Concurrent execution of FlowJob may cause FlowExecutionException #​4092

🚀 Enhancements

  • Slow Query in JdbcJobInstanceDao.getLastJobInstance() #​4024
  • Allow StaxEventItemReader to auto-detect the input file encoding #​4101

📔 Documentation

  • Incorrect Javadoc in SimpleStepBuilder #​4402
  • Fix typo in SimpleMailMessageItemWriter Javadoc #​4381

🔨 Dependency Upgrades

  • Spring Framework: 5.3.29
  • Spring Retry: 1.3.4
  • Spring AMQP: 2.3.16
  • Spring Data: 2.7.15
  • Spring Integration: 5.5.18
  • Spring Kafka: 2.9.11
  • Spring LDAP: 2.4.1
  • Micrometer: 1.9.14

❤️ Contributors

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

v4.3.8

Compare Source

🐞 Bug fixes

  • JobOperator#stop can not stop JobExecution correctly in some cases #​4064
  • ClassCastException in RepositoryItemReader when using Slice instead of Page #​4115
  • Inconsistent state validation rules between RepositoryItemReader and RepositoryItemReaderBuilder #​4276
  • @​StepScope not working when XML namespace activated #​3936
  • Incorrect handling of file deletion in File-based writers #​4203

🚀 Enhancements

  • Optimize ExitStatus#addExitDescription #​3979
  • High memory consumption during long running jobs #​3790

📔 Documentation

  • Fix minor example in job.adoc #​4199
  • Incorrect reference to AbstractJobTests in documentation #​4182

🔨 Dependency Upgrades

  • Spring Framework: 5.3.25
  • Spring Retry: 1.3.4
  • Spring AMQP: 2.3.16
  • Spring Data: 2.7.8
  • Spring Integration: 5.5.16
  • Spring Kafka: 2.9.6
  • Spring LDAP: 2.4.1
  • Micrometer: 1.9.8

❤️ Contributors

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

v4.3.7

Compare Source

🐞 Bug fixes

  • Unable to register an annotation-based StepExecutionListener in a fault-tolerant step #​4137
  • Unable to read XML data without spring-tx in the classpath #​4132
  • Add missing initialized flag set to FlowJob #​4142
  • Fix non-nullable columns in MySQL migration for Spring Batch 4.3 #​4145

🚀 Enhancements

  • Declare dependency on jettison as optional #​4196

📔 Documentation

  • Improve documentation of scoped beans definition #​1502
  • Incorrect reference to SimpleJdbcTemplate in reference documentation #​4197

🔨 Dependency Upgrades

  • Spring Framework: 5.3.23
  • Spring Retry: 1.3.3
  • Spring AMQP: 2.3.16
  • Spring Data: 2.5.12
  • Spring Integration: 5.5.15
  • Spring Kafka: 2.7.14
  • Spring LDAP: 2.3.8.RELEASE
  • Micrometer: 1.8.10

❤️ Contributors

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

v4.3.6

Compare Source

🐞 Bug fixes

  • Incorrect job restart with null parameters of type long/double #​4087
  • SqlSyntaxErrorException when creating table BATCH_JOB_EXECUTION with db2 v9 #​4001
  • StaxEventItemWriter.unclosedHeaderCallbackElements prevents new job execution #​4044
  • NPE when creating MongoItemReader using a builder without specifying sorting #​4082

🚀 Enhancements

  • Add @Nullable where appropriate in JobExecution and StepExecution #​4077
  • Add java.util.UUID to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4110

📔 Documentation

  • Incorrect documentation in "4.6.6 Abort a job" section #​4037
  • Fix Javadoc of SpringBatchTest annotation #​4102
  • Wrong size for BATCH_JOB_INSTANCE.JOB_KEY in Appendix A #​4071

🔨 Dependency Upgrades

  • Spring Framework: 5.3.20
  • Spring Retry: 1.3.3
  • Spring AMQP: 2.3.16
  • Spring Data: 2.5.11
  • Spring Integration: 5.5.12
  • Spring Kafka: 2.7.14
  • Spring LDAP: 2.3.8.RELEASE
  • Micrometer: 1.7.12

❤️ Contributors

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

v4.3.5

Compare Source

🐞 Bug fixes

  • Adjust h2 schema to work with v2.0.x #​4043
  • Adjust H2PagingQueryProvider to work with v2.x #​4047

🚀 Enhancements

  • Simplify GET_LAST_STEP_EXECUTION #​3997
  • Make countStepExecutions access batch_job_execution only once #​3876
  • Add @Nullable to StepExecution::endTime #​4034
  • Collection's empty data check using CollectionUtils.isEmpty #​4021
  • Check arguments of MongoItemReader#setSort #​4014

📔 Documentation

  • Add example for in-memory repository, with no deprecated classes #​4016
  • Document default types of beans registered by EnableBatchProcessing annotation #​3993
  • Fix Javadoc of FaultTolerantChunkProvider #​4029
  • Fix typos in documentation #​4010

v4.3.4

Compare Source

🐞 Bug fixes

  • Consider making JobParameters#getParameters() immutable #​3980
  • JdbcPagingItemReader with sort key crashes in multithreaded step for empty query #​3898
  • BatchTestContextCustomizer does not implement hashCode/equals, preventing context caching #​3940
  • "IllegalArgumentException: Only 1 out of 2 arguments could be assigned" using MethodInvokingTaskletAdapter + NamedParameterJdbcTemplate #​3794
  • Remove whitespace to support multiple execution statement #​3861
  • SimpleJobExplorer#getLastJobExecution does not fetch step executions #​3943
  • NPE in JDBC ItemReaders after changes in spring-jdbc's AbstractFallbackSQLExceptionTranslator #​3968

📔 Documentation

  • Fix double "the" typo everywhere in source code #​3977
  • Fix typos in the document for configuring steps #​3965
  • Incorrect content in spring-batch-docs jar #​3922
  • Duplicate entries in the documentation distribution file #​3917

v4.3.3

Compare Source

🐞 Bug fixes

  • SimpleJobRepository should ignore non-identifying JobParameters #​1221
  • Setting item processor property with lambda error #​3749
  • Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder #​3840
  • JdbcCursorItemReaderBuilder defaults verifyCursorPosition to false, but its Javadoc says the opposite #​3893
  • org.springframework.batch.core.JobParameter.toString may return null #​834
  • AvroItemWriter uses GenericDatumWriter instead of SpecificDatumWriter for type that extends SpecificRecordBase #​3859

🚀 Enhancements

  • Replace the list used internally by the ListItemReader (ArrayList -> LinkedList) #​3782

📔 Documentation

  • Improve code example in "Configuring and Running a Job" section #​3888
  • Incorrect code examples in documentation #​3889
  • Fix misused 'end()' in examples #​3902
  • Fix typo in documentation #​3907

v4.3.1

Compare Source

🐞 Bug fixes

  • After restarting a failed job using RunIdIncrementer, all subsequent job launches throw ClassCastException #​3799
  • Use isQuoteCharacter instead of direct char comparison in DelimitedLineTokenizer #​682
  • Incorrect behaviour of RepositoryItemReader#jumpToItem() on restart #​1074
  • Do not throw NPE for job instances without executions #​3798

🚀 Enhancements

  • kafkaTemplate in KafkaItemWriter should be protected #​3802

v4.3.0

Compare Source

⭐ New features

  • Add support to use Java 14 records as items #​3693
  • Add JpaCursorItemReader implementation #​901
  • Add setter for standalone attribute in StaxEventItemWriter #​758
  • Add ability to start reading from a custom offset in KafkaItemReader #​737
  • Add encoding parameter in StaxEventItemReader #​807
  • Add job name tag to spring.batch.job.active metric #​3750
  • Add getUniqueJobParametersBuilder() method in JobLauncherTestUtils #​767
  • Add JobParametersIncrementer implementation based on a DataFieldMaxValueIncrementer #​1521
  • Add SynchronizedItemStreamWriter #​842
  • Add beanRowMapper method to JdbcPagingItemReaderBuilder #​819
  • Add support for named queries in JpaPagingItemReader #​1667
  • Add support for annotation based JobExecutionListener in the JobBuilder #​817
  • Meta-annotate @SpringBatchTest with @ExtendWith(SpringExtension.class) #​3647
  • Set proxyBeanMethods to false on ModularBatchConfiguration and SimpleBatchConfiguration #​3715

🚀 Enhancements

  • Add connection parameter to AbstractCursorItemReader#cleanupOnClose #​735
  • BulkOperations API Implementation for Remove Operations in MongoItemWriter #​3737
  • StaxEventItemReader#isFragmentRootElementName method should be protected #​1020
  • Let FlatFileItemReader comment detection logic be customizable #​1134
  • Performance issues in SimpleJobRepository.getStepExecutionCount #​3657
  • Slow SQL in JdbcStepExecutionDao on Postgres #​3634
  • Improve TransactionAwareBufferedWriter efficiency #​1166
  • Improve performance in JdbcStepExecutionDao #​3710
  • Make RepositoryItemWriter use CrudRepository#saveAll by default #​3720
  • Use BulkOperations API in MongoItemWriter #​3713
  • Add ability to amend trusted classes in Jackson2ExecutionContextStringSerializer #​3765
  • Improve formatting of IllegalArgumentException message thrown by DefaultExecutionContextSerializer #​3636

🐞 Bug fixes

  • Unable to set partitionOffsets in KafkaItemReaderBuilder #​3761
  • SimpleCompletionPolicy should have getChunkSize() method #​3738
  • Unable to set usePersist parameter with JpaItemWriterBuilder #​3655
  • MongoItemReaderBuilder shouldn't be throwing an error related to the limit in query when pageSize is provided #​3673
  • MySQL does not support millisecond accuracy in timestamps #​2202
  • JobLauncherTestUtils doesn't always launch new job instance because generated job parameters aren't unique #​821
  • Unable to set connectionAutoCommit parameter with JdbcCursorItemReaderBuilder #​3717
  • Incorrect Jackson configuration #​3729
  • Setting resource should be optional for JsonItemReaderBuilder #​3731
  • Resource should be optional in StaxEventItemReaderBuilder #​3736
  • StaxEventItemReaderBuilder failing to set name for Reader at build #​3753
  • Conditional (Java configured) steps cannot be scoped #​857
  • Order of Transition Elements Does Not Adhere to Documentation #​3638
  • AbstractSqlPagingQueryProvider Does Not Handle Whitespace Besides the Space Character When Removing Keywords #​765
  • setScriptEvaluator method in ScriptItemProcessor removed in Spring Batch 4 #​768
  • Incorrect error message when no FieldSetMapper is provided #​766
  • AbstractCursorItemReader#doClose() method is not reentrant #​868
  • The constructor of JsonItemReader should call setExecutionContextName() #​3681
  • FaultTolerantChunkProcessor does not collect metrics like SimpleChunkProcessor #​3664
  • FlatFileItemReaderBuilder reports error "Only one LineTokenizer option may be configured" when none are. #​3688
  • Default value of comment prefix in FlatFileItemReaderBuilder is inconsistent with FlatFileItemReader #​753
  • Empty String as delimiter is ignored #​770
  • Regression due to the fix of BATCH-2442 #​775
  • FlatFileItemReaderBuilder does not overrule comment prefixes in returned FlatFileItemReader #​779
  • FlatFileItemWriterBuilder requires a Resource #​887
  • List should be final in CompositeItemStream #​1628
  • Job scoped steps can not be used within FlowBuilder #​670

📔 Documentation

  • Fix typo in spring-batch-intro.adoc #​3755
  • Add flag to show both configuration styles (Java and XML) in reference docs #​572
  • Fix documentation of JobExecutionNotRunningException #​3679
  • Updated spring-doc-resources version to 0.2.2
  • Incorrect reference to stop method in documentation #​3643
  • Improve Javadoc of ItemProcessor regarding the nullability of input items #​3648
  • Misleading code example in reference documentation #​3692
  • The ItemProcessor section in reference docs should be a top level section #​3644
  • Use local storage rather than a cookie #​3653
  • Add flag to show both configuration styles (Java and XML) in reference docs #​572
  • Upgrade versions of Asciidoctor #​3703
  • Add micrometer metrics tags in reference documentation #​3751
  • Add section in docs about how to disable batch metrics #​3684
  • Document non-identifying job parameters #​3633
  • Multiple Job unit testing with @SpringBatchTest #​3699
  • Unable to use Job Scope beans in a multi-threaded or partitioned step #​1335
  • Incorrect table name in Meta-Data Schema appendix #​761
  • Incorrect description of AggregateItemReader in "Appendix A" #​1793
  • It's unclear and confusing that using <skippable-exception-class> element #​1061
  • Wording Fix: domain.adoc #​814
  • Documentation: XSD specifies incorrect type for RetryPolicy #​769
  • Fix dead link to Github in contribution guide #​3642

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 5.3.0
  • Upgrade to Spring Data 2020.0.0
  • Upgrade to Spring Integration 5.4.0
  • Upgrade to Spring AMQP 2.3.0
  • Upgrade to Spring for Apache Kafka 2.6.2
  • Upgrade to micrometer 1.5.6

⚠️ Deprecations

  • Deprecate JobExecution#stop() #​1605
  • Deprecate MultiResourceItemReader#getCurrentResource #​3776
  • Deprecate AbstractNeo4jItemReader #​3777
  • Deprecate org.springframework.batch.item.file.transform.Alignment enum #​3778
  • Deprecate org.springframework.batch.item.xml.StaxUtils #​3779
  • Deprecate the Map-based JobRepository/JobExplorer implementations #​3780
  • Deprecate ScheduledJobParametersFactory #​3781
  • Deprecate support for SqlFire database #​815

❤️ Contributors

We'd like to thank all contributors who helped making this release possible! A special thank to @​dimitrisli and @​parikshitdutta for their numerous contributions to this release!

v4.2.8.RELEASE

Compare Source

🐞 Bug fixes

  • Consider making JobParameters#getParameters() immutable #​3980
  • JdbcPagingItemReader with sort key crashes in multithreaded step for empty query #​3898
  • BatchTestContextCustomizer does not implement hashCode/equals, preventing context caching #​3940
  • "IllegalArgumentException: Only 1 out of 2 arguments could be assigned" using MethodInvokingTaskletAdapter + NamedParameterJdbcTemplate #​3794
  • Remove whitespace to support multiple execution statement #​3861
  • SimpleJobExplorer#getLastJobExecution does not fetch step executions #​3943
  • NPE in JDBC ItemReaders after changes in spring-jdbc's AbstractFallbackSQLExceptionTranslator #​3968

📔 Documentation

  • Fix double "the" typo everywhere in source code #​3977
  • Fix typos in the document for configuring steps #​3965
  • Incorrect content in spring-batch-docs jar #​3922

v4.2.7.RELEASE

Compare Source

🐞 Bug fixes

  • SimpleJobRepository should ignore non-identifying JobParameters #​1221
  • Setting item processor property with lambda error #​3749
  • Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder #​3840
  • JdbcCursorItemReaderBuilder defaults verifyCursorPosition to false, but its Javadoc says the opposite #​3893
  • org.springframework.batch.core.JobParameter.toString may return null #​834
  • AvroItemWriter uses GenericDatumWriter instead of SpecificDatumWriter for type that extends SpecificRecordBase #​3859

🚀 Enhancements

  • Replace the list used internally by the ListItemReader (ArrayList -> LinkedList) #​3782

📔 Documentation

  • Improve code example in "Configuring and Running a Job" section #​3888
  • Incorrect code examples in documentation #​3889
  • Fix misused 'end()' in examples #​3902

v4.2.5.RELEASE

Compare Source

🐞 Bug fixes

  • Setting resource should be optional for JsonItemReaderBuilder #​3731
  • Resource should be optional in StaxEventItemReaderBuilder #​3736
  • StaxEventItemReaderBuilder failing to set name for Reader at build #​3753
  • Job scoped steps can not be used within FlowBuilder #​670
  • After restarting a failed job using RunIdIncrementer, all subsequent job launches throw ClassCastException #​3799
  • Use isQuoteCharacter instead of direct char comparison in DelimitedLineTokenizer #​682
  • Incorrect behaviour of RepositoryItemReader#jumpToItem() on restart #​1074
  • Do not throw NPE for job instances without executions #​3798

🚀 Enhancements

  • kafkaTemplate in KafkaItemWriter should be protected #​3802

📔 Documentation

  • Fix typo in spring-batch-intro.adoc #​3755

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited Mar 19, 2024 by Renovate Bot
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: renovate/all