Skip to content
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

chore(deps): update dependency org.springframework.batch:spring-batch-test to v5.2.0 #800

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework.batch:spring-batch-test (source) 4.3.10 -> 5.2.0 age adoption passing confidence
org.springframework.batch:spring-batch-test (source) 5.1.2 -> 5.2.0 age adoption passing confidence

Release Notes

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

v5.2.0

⭐ New features

  • Add support for MongoDB as JobRepository #​877
  • Introduce a resourceless job repository implementation #​4679
  • Add adapters for Java functional interfaces #​4672
  • Add ability to customize the job parameters converter in the default batch configuration #​4650
  • Add CompositeItemReader analogous to CompositeItemWriter and CompositeItemProcessor #​757
  • Allow dependent steps to start concurrently #​2044
  • Add blocking queue item reader/writer to enable implementing the staged event-driven architecture in batch jobs #​2350
  • 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
  • Add JobRegistrySmartInitializingSingleton #​4521
  • Add DatabaseType POSTGRES for the product name EnterpriseDB #​4627
  • Revisit the mechanism of job registration #​4547

🐞 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
  • Wrong column types in JdbcStepExecutionDao #​4648
  • MongoStepExecutionDao returns an different stepExecution if a job has multiple steps MongoStepExecutionDao returns an different stepExecution if a job has multiple steps spring-projects-experimental/spring-batch-experimental#3

🚀 Enhancements

  • Bad performance of GET_LAST_STEP_EXECUTION query on DB2 with large STEP_EXECUTION table #​4657
  • 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
  • Missing @FunctionalInterface in JobKeyGenerator #​4613
  • Proper default value for skipLimit #​4661

📔 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
  • Missing documentation about MultiResourceItemWriter not creating empty files when no data goes through delegates #​4645
  • Typo in the documentation chapter Spring Batch Integration #​4649

🆙 Dependency Upgrades

  • Spring Framework: 6.2.0
  • Spring Retry: 2.0.10
  • Micrometer: 1.14.1
  • Spring Integration: 6.4.0
  • Spring AMQP: 3.2.0
  • Spring Kafka: 3.3.0
  • Spring Data: 3.4.0
  • Spring Ldap: 3.2.8

🔨 Tasks

  • Deprecate the usage of LobHandler #​4588
  • Deprecate SystemPropertyInitializer #​4680
  • 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: spring-projects/spring-batch@v5.1.2...v5.2.0

v5.1.2

🐞 Bug fixes

  • Incorrect Chunk property value in implementation of ItemWriter write method #​4560
  • SystemCommandTasklet does not propagate errors #​4483
  • Remote partitioning doesn't work if you're using graalvm #​4564
  • SimpleBinaryBufferedReaderFactory misses line endings #​811
  • Memory leak in MessageChannelPartitionHandler when polling the database #​4598

🚀 Enhancements

  • Improve Error Messages in JobParametersBuilder methods #​4581

📔 Documentation

  • Reference Documentation Uses Deprecated Class StepExecutionListenerSupport #​4538
  • Incorrect code example in documentation #​4550
  • Misleading documentation on ItemWriteListener #​4400
  • Code sample uses deprecated StepBuilderFactory #​4582
  • Typo in java-config.adoc #​4591
  • Incorrect link in appendix #​4595

🆙 Dependency Upgrades

  • Spring Framework: 6.1.7
  • Spring Retry: 2.0.6
  • Micrometer: 1.12.6
  • Spring Integration: 6.2.5
  • Spring AMQP: 3.1.5
  • Spring Kafka: 3.1.5
  • Spring Data: 3.2.6
  • Spring Ldap: 3.2.3

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.1.1...v5.1.2

v5.1.1

⭐ New features

  • Add JobRegistrySmartInitializingSingleton #​4521

🐞 Bug fixes

  • Incorrect error message in JobOperatorFactoryBean #​4528
  • DefaultJobParametersConverter throws java.lang.ArrayIndexOutOfBoundsException if input is empty string #​4505
  • JobRepository.deleteJobInstance() Fails with Foreign Key Constraint Violation if Job Executions have Step Executions #​4382
  • Incorrect step configuration when setting the taskExecutor before faultTolerant() #​4438
  • Incorrect deprecation in MongoPagingItemReader #​4552

🚀 Enhancements

  • Check dirty flag of step execution context before update in inner loop #​4503

