[[release-notes-5.12.2]]
== 5.12.2

*Date of Release:* April 11, 2025

*Scope:* Bug fixes and enhancements since 5.12.1

For a complete list of all _closed_ issues and pull requests for this release, consult the
link:{junit5-repo}+/milestone/95?closed=1+[5.12.2] milestone page in the JUnit repository
on GitHub.


[[release-notes-5.12.2-junit-platform]]
=== JUnit Platform

No changes.


[[release-notes-5.12.2-junit-jupiter]]
=== JUnit Jupiter

[[release-notes-5.12.2-junit-jupiter-bug-fixes]]
==== Bug Fixes

* Fix handling of `CleanupMode.ON_SUCCESS` with `@TempDir` that caused no temporary
  directories (using that mode) to be deleted after the first failure even if the
  corresponding tests passed.


[[release-notes-5.12.2-junit-vintage]]
=== JUnit Vintage

No changes.
