⭐ Features
- Create Maven BOM for Spring Batch modules #1097
- Allow Lambdas to be passed as item processors in Java DSL #4061
- Best to distinguish
CreateTime
andStartTime
inStepExecution
#4049 - Make charset configurable in
JdbcExecutionContextDao
#795
🚀 Enhancements
- Add
@Nullable
where appropriate inJobExecution
andStepExecution
#4077 - Change default encoding to UTF-8 in
JdbcExecutionContextDao
#3983 - Add
java.util.UUID
to the trusted classes list inJackson2ExecutionContextStringSerializer
#4110 AbstractFileItemWriter
should support java.nio #756- Make JUnit4 dependency optional in
spring-batch-test
#4033
🐞 Bug fixes
FixedLengthTokenizer
wrong tokenization with UTF-8 extended characters #3714- Inconsistent default encoding in
FlatFileItemReader
andFlatFileItemWriter
#1154 StaxEventItemWriter.unclosedHeaderCallbackElements
prevents new job execution #4044- Circular reference error when autowiring
JobBuilderFactory
#3991 - NPE when creating
MongoItemReader
using a builder without specifying sorting #4082
🔨 Dependency Upgrades
- Upgrade to Spring Framework 6.0.0-M4
- Upgrade to Spring Data 2022.0.0-M4
- Upgrade to Spring Integration 6.0.0-M3
- Upgrade to Spring AMQP 3.0.0-M3
- Upgrade to Spring for Apache Kafka 3.0.0-M4
- Upgrade to Micrometer 1.10.0-M2
📔 Documentation
- Incorrect documentation in "4.6.6 Abort a job" section #4037
- Editing pass for Javdocs #4096 #4090
- Editing pass for reference docs #4083
- Fix Javadoc of
SpringBatchTest
annotation #4102
❤️ Contributors
We'd like to thank all contributors who helped in making this release possible!
Full Changelog: 5.0.0-M2...5.0.0-M3