4.2 KiB
4.2 KiB
0.12.1 (2017-02-24)
- Typescript port complete
- all tests passing
0.11.0 (2017-02-09)
- Added input validation for the whole API
- (breaking change) Removed already deprecated option
bufforread()method
0.10.5 (2016-12-07)
- Fixed
find()bug whendirectoriesis set totrueand only negation glob is used.
0.10.4 (2016-12-06)
- Fixed matcher edge cases, improved matcher tests (affects
find()andcopy()methods).
0.10.3 (2016-11-23)
- Fixed directory tree traversal bug which was causing problems for
findAsync()andcopyAsync().
0.10.2 (2016-11-08)
- Fixed
console.log(jetpack)for node v6.6.0 or newer.
0.10.1 (2016-11-01)
- Bugfixed case when
copyAsync()was leaving open read stream if write stream errored. - Tests ported from jasmine to mocha.
0.10.0 (2016-10-17)
copyAsync()uses only streams (much more memory efficient).find()supportsrecursiveoption.
0.9.2 (2016-06-27)
- Updated third party dependencies to quell minimatch intallation warnings.
0.9.1 (2016-05-21)
- Bug-fixed
jetpack.read('nonexistent_file', 'json').
0.9.0 (2016-05-10)
- (breaking change)
read(),list(),inspect()andinspectTree()returnsundefinedinstead ofnullif path doesn't exist. - More sane edge cases for
dir(),file()andlist().
0.8.0 (2016-04-09)
- (breaking change)
find()now distinguishes between files and directories and by default searches only for files (previously searched for both). - (breaking change)
find()no longer can be configured withreturnAsparameter and returns always relative paths (previously returned absolute). - (breaking change)
list()no longer acceptsuseInspectas a parameter. To achieve old behaviour usejetpack.list()withArray.map(). - (deprecation) Don't do
jetpack.read('sth', 'buf'), dojetpack.read('sth', 'buffer')instead. remove(),list()andfind()now can be called without providedpath, and defaults to CWD in that case.
0.7.3 (2016-03-21)
- Bugfixed
copy()with symlink overwrite
0.7.2 (2016-03-09)
- Fixed .dotfiles copying
0.7.1 (2015-12-17)
- Updated third party dependencies.
0.7.0 (2015-07-20)
- (breaking change)
matchingoption incopy()andfind()resolves glob patterns to the folder you want copy or find stuff in (previously CWD was used).
0.6.5 (2015-06-19)
exists()can handle ENOTDIR error.
0.6.3 and 0.6.4 (2015-04-18)
- Added support for symbolic links.
0.6.2 (2015-04-07)
- Option
matchingincopy()andfind()now accepts patterns anchored to CWD.
0.6.1 (2015-04-03)
- Option
matchingincopy()andfind()now accepts negation patterns (e.g.!some/file.txt).
0.6.0 (2015-03-30)
- Lots of code refactoring
- (breaking change)
dir()no longer hasexistsoption. - (breaking change)
file()no longer hasexistsandemptyoptions. - (breaking change)
safeoption forwrite()renamed toatomic(and uses new algorithm under the hood). - (breaking change)
safeoption forread()dropped (atomicwhile writing is enough). - (breaking change) In
copy()optionsonlyandallButhave been replaced by optionmatching. - (breaking change) In
remove()optionsonlyandallButhave been dropped (to do the same usefind(), and then remove). - (breaking change) Default jsonIndent changed form 0 to 2.
find()method added.- More telling errors when
read()failed while parsing JSON.
0.5.3 (2015-01-06)
inspect()can return file access/modify/change time and mode.
0.5.2 (2014-09-21)
inspect()checksum of empty file is nownull.
0.5.1 (2014-09-21)
cwd()accepts many arguments as path parts.
0.5.0 (2014-08-31)
- (breaking change) Method
tree()renamed toinspectTree(). - (breaking change) Parameters passed to
list()has changed. - Methods
inspect()andinspectTree()can calculate md5 and sha1 checksums. - Added aliases to
fs.createReadStream()andfs.createWriteStream().
0.4.1 (2014-07-16)
copy()now copies also file permissions on unix systems.append()can specify file mode if file doesn't exist.- Can indent saved JSON data.
0.4.0 (2014-07-14)
- Changelog starts here.