AO TempFiles Changelog

ao-tempfiles-3.1.0

Release Notes

  • Improved Java Applet / Web Start compatibility:
    1. Reduced expected SecurityException logging from WARNING to FINE.
    2. Do not remove shutdown hook that failed to add.

ao-tempfiles-3.0.1

Release Notes

  • Improved Java Applet / Web Start compatibility:
    1. Removed requirement of accessing system properties.
    2. 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.

ao-tempfiles-1.0.1

Release Notes

  • Updated version of AO OSS Parent.
  • Using managed dependencies:
    1. This project uses managed dependencies.
    2. This project's managed dependencies may also be imported by other projects.

ao-tempfiles-1.0.0

Release Notes

  • New microproject for managing temp files.