📔 Documentation

  • Incorrect Type of getter in Documentation for JobParameters#getDouble #​4526
  • Broken link to Spring Batch docs #​4498
  • UI Aligment Issue - Spring Batch Version Number in Docs #​4534

🆙 Dependency Upgrades

  • Spring Framework: 6.1.4
  • Spring Retry: 2.0.5
  • Spring Integration: 6.2.2
  • Spring Data: 3.2.3
  • Spring AMQP: 3.1.2
  • Spring Kafka: 3.1.2
  • Micrometer: 1.12.3

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.1.0...v5.1.1

v5.1.0

⭐ New features

  • Add support for Virtual Threads #​4399
  • Add synchronized decorators for non-stream item readers/writers #​4368
  • Add option to clear the persistence context in JpaItemWriter #​804
  • Add cursor-based ItemReader for MongoDB #​4323
  • Add support for bulk inserts in MongoItemWriter #​4149
  • Provide accessors in MongoItemWriter to facilitate extensions #​3973
  • Add item reader for Redis #​4446
  • Add item writer for Redis #​3957
  • Add ability to start a job flow definition with a decider #​4411
  • Add support to specify the database type through EnableBatchProcessing #​4320
  • Auto-configure JobRegistryBeanPostProcessor with EnableBatchProcessing and DefaultBatchConfiguration #​4245
  • Add support for Java Date and Time API types serialization in Jackson2ExecutionContextStringSerializer #​3952
  • Add option to provide a custom JobKeyGenerator in JdbcJobInstanceDao #​3926
  • Access to update counts in JdbcBatchItemWriter #​3829
  • Add setter for ObservationConvention in StepBuilder/JobBuilder #​4401

🚀 Enhancements

  • Public access to AbstractItemCountingItemStreamItemReader.getCurrentItemCount #​1639
  • Add java.util.concurrent.ConcurrentHashMap to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4407
  • Add java.sql.Date to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4407
  • Auto-detect the class/interface to be mocked #​4426
  • Inaccurate exception message in SimpleJobRepository #​4025
  • Expose the internal map in ExecutionContext as read-only #​4004
  • Add support for quotes in DelimitedLineAggregator #​1139
  • Provide better error message in StaxEventItemReader if Resource does not exist #​1171
  • Add getters for DAOs in SimpleJobExplorer #​1598
  • Use separate parameters for short_context length and exit_message length #​1617
  • Expose targetObject and targetMethod in AbstractMethodInvokingDelegator #​1786
  • Create versions of samples using Java configuration #​3663
  • Improve the issue reporting process #​4329
  • Replace deprecated RetryListenerSupport #​4453
  • Use more SynchronizedItemReader in tests #​4452
  • Take care of some deprecations #​4454

🐞 Bug fixes

  • Invalid migration script for H2 #​4390
  • Incorrect drop statements in SQLServer DDL script #​4373
  • SplitBuilder.add(Flow) causes hung execution in some cases #​3857
  • Incorrect thread usage in SynchronizedItemStreamReaderTests #​837
  • Concurrent execution of FlowJob may cause FlowExecutionException #​4092
  • Switching incrementers causes jobs to have old job parameters #​4073
  • Missing setter for strict field in DelimitedBuilder #​809
  • DefaultJobParametersExtractor no longer copies keys from JobParameters when not contained in ExecutionContext #​4458
  • job scope bean doesn't cleanup in unit test #​1288
  • NullPointerException in RepeatTemplate#doHandle() when unwrapIfRethrown() returns null if logging in DEBUG #​1123
  • Starting a flow with Flow#next makes the first step execute twice #​4432

📔 Documentation

  • Incorrect Javadoc in SimpleStepBuilder #​4402
  • Document the type and name of the surrounding job in JobLauncherTestUtils#launchStep #​3825
  • Fix typo in SimpleMailMessageItemWriter Javadoc #​4381
  • Fix javadoc errors and warnings #​1624
  • Migrate documentation to Antora #​4422
  • Ambiguous description of "Configuring a JobRepository" #​4333
  • Add Two minutes tutorial to the README #​4329
  • Update the Getting started guide #​4329
  • Broken code samples in reference documentation for Job/Step beans with v5 API #​4406
  • Improve developer experience for conditional flows #​4460
  • Incorrect Javadoc in DefaultFieldSet and DefaultFieldSetFactory #​4494
  • Incorrect JavaDoc for Methods returning JobFlowBuilder in JobBuilder #​4415
  • Update documentation about serializable keys in the execution context #​4457
  • Improve configuration style toggle in documentation #​4357
  • Improve the getting started experience with Spring Batch #​4329
  • Reinstate and Update FAQ page #​3878
  • Outdated Meta-data ERD #​4358
  • Documentation unclear on how to replace deprecated AbstractTaskletStepBuilder#throttleLimit #​4389

