blob: ba90d0a74b0d6ab830042da116df8572d4b3668e [file]
[[release-notes-5.9.0-M1]]
== 5.9.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/58?closed=1+[5.9 M1] milestone page in the JUnit repository
on GitHub.
[[release-notes-5.9.0-M1-junit-platform]]
=== JUnit Platform
==== Bug Fixes
*
==== Deprecations and Breaking Changes
* `ConfigurationParameters.size()` has been deprecated in favor of the new `keySet()`
method.
==== New Features and Improvements
* `ConfigurationParameters` has a new `keySet()` method which allows you to retrieve all
configuration parameter keys.
* New `IterationSelector` for selecting a subset of a test's or container's iterations.
* JUnit OSGi bundles now contain `engine` and `launcher` requirements ensuring that at
resolution time a fully running set of dependencies is calculated, avoiding the need for
these to be manually specified.
[[release-notes-5.9.0-M1-junit-jupiter]]
=== JUnit Jupiter
==== Bug Fixes
*
==== Deprecations and Breaking Changes
* `@TempDir` fields are no longer allowed to be declared as `final`.
- This improves diagnostics for failures resulting from a user-declared `static final`
`@TempDir` field by throwing an exception with an informative error message.
==== New Features and Improvements
* `@TempDir` now includes a cleanup mode attribute for preventing a temporary directory
from being deleted after a test. The default cleanup mode can be configured via a
configuration parameter.
* Support for FreeBSD and OpenBSD operating systems in `@EnabledOnOs` and `@DisabledOnOs`.
* New `MATCH_NONE` mode for `@EnumSource` that selects only those enum constants whose
names match none of the supplied patterns.
* New `TestInstancePreConstructCallback` extension API that is called prior to test
instance construction symmetric to the existing `TestInstancePreDestroyCallback`
extension API.
* Extensions can now leverage registered `ParameterResolvers` when invoking methods and
constructors via the new `ExecutableInvoker` available in the `ExtensionContext`.
* A subset of the invocations of parameterized or dynamic tests can now be selected via
the new `IterationSelector` discovery selector when launching the JUnit Platform.
[[release-notes-5.9.0-M1-junit-vintage]]
=== JUnit Vintage
==== Bug Fixes
*
==== Deprecations and Breaking Changes
*
==== New Features and Improvements
*