From 468958d647d8f5c3cad075ee79ee91033356ad2b Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 24 Apr 2023 14:13:30 +0200 Subject: [PATCH] Move release note for #3235/#3264 to 5.9.3 --- .../release-notes-5.10.0-M1.adoc | 105 ------------------ .../release-notes/release-notes-5.9.3.adoc | 6 + 2 files changed, 6 insertions(+), 105 deletions(-) delete mode 100644 documentation/src/docs/asciidoc/release-notes/release-notes-5.10.0-M1.adoc diff --git a/documentation/src/docs/asciidoc/release-notes/release-notes-5.10.0-M1.adoc b/documentation/src/docs/asciidoc/release-notes/release-notes-5.10.0-M1.adoc deleted file mode 100644 index 809bdfc65fa..00000000000 --- a/documentation/src/docs/asciidoc/release-notes/release-notes-5.10.0-M1.adoc +++ /dev/null @@ -1,105 +0,0 @@ -[[release-notes-5.10.0-M1]] -== 5.10.0-M1 - -*Date of Release:* ❓ - -*Scope:* ❓ - -For a complete list of all _closed_ issues and pull requests for this release, consult the -link:{junit5-repo}+/milestone/65?closed=1+[5.10.0-M1] milestone page in the JUnit -repository on GitHub. - - -[[release-notes-5.10.0-M1-junit-platform]] -=== JUnit Platform - -==== Bug Fixes - -* ❓ - -==== Deprecations and Breaking Changes - -* Building native images with GraalVM now requires configuring the build arg - `--initialize-at-build-time=org.junit.platform.launcher.core.LauncherConfig`. - -==== New Features and Improvements - -* Promote various "experimental" APIs that have matured to "stable" including - `ModuleSelector`, `EngineDiscoveryListener`, `EngineDiscoveryRequestResolver`, - `LauncherSession`, `LauncherSessionListener`, parallel execution support classes, - `@Suite` and related annotations, and others. -* All utility methods in `ReflectionSupport` that return a `List` now have counterparts - which return a `Stream`. -* For consistency with JUnit Jupiter lifecycle callbacks, listener method pairs for - started/finished and opened/closed events are now invoked using "wrapping" semantics. - This means that finished/closed event methods are invoked in reverse order compared to - the corresponding started/opened event methods when multiple listeners are registered. - This affects the following listener interfaces: - `TestExecutionListener`, `EngineExecutionListener`, `LauncherDiscoveryListener`, and - `LauncherSessionListener`. -* New `LauncherInterceptor` SPI for intercepting the creation of instances of `Launcher` - and `LauncherSessionlistener` as well as invocations of the `discover` and `execute` - methods of the former. Please refer to the - <<../user-guide/index.adoc#launcher-api-launcher-interceptors-custom, User Guide>> for - details. -* Support for limiting the `max-pool-size-factor` for parallel execution via a configuration parameter. -* The new `testfeed` details mode for `ConsoleLauncher` prints test execution events as - they occur in a concise format. - - -[[release-notes-5.10.0-M1-junit-jupiter]] -=== JUnit Jupiter - -==== Bug Fixes - -* The `{displayName}` placeholder for `@ParameterizedTest` invocation names is no longer - parsed using `java.text.MessageFormat`. Consequently, any text in the display name of - the `@ParameterizedTest` method will be included unmodified in the invocation display - name. For example, Kotlin method names and custom display names configured via - `@DisplayName` can now contain apostrophes (`'`) as well as text resembling - `MessageFormat` elements such as `{0}` or `{data}`. - -==== Deprecations and Breaking Changes - -* The `dynamic` parallel execution strategy now allows the thread pool to be saturated by -default. - -==== New Features and Improvements - -* Promote various "experimental" APIs that have matured to "stable" including - `MethodOrderer`, `ClassOrderer`, `InvocationInterceptor`, - `LifecycleMethodExecutionExceptionHandler`, `@TempDir`, parallel execution annotations, - and others. -* `@RepeatedTest` can now be configured with a failure threshold which signifies the - number of failures after which remaining repetitions will be automatically skipped. See - the <<../user-guide/index.adoc#writing-tests-repeated-tests, User Guide>> for details. -* New `ArgumentsAccessor.getInvocationIndex()` method that supplies the index of a - `@ParameterizedTest` invocation. -* `@EmptySource` now supports additional types, including `Collection` and `Map` subtypes - with a public no-arg constructor. -* `DisplayNameGenerator` methods are now allowed to return `null`, in order to signal to - fall back to the default display name generator. -* New `AnnotationBasedArgumentsProvider` convenience base class which implements both - `ArgumentsProvider` and `AnnotationConsumer`. -* New `AnnotationBasedArgumentConverter` convenience base class which implements both - `ArgumentConverter` and `AnnotationConsumer`. -* New `junit.jupiter.execution.parallel.config.dynamic.max-pool-size-factor` configuration - parameter to set the maximum pool size factor. -* New `junit.jupiter.execution.parallel.config.dynamic.saturate` configuration - parameter to disable pool saturation. - - -[[release-notes-5.10.0-M1-junit-vintage]] -=== JUnit Vintage - -==== Bug Fixes - -* ❓ - -==== Deprecations and Breaking Changes - -* ❓ - -==== New Features and Improvements - -* ❓ diff --git a/documentation/src/docs/asciidoc/release-notes/release-notes-5.9.3.adoc b/documentation/src/docs/asciidoc/release-notes/release-notes-5.9.3.adoc index cb4b0f1ec7a..a084dceab9d 100644 --- a/documentation/src/docs/asciidoc/release-notes/release-notes-5.9.3.adoc +++ b/documentation/src/docs/asciidoc/release-notes/release-notes-5.9.3.adoc @@ -43,6 +43,12 @@ JUnit repository on GitHub. * The search algorithm used to find `@MethodSource` factory methods now applies consistent semantics for _local_ qualified method names and fully-qualified method names for overloaded factory methods. +* The `{displayName}` placeholder for `@ParameterizedTest` invocation names is no longer + parsed using `java.text.MessageFormat`. Consequently, any text in the display name of + the `@ParameterizedTest` method will be included unmodified in the invocation display + name. For example, Kotlin method names and custom display names configured via + `@DisplayName` can now contain apostrophes (`'`) as well as text resembling + `MessageFormat` elements such as `{0}` or `{data}`. * Exceptions thrown for files that cannot be deleted when cleaning up a temporary directory created via `@TempDir` now include the root cause. * Lifecycle methods are allowed to be declared as `private` again for backwards