⭐ New Features
- Add
FunctionalInterface
annotation where appropriate #4107 - Add
FieldExtractor
implementation for Java records #4159 - Configure the right
FieldExtractor
based on the type of items inFlatFileItemWriterBuilder
#4161 - Configure the right
FieldSetMapper
based on the type of items inFlatFileItemReaderBuilder
#4160 - Change transaction manager type to
JdbcTransactionManager
in default batch configuration #4126
🚀 Enhancements
- Replace deprecated
IntegrationFlows
#4155 - Rename
SimpleJobLauncher
toTaskExecutorJobLauncher
#4123 - Reduce use of deprecated APIs #4120
🐞 Bug Fixes
- Unable to build the project without an internet connection #4152
- Add missing initialized flag set to
FlowJob
#4142 - Unable to register an annotation-based
StepExecutionListener
in a fault-tolerant step #4137 - Fix tests catching nested exceptions #4136
- Unable to read XML data without spring-tx in the classpath #4132
- Maven surefire uses wrong provider for Spring Batch Core #4121
- Lost transactionAttribute when using chaining StepBuilder #3686
- ItemReadListener not being correctly registered after adding a StepExecutionListener #773
- Cannot subclass final class
com.sun.proxy.$Proxy202
#793 StepBuilderFactory
Only Supports Listener Annotations, Not Listener Interfaces #1098
🔨 Dependency Upgrades
- Upgrade to Spring Framework 6.0.0-M5
- Upgrade to Spring Data 2022.0.0-M5
- Upgrade to Spring Integration 6.0.0-M4
- Upgrade to Spring AMQP 3.0.0-M3
- Upgrade to Spring for Apache Kafka 3.0.0-M5
- Upgrade to Micrometer 1.10.0-M3
- Upgrade to Hibernate 6.1.1.Final
📔 Documentation
- Add package-info.java to integration #4141
- Editing pass #4163
- Javadoc editing #4158
- Improve Javadocs #4129
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 5.0.0-M3...5.0.0-M4