Skip to content

Spring Batch 6.0 Migration Guide

Mahmoud Ben Hassine edited this page Jun 9, 2025 · 1 revision

This document is meant to help you migrate your applications to Spring Batch 6.0.

Major changes

JDK baseline

Spring Batch 6 does not change the minimum required Java version which remains Java 17+.

Dependencies upgrade

Spring Batch 6 upgrades dependencies to the following versions:

  • Spring Framework 7
  • Spring Integration 4
  • Spring Data 4
  • Spring AMQP 4
  • Spring for Apache Kafka 4
  • Micrometer 1.15

Database schema updates

TBD

Infrastructure beans configuration with @EnableBatchProcessing

TBD

Deprecated APIs

The following APIs have been deprecated in version 6.0:

TBD

Please refer to the Javadoc of each API for more details about the suggested replacement.

Moved APIs

TBD

Removed APIs

The following APIs were deprecated in previous versions and have been removed in this release:

TBD

Moreover, the following APIs have been removed/updated without deprecation:

TBD

Pruning

TBD

Clone this wiki locally