fs-extra v9.0.0 Release Notes
Release Date: 2020-03-19 // about 4 years ago-
๐ฅ Breaking changes
- Requires Node.js version 10 or greater (#725, #751)
- Switched
ensureDir*
to use a fork of https://github.com/sindresorhus/make-dir to make use of native recursivefs.mkdir
where possible (#619, #756) - Properly preserve
atime
forcopy*
withpreserveTimestamps
option (#633)
The following changes, allthough technically breaking, will not affect the vast majority of users:
outputJson
now outputs objects as they were when the function was called, even if they are mutated later (#702, #768)- Cannot pass
null
as an options parameter to*Json*
methods (#745, #768)
๐ Improvements
- โ Add promise shims for
fs.writev
&fs.opendir
(#747) - ๐ Better errors for
ensureFile
(#696, #744) - ๐ Better file comparison for older Node versions (#694)
Miscellaneous changes