fs-extra v10.0.0 Release Notes

Release Date: 2021-05-03 // 6 months ago
  • ๐Ÿ’ฅ Breaking changes

    The following changes, although technically semver-major, will not affect the vast majority of users:

    • Ensure correct type when destination exists for ensureLink*()/ensureSymlink*() (#826, #786, #870)
    • Error when attempting to copy*() unknown file type (#880)
    • โœ‚ Remove undocumented options for remove*() (#882)

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ Allow changing case of filenames with move*(), even on technically case-insensitive filesystems (#759, #801)
    • ๐Ÿšš Use native fs.rm*() for remove*() in environments that support it (#882, #806)
    • ๐Ÿ‘Œ Improve emptyDir() performance (#885)

    ๐Ÿ›  Bugfixes

    • Ensure copy*()'s filter function is not called more than necessary (#883, #809)
    • ๐Ÿ›  Fix move*() raising EPERM error when moving a file to the root of a drive on Windows (#897, #819)

    Miscellaneous changes

    • Do not use at-least-node as a dependency (#896)
    • ๐Ÿ‘Œ Improve documentation (#888, #830, #884, #843)

Previous changes from v9.1.0

    • โž• Add promise support for fs.rm() (#841, #860)
    • ๐ŸŽ Upgrade universalify for performance improvments (#825)