Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Changelog

creationix edited this page Aug 16, 2012 · 2 revisions

0.3.x

The sandbox was removed. There is no uid/gid emulation going on anymore. It bloated the code and wasn't 100% secure anyway. We now rely on the OS to handle security, so make sure to run vfs-local as the right user.

This release also comes with 90% code coverage in unit tests. Every commit goes to Travis CI so we know when stuff breaks. Many minor bugs were found and fixed during writing the unit tests.

fsoptions.checkSymlinks was added to configure if vfs.resolve should realpath to resolve symlinks or just do string manipulation. In practice, this affects if symlinks to content outside the root can be used.

vfs.mkfile now supports both readable stream at options.stream and writable stream at meta.stream.

vfs.resolve is now supported (was called vfs.realpath)

vfs.extend and friends is now a supported API and was split into three functions for full lifecycle control.

vfs.on and friends is now a supported API for vfs level events.

vfs.exec was removed in favor for vfs.execFile.

vfs.killtree was removed.

vfs.changedSince was removed.

The argument lint checking was removed and moved into a standalone module at vfs-lint.

0.2.x

Had a slight breakage from 0.1.x where vfs.mkfile required a readable stream instead of providing a writable stream in the callback.

0.1.x

The initial vfs interface.

Clone this wiki locally