11[[release-notes-5.2.0-M1]]
22== 5.2.0-M1
33
4- *Date of Release:* ❓
4+ *Date of Release:* April 15, 2018
55
6- *Scope:* ❓
6+ *Scope:* JUnit BOM, support for Maven Surefire 2.21.0 allowing builds with Java 9 and
7+ Java 10, _argument aggregation_ and _widening primitive conversion_ for arguments in
8+ parameterized tests, external factory methods for `@MethodSource`, as well as various
9+ minor improvements and bug fixes.
710
811For a complete list of all _closed_ issues and pull requests for this release, consult the
912link:{junit5-repo}+/milestone/22?closed=1+[5.2 M1] milestone page in the JUnit repository
@@ -16,7 +19,7 @@ on GitHub.
1619* JUnit BOM: To ease dependency management using
1720https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies[Maven]
1821or https://docs.gradle.org/current/userguide/managing_transitive_dependencies.html#sec:bom_import[Gradle],
19- a Bill of Materials POM is now provided under the `org.junit:junit-bom:5.2.0-M1` Maven
22+ a _Bill of Materials_ POM is now provided under the `org.junit:junit-bom:5.2.0-M1` Maven
2023coordinates.
2124
2225
@@ -27,13 +30,14 @@ coordinates.
2730
2831* Tag expressions containing spaces are now supported in the JUnit Platform Maven
2932 Surefire provider.
30-
31- ==== Deprecations and Breaking Changes
32-
33- * ❓
33+ * Duplicate `--config` keys supplied to the `ConsoleLauncher` are now reported properly.
34+ * Exceptions thrown in `Node.after()` (in the `HierarchicalTestEngine` infrastructure) no
35+ longer mask earlier exceptions.
3436
3537==== New Features and Improvements
3638
39+ * The JUnit Platform Surefire Provider (`junit-platform-surefire-provider`) now works
40+ with and requires Surefire `2.21.0` which allows it to be used with Java 9 and Java 10.
3741* The default _include pattern_ for filtering class names now matches test classes whose
3842 names either start with `Test` or end with `Test` or `Tests`.
3943 - This pattern is used by the `ConsoleLauncher`, the JUnit Platform Gradle Plugin, and
@@ -45,11 +49,8 @@ coordinates.
4549
4650==== Bug Fixes
4751
48- * ❓
49-
50- ==== Deprecations and Breaking Changes
51-
52- * ❓
52+ * Exceptions thrown by an `AfterAllCallback` no longer mask exceptions thrown at the
53+ class level when using the `@TestInstance(PER_CLASS)` lifecycle mode.
5354
5455==== New Features and Improvements
5556
@@ -72,14 +73,4 @@ coordinates.
7273[[release-notes-5.2.0-M1-junit-vintage]]
7374=== JUnit Vintage
7475
75- ==== Bug Fixes
76-
77- * ❓
78-
79- ==== Deprecations and Breaking Changes
80-
81- * ❓
82-
83- ==== New Features and Improvements
84-
85- * ❓
76+ No changes.
0 commit comments