37 KiB
0.30.0 / 2016-04-28
- Brought back Node v0.10 support. I didn't realize there was still demand. Official support will end 2016-10-01.
0.29.0 / 2016-04-27
- BREAKING: removed support for Node v0.10. If you still want to use Node v0.10, everything should work except for
ensureLink()/ensureSymlink(). Node v0.12 is still supported but will be dropped in the near future as well.
0.28.0 / 2016-04-17
- BREAKING: removed
createOutputStream(). Use https://www.npmjs.com/package/create-output-stream. See: #192 mkdirs()/mkdirsSync()check for invalid win32 path chars. See: #209, #237mkdirs()/mkdirsSync()if drive not mounted, error. See: #93
0.27.0 / 2016-04-15
- add
dereferenceoption tocopySync(). #235
0.26.7 / 2016-03-16
- fixed
copy()if source and dest are the same. #230
0.26.6 / 2016-03-15
- fixed if
emptyDir()does not have a callback: #229
0.26.5 / 2016-01-27
copy()with two arguments (w/o callback) was broken. See: #215
0.26.4 / 2016-01-05
copySync()madepreserveTimestampsdefault consistent withcopy()which isfalse. See: #208
0.26.3 / 2015-12-17
- fixed
copy()hangup in copying blockDevice / characterDevice //dev/null. See: #193
0.26.2 / 2015-11-02
- fixed
outputJson{Sync}()spacing adherence tofs.spaces
0.26.1 / 2015-11-02
- fixed
copySync()whenclogger=trueand the destination is read only. See: #190
0.26.0 / 2015-10-25
- extracted the
walk()function into its own moduleklaw.
0.25.0 / 2015-10-24
- now has a file walker
walk()
0.24.0 / 2015-08-28
- removed alias
delete()anddeleteSync(). See: #171
0.23.1 / 2015-08-07
- Better handling of errors for
move()when moving across devices. #170 ensureSymlink()andensureLink()should not throw errors if link exists. #169
0.23.0 / 2015-08-06
- added
ensureLink{Sync}()andensureSymlink{Sync}(). See: #165
0.22.1 / 2015-07-09
- Prevent calling
hasMillisResSync()on module load. See: #149. Fixes regression that was introduced in0.21.0.
0.22.0 / 2015-07-09
- preserve permissions / ownership in
copy(). See: [#54][#54]
0.21.0 / 2015-07-04
- add option to preserve timestamps in
copy()andcopySync(). See: #141 - updated
graceful-fs@3.xto4.x. This brings in features fromamazing-graceful-fs(much cleaner code / less hacks)
0.20.1 / 2015-06-23
- fixed regression caused by latest jsonfile update: See: https://github.com/jprichardson/node-jsonfile/issues/26
0.20.0 / 2015-06-19
- removed
jsonfilealiases withFilein the name, they weren't documented and probably weren't in use e.g. this package had bothfs.readJsonFileandfs.readJsonthat were aliases to each other, now usefs.readJson. - preliminary walker created. Intentionally not documented. If you use it, it will almost certainly change and break your code.
- started moving tests inline
- upgraded to
jsonfile@2.1.0, can now pass JSON revivers/replacers toreadJson(),writeJson(),outputJson()
0.19.0 / 2015-06-08
fs.copy()had support for Node v0.8, dropped support
0.18.4 / 2015-05-22
- fixed license field according to this: #136 and https://github.com/npm/npm/releases/tag/v2.10.0
0.18.3 / 2015-05-08
- bugfix: handle
EEXISTwhen clobbering on some Linux systems. #134
0.18.2 / 2015-04-17
- bugfix: allow
F_OK(#120)
0.18.1 / 2015-04-15
- improved windows support for
move()a bit.92838980f2 - fixed a lot of tests for Windows (appveyor)
0.18.0 / 2015-03-31
- added
emptyDir()andemptyDirSync()
0.17.0 / 2015-03-28
copySyncaddedclobberoption (before always would clobber, now ifclobberisfalseit throws an error if the destination exists). Only works with files at the moment.createOutputStream()added. See: #118
0.16.5 / 2015-03-08
- fixed
fs.movewhenclobberistrueand destination is a directory, it should clobber. #114
0.16.4 / 2015-03-01
fs.mkdirsfix infinite loop on Windows. See: See https://github.com/substack/node-mkdirp/pull/74 and https://github.com/substack/node-mkdirp/issues/66
0.16.3 / 2015-01-28
- reverted
1ee77c8a80
0.16.2 / 2015-01-28
- fixed
fs.copyfor Node v0.8 (support is temporary and will be removed in the near future)
0.16.1 / 2015-01-28
- if
setImmediateis not available, fall back toprocess.nextTick
0.16.0 / 2015-01-28
- bugfix
fs.move()into itself. Closes #104 - bugfix
fs.move()moving directory across device. Closes #108 - added coveralls support
- bugfix: nasty multiple callback
fs.copy()bug. Closes #98 - misc fs.copy code cleanups
0.15.0 / 2015-01-21
- dropped
ncp, imported code in - because of previous, now supports
io.js graceful-fsis now a dependency
0.14.0 / 2015-01-05
- changed
copy/copySyncfromfs.copy(src, dest, [filters], callback)tofs.copy(src, dest, [options], callback)#100 - removed mockfs tests for mkdirp (this may be temporary, but was getting in the way of other tests)
0.13.0 / 2014-12-10
- removed
touchandtouchSyncmethods (they didn't handle permissions like UNIX touch) - updated
"ncp": "^0.6.0"to"ncp": "^1.0.1" - imported
mkdirp=>minimistandmkdirpare no longer dependences, should now appease people who wantedmkdirpto be--use_strictsafe. See #59
0.12.0 / 2014-09-22
- copy symlinks in
copySync()#85
0.11.1 / 2014-09-02
- bugfix
copySync()preserve file permissions #80
0.11.0 / 2014-08-11
- upgraded
"ncp": "^0.5.1"to"ncp": "^0.6.0" - upgrade
jsonfile": "^1.2.0"tojsonfile": "^2.0.0"=> on write, json files now have\nat end. Also addsoptions.throwstoreadJsonSync()see https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options for more details.
0.10.0 / 2014-06-29
- bugfix: upgaded
"jsonfile": "~1.1.0"to"jsonfile": "^1.2.0", bumped minor because ofjsonfiledep change from~to^. #67
0.9.1 / 2014-05-22
- removed Node.js
0.8.xsupport,0.9.0was published moments ago and should have been done there
0.9.0 / 2014-05-22
- upgraded
ncpfrom~0.4.2to^0.5.1, #58 - upgraded
rimraffrom~2.2.6to^2.2.8 - upgraded
mkdirpfrom0.3.xto^0.5.0 - added methods
ensureFile(),ensureFileSync() - added methods
ensureDir(),ensureDirSync()#31 - added
move()method. From: https://github.com/andrewrk/node-mv
0.8.1 / 2013-10-24
- copy failed to return an error to the callback if a file doesn't exist (ulikoehler #38, #39)
0.8.0 / 2013-10-14
filterimplemented oncopy()andcopySync(). (Srirangan / #36)
0.7.1 / 2013-10-12
copySync()implemented (Srirangan / #33)- updated to the latest
jsonfileversion1.1.0which givesoptionsparams for the JSON methods. Closes #32
0.7.0 / 2013-10-07
- update readme conventions
copy()now works if destination directory does not exist. Closes #29
0.6.4 / 2013-09-05
- changed
homepagefield in package.json to remove NPM warning
0.6.3 / 2013-06-28
- changed JSON spacing default from
4to2to follow Node conventions - updated
jsonfiledep - updated
rimrafdep
0.6.2 / 2013-06-28
- added .npmignore, #25
0.6.1 / 2013-05-14
- modified for
strictmode, closes #24 - added
outputJson()/outputJsonSync(), closes #23
0.6.0 / 2013-03-18
- removed node 0.6 support
- added node 0.10 support
- upgraded to latest
ncpandrimraf. - optional
graceful-fssupport. Closes #17
0.5.0 / 2013-02-03
- Removed
readTextFile. - Renamed
readJSONFiletoreadJSONandreadJson, same with write. - Restructured documentation a bit. Added roadmap.
0.4.0 / 2013-01-28
- Set default spaces in
jsonfilefrom 4 to 2. - Updated
testutildeps for tests. - Renamed
touch()tocreateFile() - Added
outputFile()andoutputFileSync() - Changed creation of testing diretories so the /tmp dir is not littered.
- Added
readTextFile()andreadTextFileSync().
0.3.2 / 2012-11-01
- Added
touch()andtouchSync()methods.
0.3.1 / 2012-10-11
- Fixed some stray globals.
0.3.0 / 2012-10-09
- Removed all CoffeeScript from tests.
- Renamed
mkdirtomkdirs/mkdirp.
0.2.1 / 2012-09-11
- Updated
rimrafdep.
0.2.0 / 2012-09-10
- Rewrote module into JavaScript. (Must still rewrite tests into JavaScript)
- Added all methods of [jsonfile][https://github.com/jprichardson/node-jsonfile]
- Added Travis-CI.
0.1.3 / 2012-08-13
- Added method
readJSONFile.
0.1.2 / 2012-06-15
- Bug fix:
deleteSync()didn't exist. - Verified Node v0.8 compatibility.
0.1.1 / 2012-06-15
- Fixed bug in
remove()/delete()that wouldn't execute the function if a callback wasn't passed.
0.1.0 / 2012-05-31
- Renamed
copyFile()tocopy().copy()can now copy directories (recursively) too. - Renamed
rmrf()toremove(). remove()aliased withdelete().- Added
mkdirpcapabilities. Named:mkdir(). Hides Node.js nativemkdir(). - Instead of exporting the native
fsmodule with new functions, I now copy over the native methods to a new object and export that instead.
0.0.4 / 2012-03-14
- Removed CoffeeScript dependency
0.0.3 / 2012-01-11
- Added methods rmrf and rmrfSync
- Moved tests from Jasmine to Mocha
[#59]: https://github.com/jprichardson/node-fs-extra/issues/59 "Consider including mkdirp and making fs-extra "--use_strict" safe [question]"
[#58]: https://github.com/jprichardson/node-fs-extra/issues/58 "Stack trace not included in fs.copy error"
[#57]: https://github.com/jprichardson/node-fs-extra/issues/57 "Possible to include wildcards in delete?"
[#56]: https://github.com/jprichardson/node-fs-extra/issues/56 "Crash when have no access to write to destination file in copy "
[#55]: https://github.com/jprichardson/node-fs-extra/issues/55 "Is it possible to have any console output similar to Grunt copy module?"
[#54]: https://github.com/jprichardson/node-fs-extra/issues/54 "copy does not preserve file ownership and permissons"
[#53]: https://github.com/jprichardson/node-fs-extra/issues/53 "outputFile() - ability to write data in appending mode"
[#52]: https://github.com/jprichardson/node-fs-extra/pull/52 "This fixes (what I think) is a bug in copySync"
[#51]: https://github.com/jprichardson/node-fs-extra/pull/51 "Add a Bitdeli Badge to README"
[#50]: https://github.com/jprichardson/node-fs-extra/issues/50 "Replace mechanism in createFile"
[#49]: https://github.com/jprichardson/node-fs-extra/pull/49 "update rimraf to v2.2.6"
[#48]: https://github.com/jprichardson/node-fs-extra/issues/48 "fs.copy issue [bug]"
[#47]: https://github.com/jprichardson/node-fs-extra/issues/47 "Bug in copy - callback called on readStream "close" - Fixed in ncp 0.5.0"
[#46]: https://github.com/jprichardson/node-fs-extra/pull/46 "update copyright year"
[#45]: https://github.com/jprichardson/node-fs-extra/pull/45 "Added note about fse.outputFile() being the one that overwrites"
[#44]: https://github.com/jprichardson/node-fs-extra/pull/44 "Proposal: Stream support"
[#43]: https://github.com/jprichardson/node-fs-extra/issues/43 "Better error reporting "
[#42]: https://github.com/jprichardson/node-fs-extra/issues/42 "Performance issue?"
[#41]: https://github.com/jprichardson/node-fs-extra/pull/41 "There does seem to be a synchronous version now"
[#40]: https://github.com/jprichardson/node-fs-extra/issues/40 "fs.copy throw unexplained error ENOENT, utime "
[#39]: https://github.com/jprichardson/node-fs-extra/pull/39 "Added regression test for copy() return callback on error"
[#38]: https://github.com/jprichardson/node-fs-extra/pull/38 "Return err in copy() fstat cb, because stat could be undefined or null"
[#37]: https://github.com/jprichardson/node-fs-extra/issues/37 "Maybe include a line reader? [enhancement, question]"
[#36]: https://github.com/jprichardson/node-fs-extra/pull/36 "filter parameter fs.copy and fs.copySync"
[#35]: https://github.com/jprichardson/node-fs-extra/pull/35 "filter parameter fs.copy and fs.copySync "
[#34]: https://github.com/jprichardson/node-fs-extra/issues/34 "update docs to include options for JSON methods [enhancement]"
[#33]: https://github.com/jprichardson/node-fs-extra/pull/33 "fs_extra.copySync"
[#32]: https://github.com/jprichardson/node-fs-extra/issues/32 "update to latest jsonfile [enhancement]"
[#31]: https://github.com/jprichardson/node-fs-extra/issues/31 "Add ensure methods [enhancement]"
[#30]: https://github.com/jprichardson/node-fs-extra/issues/30 "update package.json optional dep graceful-fs"
[#29]: https://github.com/jprichardson/node-fs-extra/issues/29 "Copy failing if dest directory doesn't exist. Is this intended?"
[#28]: https://github.com/jprichardson/node-fs-extra/issues/28 "homepage field must be a string url. Deleted."
[#27]: https://github.com/jprichardson/node-fs-extra/issues/27 "Update Readme"
[#26]: https://github.com/jprichardson/node-fs-extra/issues/26 "Add readdir recursive method. [enhancement]"
[#25]: https://github.com/jprichardson/node-fs-extra/pull/25 "adding an .npmignore file"
[#24]: https://github.com/jprichardson/node-fs-extra/issues/24 "[bug] cannot run in strict mode [bug]"
[#23]: https://github.com/jprichardson/node-fs-extra/issues/23 "writeJSON() should create parent directories"
[#22]: https://github.com/jprichardson/node-fs-extra/pull/22 "Add a limit option to mkdirs()"
[#21]: https://github.com/jprichardson/node-fs-extra/issues/21 "touch() in 0.10.0"
[#20]: https://github.com/jprichardson/node-fs-extra/issues/20 "fs.remove yields callback before directory is really deleted"
[#19]: https://github.com/jprichardson/node-fs-extra/issues/19 "fs.copy err is empty array"
[#18]: https://github.com/jprichardson/node-fs-extra/pull/18 "Exposed copyFile Function"
[#17]: https://github.com/jprichardson/node-fs-extra/issues/17 "Use require("graceful-fs") if found instead of require("fs")"
[#16]: https://github.com/jprichardson/node-fs-extra/pull/16 "Update README.md"
[#15]: https://github.com/jprichardson/node-fs-extra/issues/15 "Implement cp -r but sync aka copySync. [enhancement]"
[#14]: https://github.com/jprichardson/node-fs-extra/issues/14 "fs.mkdirSync is broken in 0.3.1"
[#13]: https://github.com/jprichardson/node-fs-extra/issues/13 "Thoughts on including a directory tree / file watcher? [enhancement, question]"
[#12]: https://github.com/jprichardson/node-fs-extra/issues/12 "copyFile & copyFileSync are global"
[#11]: https://github.com/jprichardson/node-fs-extra/issues/11 "Thoughts on including a file walker? [enhancement, question]"
[#10]: https://github.com/jprichardson/node-fs-extra/issues/10 "move / moveFile API [enhancement]"
[#9]: https://github.com/jprichardson/node-fs-extra/issues/9 "don't import normal fs stuff into fs-extra"
[#8]: https://github.com/jprichardson/node-fs-extra/pull/8 "Update rimraf to latest version"
[#6]: https://github.com/jprichardson/node-fs-extra/issues/6 "Remove CoffeeScript development dependency"
[#5]: https://github.com/jprichardson/node-fs-extra/issues/5 "comments on naming"
[#4]: https://github.com/jprichardson/node-fs-extra/issues/4 "version bump to 0.2"
[#3]: https://github.com/jprichardson/node-fs-extra/pull/3 "Hi! I fixed some code for you!"
[#2]: https://github.com/jprichardson/node-fs-extra/issues/2 "Merge with fs.extra and mkdirp"
[#1]: https://github.com/jprichardson/node-fs-extra/issues/1 "file-extra npm !exist"