mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
6.5 KiB
6.5 KiB
2.4.0 (2020-05-15)
write()can acceptmodeas a parameter
2.3.0 (2020-05-03)
inspectTree()now supportstimesoption.
2.2.3 (2019-10-21)
- Amended TypeScript definitions thanks to @orta
2.2.2 (2019-02-19)
- Use rimraf as internal implementation of
remove()to fix https://github.com/szwacz/fs-jetpack/issues/80
2.2.1 (2019-01-20)
find()no longer crashes on ENOENT (e.g. when one of the files has been deleted by other process).- Added check if a parameter
newNamepassed torename()isn't a path.
2.2.0 (2018-10-13)
- Added ignoreCase option to
find()andcopy()methods.
2.1.1 (2018-09-19)
- Rename file types.ts -> types.d.ts to fix https://github.com/szwacz/fs-jetpack/issues/72
2.1.0 (2018-07-26)
- From now on the library ships with TypeScript type definitions.
2.0.0 (2018-07-10)
- (breaking change) removed
symlinksconfig option offind()method. Nowfind()always follows symlinks.
1.3.1 (2018-07-09)
- Fixed bug in
existsAsync().
1.3.0 (2018-02-09)
overwritefunction passed tocopyAsync()can return promise.
1.2.0 (2017-08-10)
- Added symlinks search option to
find().
1.1.0 (2017-06-18)
- Parameter
overwriteofcopy()method now supports functions, to allow you individually decide if each file overwrite should happen.
1.0.0 (2017-05-14)
- API declared stable. From now on braking changes will be minimized and whenever possible preceded by deprecation periods.
- Codebase updated to ES6
0.13.3 (2017-03-25)
removeAsync()retries deletion attempts for errors likeEBUSY.
0.13.2 (2017-03-21)
- Nested directory creation handles well race condition
0.13.1 (2017-03-16)
- Added lacking promise rejection handler for
copyAsync().
0.13.0 (2017-03-15)
- (breaking change) Dropped support for node.js 0.10 and 0.12
- (possibly breaking change) fs-jetpack no longer uses libraries
mkdirpandrimraf, 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). - Started using native promises instead of
Qlibrary
0.12.0 (2017-02-19)
- (breaking change) Changes in
symlinksoption passed toinspect(). - Added
symlinksoption toinspectTree(). - Removed controversial edge case behaviour for
exists().
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.