Releases: google/jimfs
1.3.1
1.3.0
Maven dependency:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.3.0</version>
</dependency>What's new in 1.3.0
- Officially dropped support for Java 7, and restored accidentally dropped support for Java 8. (5b60a42)
- Added an
Automatic-Module-Nameto the jar for modules support. (6a057ff) - Fixed several bugs with the behavior of
FileChannel.transferFrom. (ee785ea) - Added
FileTimeSourceand made it possible to set aFileTimeSourcein theConfigurationof a file system. (139c10e)
1.2
Maven dependency:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.2</version>
</dependency>Javadoc for the release can be viewed at: http://google.github.io/jimfs/releases/1.2/api/docs/
API diffs between Jimfs 1.1 and this release can be viewed at: http://google.github.io/jimfs/releases/1.2/api/diffs/
What's new in 1.2
- Various bug fixes.
1.1
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
WatchServicepolls by callingsetWatchServiceConfiguration(WatchServiceConfiguration.polling(interval, timeUnit))when building aConfiguration. (#14) - Now possible to get the default
Configuration(based on the current operating system) that is used when calling theJimfsfactory methods that do not take aConfigurationparameter, viaConfiguration.forCurrentPlatform(). Mainly useful if you want to create a slightly modified (e.g. with a differentWatchServicepolling rate) version of thatConfiguration. URLobjects can now be created from JimfsPaths (usingpath.toUri().toURL()). SuchURLs support reading the contents of the file through anInputStream, with behavior similar to that of a normalfile:URLobject. (#13)- URIs for directories now end in a trailing
/. (#16) - Fixed an issue with environments where Java SDK code (such as the
FileSystemsclass and by extension theFileSystemProviderimplementations it loads as services) and user code (including theJimfsentry point class) are loaded by different classloaders. (#18)
1.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
WatchServicepolls by callingsetWatchServiceConfiguration(WatchServiceConfiguration.polling(interval, timeUnit))when building aConfiguration. (#14) - Now possible to get the default
Configuration(based on the current operating system) that is used when calling theJimfsfactory methods that do not take aConfigurationparameter, viaConfiguration.forCurrentPlatform(). Mainly useful if you want to create a slightly modified (e.g. with a differentWatchServicepolling rate) version of thatConfiguration. URLobjects can now be created from JimfsPaths (usingpath.toUri().toURL()). SuchURLs support reading the contents of the file through anInputStream, with behavior similar to that of a normalfile:URLobject. (#13)- URIs for directories now end in a trailing
/. (#16) - Fixed an issue with environments where Java SDK code (such as the
FileSystemsclass and by extension theFileSystemProviderimplementations it loads as services) and user code (including theJimfsentry point class) are loaded by different classloaders. (#18)
1.0
Final 1.0 release. This release contains no changes from 1.0-rc3.
This release can be used with Maven as:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.0</version>
</dependency>Javadoc for the release can be viewed at: http://google.github.io/jimfs/releases/1.0/api/docs/
1.0-rc3
Third release candidate. This release changes the package for all classes from com.google.jimfs to com.google.common.jimfs.
This release can be used with Maven as:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.0-rc3</version>
</dependency>1.0-rc2
Second release candidate, containing a number of fixes and usability improvements.
This release can be used with Maven as:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.0-rc2</version>
</dependency>Notable changes:
FileSysteminstances are now cached statically, so even if multiple instances ofJimfsFileSystemProviderare created, they'll share the same cache of file systems. This is meant to ensure that whatClassLoaderhappens to loadJimfsFileSystemProviderhas no effect on behavior (the provider instance itself is only cached if it can be loaded by the systemClassLoader).FileSysteminstances are now cached with weak references, allowing them to be garbage collected when no references remain even ifclose()has not been called. This is preferable in most cases. The only negative impact is that if you wish to hold on to aURI(either for aFileSystemor aPathin that file system) and later use it to retrieve thatFileSystem/Path, it may not work unless you ensure that a strong reference to theFileSystemis held somewhere.- Closing a
FileSystemnow closes all open streams, channels, etc. for that file system and causes mostFilesmethods to throwClosedFileSystemException. - The jar now has OSGi metadata.
1.0-rc1
Initial release candidate, mainly so there's an artifact available in Maven Central that people can use.
This release can be used with Maven as:
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.0-rc1</version>
</dependency>