🔨 Tasks

  • Build failure when the default charset of the JVM is not UTF-8 #​4417
  • Rename MongoItemReader to MongoPagingItemReader #​4341
  • Deprecate jobRepository method in JobBuilderHelper & StepBuilderHelper #​4326
  • Add Automatic-Module-Name to MANIFEST.MF in all components #​867
  • Deprecate overrides of StepBuilderHelper#repository for removal #​4495

🔨 Dependency upgrades

  • Spring Framework 6.1.0
  • Spring Integration 6.2.0
  • Spring Data 3.2.0
  • Spring LDAP 3.2.0
  • Spring AMQP 3.1.0
  • Spring Kafka 3.1.0
  • Micrometer 1.12.0

❤️ Contributors

Thank you to all the contributors who worked on this release!

@​IlyaNerd, @​ParadiseCHOI, @​benelog, @​rwinch, @​cppwfs, @​sjh836, @​hpoettker, @​jwillebrands, @​hwan33, @​bio-engineer, @​injae-kim, @​morenomjc, @​LichKing-lee, @​santfirax, @​acktsap, @​sukanth, @​seonwoo960000, @​robertmcnees, @​cgrings, @​juchanei, @​lsq27, @​scordio, @​CNJingo, @​woniper, @​pranavjandu


Full change log: spring-projects/spring-batch@v5.0.3...v5.1.0

v5.0.6

🐞 Bug fixes

  • Incorrect Chunk property value in implementation of ItemWriter write method #​4560
  • SystemCommandTasklet does not propagate errors #​4483
  • Remote partitioning doesn't work if you're using graalvm #​4564
  • SimpleBinaryBufferedReaderFactory misses line endings #​811
  • Memory leak in MessageChannelPartitionHandler when polling the database #​4598

🚀 Enhancements

  • Improve Error Messages in JobParametersBuilder methods #​4581

📔 Documentation

  • Reference Documentation Uses Deprecated Class StepExecutionListenerSupport #​4538
  • Incorrect code example in documentation #​4550
  • Misleading documentation on ItemWriteListener #​4400
  • Code sample uses deprecated StepBuilderFactory #​4582
  • Typo in java-config.adoc #​4591

🆙 Dependency Upgrades

  • Spring Framework: 6.0.20
  • Spring Retry: 2.0.6
  • Spring AMQP: 3.0.14
  • Spring Kafka: 3.0.17

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.0.5...v5.0.6

v5.0.5

🐞 Bug fixes

  • Incorrect error message in JobOperatorFactoryBean #​4528
  • DefaultJobParametersConverter throws java.lang.ArrayIndexOutOfBoundsException if input is empty string #​4505
  • JobRepository.deleteJobInstance() Fails with Foreign Key Constraint Violation if Job Executions have Step Executions #​4382
  • Incorrect step configuration when setting the taskExecutor before faultTolerant() #​4438

🚀 Enhancements

  • Check dirty flag of step execution context before update in inner loop #​4503

📔 Documentation

  • Incorrect Type of getter in Documentation for JobParameters#getDouble #​4526

🆙 Dependency Upgrades

  • Spring Framework: 6.0.17
  • Spring Retry: 2.0.5
  • Spring AMQP: 3.0.11
  • Spring Kafka: 3.0.14

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.0.4...v5.0.5

v5.0.4

🐞 Bug fixes

  • Starting a flow with Flow#next makes the first step execute twice #​4432
  • DefaultJobParametersExtractor no longer copies keys from JobParameters when not contained in ExecutionContext #​4458
  • job scope bean doesn't cleanup in unit test #​1288
  • NullPointerException in RepeatTemplate#doHandle() when unwrapIfRethrown() returns null if logging in DEBUG #​1123

🚀 Enhancements

  • Inaccurate exception message in SimpleJobRepository #​4025
  • Remove unnecessary expressions in AsyncItemWriter #​4009

📔 Documentation

  • Documentation unclear on how to replace deprecated AbstractTaskletStepBuilder#throttleLimit #​4389
  • Outdated Meta-data ERD #​4358
  • Incorrect JavaDoc for Methods returning JobFlowBuilder in JobBuilder #​4415
  • Incorrect Javadoc in DefaultFieldSet and DefaultFieldSetFactory #​4494
  • Update documentation about serializable keys in the execution context #​4457

