⭐ New features
- Add ability to configure Mongo sequence incrementers #5018
- Remove usage of Micrometer's global static meter registry #4968
- Migrate to JSpecify annotations for nullability constraints #4673
🚀 Enhancements
- Segregate StepLocator methods in a sub interface #5015
- Move infrastructure APIs under a specific package #5014
- Revisit exception declaration in public APIs #5013
- Move built-in job parameter incrementers to the org.springframework.batch.core.job.parameters package #5011
- Broken encapsulation of job parameter attributes #5010
- Incorrect nullability definition in public APIs input #4989
- Update retrieval methods with clear nullability semantics #4988
- Incorrect default constructor in AbstractStep #4984
- Documentation for disabling spring batch metrics is incomplete #4800
- Make domain model entities immutable #1870
🐞 Bug fixes
- Error in the metrics registration with a meter registry customization #4759
- Activation of Actuator & Prometheus rise a WARN in the log due to bad configuration #4753
🔨 Tasks
- Deprecate JobRepository#getStepExecution(long jobExecutionId, long stepExecutionId) #5007
- Deprecate the batch XML namespace #4843
- Deprecate JUnit 4 support #4816
- Update Micrometer's Prometheus support to version 1.x #4689
❤️ Contributors
Thank you to all the contributors who worked on this release!
Full change log: v6.0.0-M3...v6.0.0-M4