-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Prune Release Notes for 5.10 GA"
This reverts commit 82a2ad7.
- Loading branch information
1 parent
acb6e65
commit 2c278c7
Showing
3 changed files
with
99 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
documentation/src/docs/asciidoc/release-notes/release-notes-5.10.0-RC1.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[[release-notes-5.10.0-RC1]] | ||
== 5.10.0-RC1 | ||
|
||
*Date of Release:* July 6, 2023 | ||
|
||
*Scope:* | ||
|
||
* New `@SelectMethod` support in test `@Suite` classes. | ||
* Various enhancements for discovery selectors for classes and methods, including | ||
additional support for custom ClassLoader arrangements. | ||
* Improved `@TempDir` support for cleaning up files and directories on Windows. | ||
* Revised stack trace pruning support. | ||
* Various documentation improvements. | ||
* Minor changes and enhancements since 5.10 M1. | ||
|
||
For a complete list of all _closed_ issues and pull requests for this release, consult the | ||
link:{junit5-repo}+/milestone/69?closed=1+[5.10.0-RC1] milestone page in the | ||
JUnit repository on GitHub. | ||
|
||
|
||
[[release-notes-5.10.0-RC1-junit-platform]] | ||
=== JUnit Platform | ||
|
||
==== Deprecations and Breaking Changes | ||
|
||
* The `getMethodParameterTypes()` methods in `MethodSelector` and `NestedMethodSelector` | ||
have been deprecated and replaced by `getParameterTypeNames()` for greater clarity. | ||
* Methods in `DiscoverySelectors` that accept a `ClassLoader` now declare the | ||
`ClassLoader` as the first parameter. This is only a breaking change for code that | ||
relies on the new methods introduced in JUnit Platform 1.10 M1. | ||
|
||
==== New Features and Improvements | ||
|
||
* New `@SelectMethod` selector support in the `@Suite` test engine. | ||
* Classes may now be selected by fully-qualified name via the `names` attribute in | ||
`@SelectClasses`. | ||
* New `selectMethod()` and `selectNestedMethod()` variants in `DiscoverySelectors` that | ||
accept a `Class<?>...` argument of parameter types as a type-safe alternative to | ||
providing the names of parameter types as a comma-delimited string. | ||
* Stack trace pruning has been revised and now only removes calls from the `org.junit`, | ||
`jdk.internal.reflect`, and `sun.reflect` packages. Please refer to the | ||
<<../user-guide/index.adoc#stacktrace-pruning, User Guide>> for details. | ||
* New `getAncestors()` method in `TestDescriptor`. | ||
|
||
|
||
[[release-notes-5.10.0-RC1-junit-jupiter]] | ||
=== JUnit Jupiter | ||
|
||
==== New Features and Improvements | ||
|
||
* `@TempDir` can now be used as a meta-annotation in order to create custom _composed | ||
annotations_. See the `@JimfsTempDir` example in the | ||
<<../user-guide/index.adoc#writing-tests-built-in-extensions-TempDirectory, User Guide>> | ||
for details. | ||
* `@TempDir` now successfully cleans up files and directories on Windows that are set to | ||
read-only. | ||
* New `reason` attribute in `@Execution` which can be used to document the reason for | ||
using the selected execution mode. | ||
* The <<../user-guide/index.adoc#extensions-RandomNumberExtension, User Guide>> now | ||
includes an example implementation of the `RandomNumberExtension` in order to improve | ||
the documentation for extension registration via `@ExtendWith` on fields. | ||
* Lifecycle and thread-safety semantics are now documented for the `TempDirFactory` SPI. | ||
* The scope of applicability for `TestWatcher` implementations is now more extensively | ||
documented in the User Guide and Javadoc. | ||
* `JAVA_22` has been added to the `JRE` enum for use with JRE-based execution conditions. | ||
|
||
|
||
[[release-notes-5.10.0-RC1-junit-vintage]] | ||
=== JUnit Vintage | ||
|
||
No changes. |