🆙 Dependency Upgrades

  • Spring Framework: 6.0.14
  • Spring Retry: 2.0.4
  • Spring AMQP: 3.0.10
  • Spring Data: 3.0.12
  • Spring Integration: 6.0.9
  • Spring Kafka: 3.0.13
  • Spring LDAP: 3.0.6
  • Micrometer: 1.10.13

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.0.3...v5.0.4

v5.0.3

🐞 Bug fixes

  • Incorrect drop statements in SQLServer DDL script #​4373
  • Invalid migration script for H2 #​4390
  • Concurrent execution of FlowJob may cause FlowExecutionException #​4092

🚀 Enhancements

  • Auto-detect the class/interface to be mocked #​4426
  • Add java.util.concurrent.ConcurrentHashMap to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4407
  • Add java.sql.Date to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4407

📔 Documentation

  • Incorrect Javadoc in SimpleStepBuilder #​4402
  • Document the type and name of the surrounding job in JobLauncherTestUtils#launchStep #​3825
  • Fix typo in SimpleMailMessageItemWriter Javadoc #​4381
  • Fix javadoc errors and warnings #​1624

🔨 Tasks

  • Build failure when the default charset of the JVM is not UTF-8 #​4417

🆙 Dependency Upgrades

  • Spring Framework: 6.0.11
  • Spring Retry: 2.0.2
  • Spring AMQP: 3.0.8
  • Spring Data: 3.0.9
  • Spring Integration: 6.0.7
  • Spring Kafka: 3.0.10
  • Spring LDAP: 3.0.5
  • Micrometer: 1.10.10

❤️ Contributors

Thank you to all the contributors who worked on this release!


Full change log: spring-projects/spring-batch@v5.0.2...v5.0.3

v5.0.2

⭐ New features

  • Allow StaxEventItemReader to auto-detect the input file encoding #​4101

🚀 Enhancements

  • Disable Docker-based tests when Docker is not available #​4360
  • JobParameters should use LinkedHashMap instead of HashMap #​4179
  • Slow Query in JdbcJobInstanceDao.getLastJobInstance() #​4024
  • Make KafkaItemWriter extensible and document its thread-safety #​3970
  • Upgrade to Mockito 5 #​4366
  • Enhance switch statements #​4365
  • Change visibility of properties in JdbcPagingItemReaderBuilder #​4331
  • Reduce use of deprecated APIs #​4334
  • Add SafeVarargs annotations #​4335

🐞 Bug fixes

  • Incorrect v5 migration script for SQLServer #​4349
  • Implement equals and hashCode in Chunk class #​4314
  • Incorrect retrieval of job parameters in SimpleJobExplorer#getJobExecutions #​4246

📔 Documentation

  • Fix BATCH_STEP_EXECUTION DDL #​4356
  • Fix for the XML/Java switch regression #​4355
  • Documentation Update to scalability.adoc #​4338
  • Fix tiny misspelling in the sybase integration test comments #​4313
  • Missing instruction about accessing historical data in the migration guide #​4352
  • Document Thread Safety of item readers and writers #​3646
  • Missing DDL migration script related to BATCH_STEP_EXECUTION table in v5 migration guide #​4332
  • Incorrect type of date/time fields in documentation #​4324
  • Asciidoctor errors #​4168

🔨 Tasks

  • Forks fail on GitHub Actions Continuous Inspection Build #​4346
  • Intermittent failure in AsynchronousTests#testRollback #​4095
  • Intermittent failure in ConcurrentTransactionAwareProxyTests on windows #​3847

🆙 Dependency Upgrades

  • Spring Framework: 6.0.9
  • Spring Retry: 2.0.1
  • Spring AMQP: 3.0.4
  • Spring Data: 3.0.6
  • Spring Integration: 6.0.5
  • Spring Kafka: 3.0.7
  • Spring LDAP: 3.0.3
  • Micrometer: 1.10.7

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Buzzardo, @​Ditscheridou, @​cppwfs, @​hpoettker, @​jamesrwoodruff, @​kajsa, and @​viviennes7


Full change log: spring-projects/spring-batch@v5.0.1...v5.0.2

v5.0.1

