Mahmoud Ben Hassine

Mahmoud Ben Hassine

I am a software engineer at VMware, currently working as the project lead of Spring Batch.

I am an OSS advocate and I have contributed to several open source projects. I enjoy spending time with my family and friends, reading, running and playing chess!

Blog posts by Mahmoud Ben Hassine

Spring Batch 5.2.0 goes GA!

Releases | November 20, 2024 | ...

On behalf of the team and all contributors, I am pleased to announce that Spring Batch 5.2 is now generally available from Maven Central. This blog post walks you through the major additions in this release. For the complete list of changes, please refer to the release notes.

Major Highlights

The major highlights of this release are the following:

  • Dependencies upgrade
  • MongoDB job repository support
  • New resourceless job repository
  • Composite item reader implementation
  • New adapters for java.util.function APIs
  • Concurrent steps with blocking queue item reader and writer
  • Query hints support in JPA item readers
  • Data class support in JDBC item readers
  • Job registration improvements

Spring Batch 5.2.0-RC1 is out!

Releases | October 25, 2024 | ...

On behalf of the team and all contributors, I am pleased to announce that the first release candidate of Spring Batch 5.2 is now available from our milestones repository.

This release marks the feature freeze milestone of version 5.2 and comes with a number of bug fixes, dependencies upgrades and documentation enhancements. For the complete list of changes, please check the release notes.

What's next?

First, I would like to thank all contributors who had a role in this release! Spring Batch 5.2.0-RC1 comes with Spring Boot 3.4.0-RC1.

We will continue our work of making this release candidate as stable as possible towards a GA in November 2024. We look forward to your feedback on Github Issues, Github Discussions, Twitter, and StackOverflow

Spring Batch 5.2.0-M2 is available now!

Releases | October 11, 2024 | ...

I am pleased to announce that the second milestone of Spring Batch 5.2 is now available from our milestones repository. This blog post walks you through the main changes in Spring Batch 5.2:

  • MongoDB job repository support
  • New resourceless job repository
  • Composite item reader implementation
  • New adapters for java.util.function APIs
  • Concurrent steps with blocking queue item reader and writer

For the complete list of changes, please check the release notes.

MongoDB job repository support

This release introduces the first NoSQL job repository implementation which is backed by MongoDB. Similar to…

Spring Batch 5.2.0-M1 is out!

Releases | September 18, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that the first milestone of Spring Batch 5.2 is now available from our milestones repository. This blog post walks you through the main changes in Spring Batch 5.2:

  • Dependencies upgrade
  • Query hints support in JPA item readers
  • Data class support in JDBC item readers
  • Configurable line separator in RecursiveCollectionLineAggregator
  • Job registration improvements

For the complete list of changes, please check the release notes.

Dependencies upgrade

In this release, the Spring dependencies are upgraded to the…

Spring Batch 5.0.6 and 5.1.2 available now

Releases | May 22, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.0.6 and 5.1.2 are available now from Maven Central!

These patch releases come with a number of bug fixes, improvements and dependencies updates. You can find the release notes of each version here: 5.0.6 and 5.1.2.

We look forward to your feedback on Github Issues, Github Discussions, Twitter, and StackOverflow.

Spring Batch Home|Source on Github|Reference documentation

Spring Batch 5.0.5 and 5.1.1 available now

Releases | February 21, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.0.5 and 5.1.1 are available now from Maven Central!

These patch releases come with a number of bug fixes, improvements and dependencies updates. You can find the release notes of each version here: 5.0.5 and 5.1.1.

We look forward to your feedback on Github Issues, Github Discussions, Twitter, and StackOverflow.

Spring Batch Home|Source on Github|Reference documentation

Spring Batch 5.1 GA, 5.0.4 and 4.3.10 available now!

Releases | November 23, 2023 | ...

On behalf of the team and all contributors, I am pleased to announce that Spring Batch 5.1.0, 5.0.4 and 4.3.10 are now available from Maven Central repository.

Versions 5.0.4 and 4.3.10 are drop-in replacements for their respective previous patch releases and come with bug fixes, documentation improvements and dependency updates. You can find the complete list of changes in the release notes: 5.0.4 and 4.3.10.

This blog post is more about Spring Batch 5.1, which includes a number of improvements and new features:

  • Dependencies upgrade
  • Virtual Threads support
  • Memory management improvement in the JpaItemWriter
  • New synchronized decorators for item readers and writers
  • New cursor-based MongoItemReader
  • Bulk inserts support in MongoItemWriter
  • New item reader and writer for Redis
  • Automatic configuration of JobRegistryBeanPostProcessor
  • Ability to start a job flow with a decision
  • Ability to provide a custom JobKeyGenerator
  • MongoDB Job Repository (Experimental)
  • Composite Item Reader (Experimental)
  • New documentation based on Antora
  • Revamped samples
  • Enhanced issue reporting guide

Spring Batch 5.1 RC1 is out!

Releases | October 18, 2023 | ...

I am pleased to announce that the first release candidate of Spring Batch 5.1 is now available from our milestone repository.

The main theme of this release is improving the getting started experience of our users. This blog post walks you through the main improvements:

  • Updated getting started guides
  • Revamped samples
  • Enhanced issue reporting guide
  • Dependencies upgrades

For the complete list of changes, please check the release notes.

Updated getting started guides

The Getting started guide has been around for a long time and served well as a showcase of how to use Spring Batch with Spring…

Spring Batch 5.1.0-M3 available now!

Releases | September 20, 2023 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.1.0-M3 is now available from our milestone repository.

This new milestone introduces the following main features:

  • Dependencies upgrade
  • New item reader and writer for Redis
  • Automatic configuration of JobRegistryBeanPostProcessor
  • Ability to start a job flow with a decision
  • Ability to provide a custom JobKeyGenerator
  • New documentation based on Antora

For the complete list of changes, please check the release notes.

Dependencies upgrade

This milestone release upgrades Spring dependencies to the…

Spring Batch 5.1.0-M2, 5.0.3 and 4.3.9 available now!

Releases | August 24, 2023 | ...

I am pleased to announce that Spring Batch 5.1.0-M2, 5.0.3 and 4.3.9 are available now! Versions 5.0.3 and 4.3.9 are patch releases that come with a number of bug fixes, improvements and dependencies updates. You can find the release notes of each version here: 5.0.3 and 4.3.9.

This blog post is mainly about the new milestone of Spring Batch 5.1, which introduces the following main features:

  • Dependencies upgrade
  • New cursor-based MongoItemReader
  • Bulk inserts support in MongoItemWriter

For the complete list of changes, please check the release notes.

Dependencies upgrade

This milestone release…

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all