@@ -32,6 +32,29 @@ repository on GitHub.
3232 - `LauncherDiscoveryRequestBuilder.outputDirectoryProvider(OutputDirectoryProvider)`
3333 - `TestPlan.getOutputDirectoryProvider()`
3434 - `EngineTestKit.Builder.outputDirectoryProvider(OutputDirectoryProvider)`
35+ * Deprecate `org.junit.platform.commons.support.Resource` interface in favor of the new
36+ `org.junit.platform.commons.io.Resource` one.
37+ * Deprecate `Resource`-related methods in `ReflectionSupport` in favor of corresponding
38+ methods in new `ResourceSupport` class:
39+ - `findAllResourcesInClasspathRoot(URI, Predicate)`
40+ - `findAllResourcesInModule(String, Predicate)`
41+ - `findAllResourcesInPackage(String, Predicate)`
42+ - `streamAllResourcesInClasspathRoot(URI, Predicate)`
43+ - `streamAllResourcesInModule(String, Predicate)`
44+ - `streamAllResourcesInPackage(String, Predicate)`
45+ - `tryToGetResources(String)`
46+ - `tryToGetResources(String, ClassLoader)`
47+ * Deprecate `DiscoverySelectors.selectClasspathResource(Set)` method in favor of
48+ `selectClasspathResourceByName(Set)`.
49+ * Deprecate `ClasspathResourceSelector.getClasspathResources()` method in favor of
50+ `getResources()`.
51+ * Deprecate
52+ `EngineDiscoveryRequestResolver.Builder.addResourceContainerSelectorResolver(Predicate)`
53+ method in favor of `addResourceContainerSelectorResolver(ResourceFilter)`.
54+ * Deprecate `Resource`-related methods in `ClasspathScanner` in favor of new methods using
55+ `org.junit.platform.commons.io.Resource` and `ResourceFilter`:
56+ - `scanForResourcesInPackage(String, Predicate)`
57+ - `scanForResourcesInClasspathRoot(URI, Predicate)`
3558
3659[[release-notes-5.14.0-RC1-junit-platform-new-features-and-improvements]]
3760==== New Features and Improvements
@@ -43,6 +66,9 @@ repository on GitHub.
4366* New `FileSource.withPosition(FilePosition)` method to avoid the overhead of redundant
4467 canonicalization of files when using `FileSource.from(File, FilePosition)` with many
4568 different `FilePosition` instances for the same `File`.
69+ * New classpath resource abstraction in `org.junit.platform.commons.io.Resource` with
70+ support for loading resources or finding them on the classpath via static utility
71+ methods in the new `org.junit.platform.commons.support.ResourceSupport` class.
4672
4773
4874[[release-notes-5.14.0-RC1-junit-jupiter]]
0 commit comments