🐞 Bug fixes

  • Missing AOT Hint for JobOperator in Batch 5.0.0 #​4248
  • Missing AOT hints for for types associated with remote chunking #​4307
  • @​StepScope not working when XML namespace activated #​3936
  • Incorrect API contract of JobRepository.deleteJobInstance #​4250
  • SimpleJobRepository.deleteJobExecution does not follow API contract #​4249
  • Inconsistent state validation rules between RepositoryItemReader and RepositoryItemReaderBuilder #​4276
  • ClassCastException in RepositoryItemReader when using Slice instead of Page #​4115
  • Disable BatchTestContextCustomizer after AOT processing #​4286
  • Outdated contract of APIs accepting job parameters as String #​4301
  • ArrayIndexOutOfBoundsException when invoke SimpleJobOperator.start #​4253
  • Cannot run job with LocalDate(Time) job parameters #​4257
  • Illegal argument exception when querying running jobs with Date() parameter #​4270
  • ConversionFailedException when using java.util.Date job parameter #​4297
  • Incorrect handling of default parameter type in JsonJobParametersConverter #​4299
  • Incorrect handling of file deletion in File-based writers #​4203
  • Incorrect notNull assertion on parameter type in JobParameter #​4263
  • Invalid Oracle migration script in 5.0 #​4271
  • Invalid Postgresql migration script in 5.0 #​4260

🚀 Enhancements

  • High memory consumption during long running jobs #​3790
  • Use batch inserts for job parameters #​3867
  • Add default component name in constructor of AvroItemReader #​4285
  • Implement equals and hashCode in Chunk class #​4296
  • Add final modifier to fields of RunIdIncrementer and Job/Step BuilderFactory APIs #​4143
  • Use ExecutionContext map constructor #​3985
  • Optimize ExitStatus#addExitDescription #​3979
  • Spring 6.0.1 and newer requires/prefers compilation with "-parameters" #​4258
  • Remove unused method #​4256

📔 Documentation

  • Incorrect version in Javadoc's since tag of DefaultBatchConfiguration #​4312
  • Indent of Javadoc codes are mixed #​4234
  • Fix typos in Javadocs #​4295
  • Incorrect reference to AbstractJobTests in documentation #​4182
  • Architecture html docs are missing diagrams #​4268
  • Changes to BATCH_JOB_EXECUTION_PARAMS are incorrectly specified in the migration guide #​4259
  • Fix double "before" typo #​4281
  • Incorrect code samples in reference documentation #​4262
  • Fix typo tnew to new in adoc files #​4283

🆙 Dependency Upgrades

  • Spring Framework: 6.0.5
  • Spring Retry: 2.0.0
  • Spring AMQP: 3.0.2
  • Spring Data: 3.0.2
  • Spring Integration: 6.0.3
  • Spring Kafka: 3.0.3
  • Spring LDAP: 3.0.1
  • Micrometer: 1.10.4

🔨 Tasks

  • Move build process to Github Actions #​4128
  • Incorrect deployment descriptor of spring-batch-docs in Artifactory #​4109
  • Deprecate JobOperator.start(String, String) #​4304
  • Deprecate MetaDataInstanceFactory#createJobExecution #​4303
  • Intermittent failure in TaskExecutorRepeatTemplateAsynchronousTests #​3866
  • Intermittent failure in FaultTolerantStepFactoryBeanRollbackTests.testMultithreadedSkipInWriter #​1278
  • Add "v" prefix to git tag names #​4183

❤️ Contributors

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


Full change log: spring-projects/spring-batch@v5.0.0...v5.0.1

v5.0.0

Please refer to the migration guide for more details about upgrade instructions.

