Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: spring-projects/spring-batch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.2.4
Choose a base ref
...
head repository: spring-projects/spring-batch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.5
Choose a head ref
  • 13 commits
  • 30 files changed
  • 6 contributors

Commits on Oct 22, 2025

  1. Next development version

    fmbenhassine committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    ab724a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2df1a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2025

  1. Fix KafkaItemReader ClassCastException during ExecutionContext deseri…

    …alization
    
    Signed-off-by: Hyunwoo Jung <[email protected]>
    noojung authored and fmbenhassine committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    d4aa9e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2025

  1. Fix error propagation from job executions

    Before this commit, Spring Batch was catching all Throwable types
    so they can be available after the job execution through
    jobExecution.getAllFailureExceptions(). However, this prevents
    the JVM to crash on any Error like it should (for example like OOM
    errors [1]), effectively preventing the possibility to generate
    heap dumps to analyze these kinds of errors.
    
    This commit updates the code to catch only exceptions and let
    errors bubble up to let the JVM handle them as needed.
    
    Resolves #808
    
    [1]: https://stackoverflow.com/questions/54811702/spring-batch-doesnt-propagate-errors
    
    (cherry picked from commit 7f375c6)
    fmbenhassine committed Nov 5, 2025
    Configuration menu
    Copy the full SHA
    b251512 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Elaborate usage of transaction manager in documentation

    Resolves #4787
    
    (cherry picked from commit 4e5b7d2)
    fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    2461e18 View commit details
    Browse the repository at this point in the history
  2. Fix duration formatting when a step or job completes instantly

    Resolves #5037
    
    Signed-off-by: janossch <[email protected]>
    (cherry picked from commit 1d50d82)
    janossch authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    87ef029 View commit details
    Browse the repository at this point in the history
  3. Add parameter converters for ZonedDateTime and OffsetDateTime

    - Add ZonedDateTimeToStringConverter and StringToZonedDateTimeConverter
    - Add OffsetDateTimeToStringConverter and StringToOffsetDateTimeConverter
    - Register new converters in DefaultJobParametersConverter
    - Add unit tests for all new converters
    - Add integration tests for JobParameters with ZonedDateTime/OffsetDateTime
    - Update JavaDoc in DefaultJobParametersConverter
    
    Closes #5178
    
    Signed-off-by: eunbin <[email protected]>
    
    (cherry picked from commit 868849e)
    thswlsqls authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    5f549dc View commit details
    Browse the repository at this point in the history
  4. Fix restart position handling in AbstractPaginatedDataItemReader#jump…

    …ToItem
    
    Resolves #5136
    
    Signed-off-by: banseok1216 <[email protected]>
    
    (cherry picked from commit d5fbb54)
    banseok1216 authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    7c7cae7 View commit details
    Browse the repository at this point in the history
  5. Fix incorrect resource closing order in AbstractCursorItemReader#doClose

    Signed-off-by: banseok1216 <[email protected]>
    (cherry picked from commit c6b6b09)
    banseok1216 authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    b2973d3 View commit details
    Browse the repository at this point in the history
  6. Improve JobRepositoryTestUtils to mitigate OptimisticLockingFailureEx…

    …ception while removing JobExecution
    
    It's safe to remove stale version of JobExecution for testing purpose, this commit mitigate OptimisticLockingFailureException but cannot avoid since race condition may happen.
    
    Fix GH-5161
    
    Signed-off-by: Yanming Zhou <[email protected]>
    
    (cherry picked from commit 1d9536c)
    quaff authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    c1c56bf View commit details
    Browse the repository at this point in the history
  7. Retry on generating unique identifiers with MongoDB

    This commit will mitigate write conflict:
    
    ```
    org.springframework.dao.DataIntegrityViolationException: Command failed with error 112 (WriteConflict):
    'Caused by :: Write conflict during plan execution and yielding is disabled. :: Please retry your operation or multi-document transaction.' on server xxx.mongodb.net:1026.
    [...]
    ```
    
    Typically, only transient errors are retried, and even if `DataIntegrityViolationException` extends `NonTransientDataAccessException`,
    this commit retries the operation as requested by the MongoDB driver (`Please retry your operation or multi-document transaction`).
    
    Closes GH-4960
    
    Signed-off-by: Yanming Zhou <[email protected]>
    (cherry picked from commit eac1ff5)
    quaff authored and fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    c62b0bd View commit details
    Browse the repository at this point in the history
  8. Prepare release 5.2.5

    fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    bddeeac View commit details
    Browse the repository at this point in the history
  9. Release version 5.2.5

    fmbenhassine committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    793144f View commit details
    Browse the repository at this point in the history
Loading