Jimfs v1.1 Release Notes

Release Date: 2016-02-12 // over 4 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)