Reduced expected SecurityException logging from WARNING to FINE.
Do not remove shutdown hook that failed to add.
ao-tempfiles-3.0.1
Release Notes
Improved Java Applet / Web Start compatibility:
Removed requirement of accessing system properties.
Reduced expected SecurityException logging from WARNING to FINE.
ao-tempfiles-3.0.0
Release Notes
Now supports Java 9+ modules with included module-info.class.
Maven artifact relocated from com.aoindustries:ao-tempfiles to com.aoapps:ao-tempfiles.
Package renamed from com.aoindustries.tempfiles to com.aoapps.tempfiles.
ao-tempfiles-2.0.0
Release Notes
Temporary files are now created with more secure default permissions by using
java.nio.file.Files.createTempFile(…) instead of
java.io.File.createTempFile(…).
null is now accepted for tmpDir, which will use the system temp
directory.
The system temp directory will now be created when missing.
When already present, some sanity checks are now performed to ensure it is a readable and
writable directory.
Added support for temporary directories, which are recursively deleted.
Removed finalizers. Applications are expected to generally close via try-with-resources.
Temp name prefixes are now truncated to 64 characters.
New method TempFileContext.generatePrefix(String) for creating safe prefixes from
arbitrary, possibly untrusted sources.
TempFileContext.createTempFile(String) now maintains filename extension as a suffix,
as long as all characters are in [a-zA-Z0-9_].
ao-tempfiles-1.0.2
Release Notes
Minimum Java version changed from 1.7 to 1.8.
Reduced use of property substitutions in pom.xml.
This is to help 3rd-party parsers that fail to perform full Maven-compatible substitutions.