Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.61 KB

CHANGELOG.md

File metadata and controls

64 lines (43 loc) · 2.61 KB

Changelog

All notable changes to this project are documented in this file, based on Keep a Changelog.

0.14.1 - 2022-05-11

Added

  • FileExtensionUtil.hasExtension.

0.14.0 - 2022-03-25

Removed

  • HierarchicalResource#openWrite and HierarchicalResource#openWriteNew, as their implementations were dubious.

0.13.2 - 2021-11-10

Changed

  • All PathMatchers to work with UNIX path segment separators /.

Added

  • AllResourceWalker, AnyResourceWalker, NotResourceWalker.
  • EndsWithPathMatcher, StartsWithPatchMatcher, LeafPathMatcher.

0.13.1 - 2021-11-09

Fixed

  • Fix ClassLoaderResources getLastModifiedTime and getSize methods closing the backing JAR file, which could still be used concurrently by different threads, thereby fixing stream closed exceptions.

0.13.0 - 2021-10-18

Added

  • ClassLoaderResource#getLocationsTryAsNative to get class loader resource locations as native resources.

Changed

  • ClassLoaderResource#tryAsNativeResource to tryAsNativeFile.
  • ClassLoaderResource#asNativeResource to asNativeFile.
  • ClassLoaderResourceLocations and JarFileWithPath to take a type argument with the kind of resources they hold.
  • ClassLoaderToNativeResolver to have separate methods for resolving files and directories.

0.12.0 - 2021-10-11

Added

  • ClassLoaderToNativeResolver to allow class loader resources to be resolved to resources native to the application, such as Eclipse resources. FSResourceClassLoaderToNativeResolver is the default implementation that resolves to local filesystem resources.
  • tryAsNativeResource and asNativeResource to ClassLoaderResource that use the above resolver.

0.11.5 - 2021-09-01

Added

  • Tests for (Qualified)ResourceKeyString roundtrips.

Changed

  • FSResourceRegistry accepts local filesystem paths in getResourceKey and getResource.