Jimfs v1.1 Release Notes

Release Date: 2016-02-12 // about 8 years ago
  • ๐Ÿš€ Jimfs 1.1 final release.

    Maven dependency:

    \<dependency\> \<groupId\>com.google.jimfs\</groupId\> \<artifactId\>jimfs\</artifactId\> \<version\>1.1\</version\> \</dependency\>
    

    ๐Ÿš€ Javadoc for the release can be viewed at: http://google.github.io/jimfs/releases/1.1/api/docs/
    ๐Ÿš€ API diffs between Jimfs 1.0 and this release can be viewed at: http://google.github.io/jimfs/releases/1.1/api/diffs/

    ๐Ÿš€ This release contains no changes from 1.1-rc1.

    What's new in 1.1

    • ๐Ÿ— Now possible to configure the rate at which a WatchService polls by calling setWatchServiceConfiguration(WatchServiceConfiguration.polling(interval, timeUnit)) when building a Configuration. (#14)
    • ๐Ÿ”ง Now possible to get the default Configuration (based on the current operating system) that is used when calling the Jimfs factory methods that do not take a Configuration parameter, via Configuration.forCurrentPlatform(). Mainly useful if you want to create a slightly modified (e.g. with a different WatchService polling rate) version of that Configuration.
    • ๐Ÿ‘ URL objects can now be created from Jimfs Paths (using path.toUri().toURL()). Such URLs support reading the contents of the file through an InputStream, with behavior similar to that of a normal file: URL object. (#13)
    • URIs for directories now end in a trailing /. (#16)
    • ๐Ÿ›  Fixed an issue with environments where Java SDK code (such as the FileSystems class and by extension the FileSystemProvider implementations it loads as services) and user code (including the Jimfs entry point class) are loaded by different classloaders. (#18)

Previous changes from v1.1-rc1

  • ๐Ÿš€ First release candidate for Jimfs 1.1.

    Maven dependency:

    \<dependency\> \<groupId\>com.google.jimfs\</groupId\> \<artifactId\>jimfs\</artifactId\> \<version\>1.1-rc1\</version\> \</dependency\>
    

    ๐Ÿš€ Javadoc for the release can be viewed at: http://google.github.io/jimfs/releases/1.1-rc1/api/docs/
    ๐Ÿš€ API diffs between Jimfs 1.0 and this release can be viewed at: http://google.github.io/jimfs/releases/1.1-rc1/api/diffs/

    What's new in 1.1

    • ๐Ÿ— Now possible to configure the rate at which a WatchService polls by calling setWatchServiceConfiguration(WatchServiceConfiguration.polling(interval, timeUnit)) when building a Configuration. (#14)
    • ๐Ÿ”ง Now possible to get the default Configuration (based on the current operating system) that is used when calling the Jimfs factory methods that do not take a Configuration parameter, via Configuration.forCurrentPlatform(). Mainly useful if you want to create a slightly modified (e.g. with a different WatchService polling rate) version of that Configuration.
    • ๐Ÿ‘ URL objects can now be created from Jimfs Paths (using path.toUri().toURL()). Such URLs support reading the contents of the file through an InputStream, with behavior similar to that of a normal file: URL object. (#13)
    • URIs for directories now end in a trailing /. (#16)
    • ๐Ÿ›  Fixed an issue with environments where Java SDK code (such as the FileSystems class and by extension the FileSystemProvider implementations it loads as services) and user code (including the Jimfs entry point class) are loaded by different classloaders. (#18)