-
drop support for node version < v8.17.0
BREAKING CHANGE
node versions < v8.17.0 are no longer supported.
-
BREAKING CHANGE
SIGINT handler has been removed.
Users must install their own SIGINT handler and call process.exit() so that tmp's process exit handler can do the cleanup.
A simple handler would be
process.on('SIGINT', process.exit);
-
BREAKING CHANGE
template option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir(). the template option can point to an absolute path that is located under os.tmpdir(). this can now be used in conjunction with the dir option.
-
BREAKING CHANGE
dir option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir(). the dir option can point to an absolute path that is located under os.tmpdir().
-
BREAKING CHANGE
name option no longer accepts arbitrary paths. name must no longer contain a path and will always be made relative to the current os.tmpdir() and the optional dir option.
-
BUG FIX
sync cleanup callback must be returned when using the sync API functions.
fs.rmdirSync() must not be called with a second parameter that is a function.
-
BUG FIX
fail early if no os.tmpdir() was specified. previous versions of Electron did return undefined when calling os.tmpdir(). _getTmpDir() now tries to resolve the path returned by os.tmpdir().
now using rimraf for removing directory trees.
-
BUG FIX
os.tmpdir() might return a value that includes single or double quotes, similarly so the dir option, the template option and the name option
-
DOCUMENTATION
better documentation for
tmp.setGracefulCleanup()
. -
DOCUMENTATION
document name option.
-
DOCUMENTATION
document discardDescriptor option.
-
DOCUMENTATION
document detachDescriptor option.
-
DOCUMENTATION
document mode option.
-
DOCUMENTATION
document unsafeCleanup option.
- stabilized tests
- general clean up
- update jsdoc
- no information available