⭐ New Features

  • Upgrade minimum Java version to 17 #​3994
  • Add setter with a strongly typed parameter for the transaction isolation level type #​4032
  • Add getDataSource method to DefaultBatchConfigurer #​3872
  • Add Micrometer Observation API usage #​4065
  • Integrate SAP Hana as supported Spring Batch database #​1087
  • Create Maven BOM for Spring Batch modules #​1097
  • Allow Lambdas to be passed as item processors in Java DSL #​4061
  • Best to distinguish CreateTime and StartTime in StepExecution #​4049
  • Make charset configurable in JdbcExecutionContextDao #​795
  • Add FunctionalInterface annotation where appropriate #​4107
  • Add FieldExtractor implementation for Java records #​4159
  • Configure the right FieldExtractor based on the type of items in FlatFileItemWriterBuilder #​4161
  • Configure the right FieldSetMapper based on the type of items in FlatFileItemReaderBuilder #​4160
  • Change transaction manager type to JdbcTransactionManager in default batch configuration #​4126
  • Add support to customize transaction attributes #​4195
  • Add support to configure the transaction manager in SimpleJobOperator #​1078
  • Add support to configure the transaction manager in SimpleJobExplorer #​1307
  • Revisit the configuration of infrastructure beans with @EnableBatchProcessing #​3942
  • Add native-image support for AbstractJobRepositoryFactoryBean #​4144
  • Add native hints for Spring Batch #​4187
  • Use the Chunk API consistently #​3954
  • Parameter types improvement #​2122
  • Support Java 8 Dates for Job Parameters #​1035
  • Improve testability of SystemCommandTasklet #​3955
  • String array command with SystemCommandTasklet #​752
  • Add Spring Batch version in the execution context #​4215
  • Add native reflection hints for StepContext and JobContext #​4228
  • Add Micrometer counter for job launches in JobLauncher #​4226
  • Add full support for MariaDB as a separate product #​3891
  • Auto-configure SimpleJobOperator with EnableBatchProcessing and DefaultBatchConfiguration #​3941
  • Add method getJobInstance in JobExplorer/JobRepository/JobOperator #​3930

🚀 Enhancements

  • Remove the unconditional exposure of the transaction manager as a bean #​3981
  • SQL Server Auto-generated Schema - TEXT data type deprecated: #​864
  • Deprecate support classes implementing interfaces with default methods #​3925
  • Add default methods in interfaces #​3924
  • JobParameter must not accept null values #​3913
  • FlatFileItemWriter now uses charset to determine default encoding #​3910
  • FlatFileItemReader and FlatFileItemWriter don't have the same default encoding #​1154
  • Avoid string conversion in ExecutionContextSerializer tests #​3986
  • Make ScopeConfiguration publicly accessible #​3958
  • In JOB_PARAMS table DATE_VAL column is updated incorrectly Like "1/1/1970 1:00:00.000000 AM" instead to the current date #​1577
  • Use default methods in TestExecutionListener #​3909
  • refactor: simplify boolean expression #​3945
  • Remove Reflection from StepScopeTestExecutionListener #​3908
  • Replace deprecated TransactionSynchronizationAdapter #​3874
  • Remove double brace initialization #​3868
  • Fix some raw types #​3803
  • Don't call wrapper constructors directly #​3800
  • Replace Assert.assertThat with MatcherAssert.assertThat #​3804
  • Replace #initMocks with MockitoRule #​3805
  • Refactor deprecated extractDatabaseMetaData #​3873
  • Simplify GET_LAST_STEP_EXECUTION #​3997
  • Make countStepExecutions access batch_job_execution only once #​3876
  • Adjust h2 schema to work with v2.0.x #​4043
  • Adjust H2PagingQueryProvider to work with v2.x #​4047
  • Require spring-jdbc in core module #​4048
  • Rename setJobIncrementer to setJobInstanceIncrementer in JdbcJobInstanceDao #​3929
  • Rename schema-oracle10g to schema-oracle #​1057
  • Constructors with var args/Lists #​686
  • Remove benign [WARNINGS] from batch build #​4066
  • MongoItemReader#setSort check its argument #​4014
  • Collection's empty data check using CollectionUtils.isEmpty #​4021
  • Add @Nullable to StepExecution::endTime #​4034
  • Remove SQLLite Batch database tables before starting tests #​4063
  • Add @Nullable where appropriate in JobExecution and StepExecution #​4077
  • Change default encoding to UTF-8 in JdbcExecutionContextDao #​3983
  • Add java.util.UUID to the trusted classes list in Jackson2ExecutionContextStringSerializer #​4110
  • AbstractFileItemWriter should support java.nio #​756
  • Make JUnit4 dependency optional in spring-batch-test #​4033
  • Replace deprecated IntegrationFlows #​4155
  • Rename SimpleJobLauncher to TaskExecutorJobLauncher #​4123
  • Reduce use of deprecated APIs #​4120
  • Migrate tests to JUnit Jupiter #​4166
  • Remove the dependency to JUnit in AssertFile [#​4112](https

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.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Nov 22, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@cj848 cj848 merged commit d9a660e into develop Nov 22, 2024
4 checks passed
@cj848 cj848 deleted the renovate/org.springframework.batch-spring-batch-test-5.x branch November 22, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant