UNPKG

4.96 kBMarkdownView Raw
1# 0.13.1 (2017-03-16)
2- Added lacking promise rejection handler for `copyAsync()`.
3
4# 0.13.0 (2017-03-15)
5- **(breaking change)** Dropped support for node.js 0.10 and 0.12
6- **(possibly breaking change)** fs-jetpack no longer uses libraries `mkdirp` and `rimraf`, those have been replaced with in-house implementations doing the same task. The new implementations are simpler than original libraries, so some edge cases might emerge after upgrading (please file an issue if you stumbled upon such case).
7- Started using native promises instead of `Q` library
8
9# 0.12.0 (2017-02-19)
10- **(breaking change)** Changes in `symlinks` option passed to `inspect()`.
11- Added `symlinks` option to `inspectTree()`.
12- Removed controversial edge case behaviour for `exists()`.
13
14# 0.11.0 (2017-02-09)
15- Added input validation for the whole API
16- **(breaking change)** Removed already deprecated option `buf` for `read()` method
17
18# 0.10.5 (2016-12-07)
19- Fixed `find()` bug when `directories` is set to `true` and only negation glob is used.
20
21# 0.10.4 (2016-12-06)
22- Fixed matcher edge cases, improved matcher tests (affects `find()` and `copy()` methods).
23
24# 0.10.3 (2016-11-23)
25- Fixed directory tree traversal bug which was causing problems for `findAsync()` and `copyAsync()`.
26
27# 0.10.2 (2016-11-08)
28- Fixed `console.log(jetpack)` for node v6.6.0 or newer.
29
30# 0.10.1 (2016-11-01)
31- Bugfixed case when `copyAsync()` was leaving open read stream if write stream errored.
32- Tests ported from jasmine to mocha.
33
34# 0.10.0 (2016-10-17)
35- `copyAsync()` uses only streams (much more memory efficient).
36- `find()` supports `recursive` option.
37
38# 0.9.2 (2016-06-27)
39- Updated third party dependencies to quell minimatch intallation warnings.
40
41# 0.9.1 (2016-05-21)
42- Bug-fixed `jetpack.read('nonexistent_file', 'json')`.
43
44# 0.9.0 (2016-05-10)
45- **(breaking change)** `read()`, `list()`, `inspect()` and `inspectTree()` returns `undefined` instead of `null` if path doesn't exist.
46- More sane edge cases for `dir()`, `file()` and `list()`.
47
48# 0.8.0 (2016-04-09)
49- **(breaking change)** `find()` now distinguishes between files and directories and by default searches only for files (previously searched for both).
50- **(breaking change)** `find()` no longer can be configured with `returnAs` parameter and returns always relative paths (previously returned absolute).
51- **(breaking change)** `list()` no longer accepts `useInspect` as a parameter. To achieve old behaviour use `jetpack.list()` with `Array.map()`.
52- **(deprecation)** Don't do `jetpack.read('sth', 'buf')`, do `jetpack.read('sth', 'buffer')` instead.
53- `remove()`, `list()` and `find()` now can be called without provided `path`, and defaults to CWD in that case.
54
55# 0.7.3 (2016-03-21)
56- Bugfixed `copy()` with symlink overwrite
57
58# 0.7.2 (2016-03-09)
59- Fixed .dotfiles copying
60
61# 0.7.1 (2015-12-17)
62- Updated third party dependencies.
63
64# 0.7.0 (2015-07-20)
65- **(breaking change)** `matching` option in `copy()` and `find()` resolves glob patterns to the folder you want copy or find stuff in (previously CWD was used).
66
67# 0.6.5 (2015-06-19)
68- `exists()` can handle ENOTDIR error.
69
70# 0.6.3 and 0.6.4 (2015-04-18)
71- Added support for symbolic links.
72
73# 0.6.2 (2015-04-07)
74- Option `matching` in `copy()` and `find()` now accepts patterns anchored to CWD.
75
76# 0.6.1 (2015-04-03)
77- Option `matching` in `copy()` and `find()` now accepts negation patterns (e.g. `!some/file.txt`).
78
79# 0.6.0 (2015-03-30)
80- Lots of code refactoring
81- **(breaking change)** `dir()` no longer has `exists` option.
82- **(breaking change)** `file()` no longer has `exists` and `empty` options.
83- **(breaking change)** `safe` option for `write()` renamed to `atomic` (and uses new algorithm under the hood).
84- **(breaking change)** `safe` option for `read()` dropped (`atomic` while writing is enough).
85- **(breaking change)** In `copy()` options `only` and `allBut` have been replaced by option `matching`.
86- **(breaking change)** In `remove()` options `only` and `allBut` have been dropped (to do the same use `find()`, and then remove).
87- **(breaking change)** Default jsonIndent changed form 0 to 2.
88- `find()` method added.
89- More telling errors when `read()` failed while parsing JSON.
90
91# 0.5.3 (2015-01-06)
92- `inspect()` can return file access/modify/change time and mode.
93
94# 0.5.2 (2014-09-21)
95- `inspect()` checksum of empty file is now `null`.
96
97# 0.5.1 (2014-09-21)
98- `cwd()` accepts many arguments as path parts.
99
100# 0.5.0 (2014-08-31)
101- **(breaking change)** Method `tree()` renamed to `inspectTree()`.
102- **(breaking change)** Parameters passed to `list()` has changed.
103- Methods `inspect()` and `inspectTree()` can calculate md5 and sha1 checksums.
104- Added aliases to `fs.createReadStream()` and `fs.createWriteStream()`.
105
106# 0.4.1 (2014-07-16)
107- `copy()` now copies also file permissions on unix systems.
108- `append()` can specify file mode if file doesn't exist.
109- Can indent saved JSON data.
110
111# 0.4.0 (2014-07-14)
112- Changelog starts here.