Skip to content

Releases: vfile/vfile

2.2.0

17 Jul 14:14

Choose a tag to compare

  • 96ade44 Add .info for informational messages

2.1.0

30 May 21:41

Choose a tag to compare

  • 5d2b5d9 Remove unneeded dependencies

2.0.1

07 Feb 17:49

Choose a tag to compare

  • 021d4b2 Track the repository migration
  • a5b39a4 Add section on reporters

2.0.0

21 Aug 13:27

Choose a tag to compare

Highlights

  • Remove some of the non-essentials currently in this project (hasFailed, namespace, move)
  • Streamline path-manipulation (there’s now getter/setters for path, dirname, basename, stem, and extname)
  • Add support for buffers as content
  • Simplify messages: no quiet, remove old #message() and rename #warn() to #message()
  • Standardise custom properties

API difference

The following diff shows in short the major API changes:

  `VFile.contents` // now also accepts buffers
- `VFile#directory`
+ `VFile.dirname`
- `VFile#filename`
+ `VFile.stem`
- `VFile#extension`
+ `VFile.extname`
- `VFile#basename()`
+ `VFile.basename`
- `VFile#filePath()`
+ `VFile.path`
- `VFile#quiet`
- `VFile#move(options)`
- `VFile#namespace(key)` // use `vfile.data` directly;
- `VFile#message(reason[, position[, ruleId]])`
- `VFile#warn(reason[, position[, ruleId]])`
+ `VFile#message(reason[, position[, ruleId]])`
  `VFile#fail(reason[, position[, ruleId]])`
- `VFile#hasFailed()`

🎉

1.4.0

18 Apr 16:30

Choose a tag to compare

  • 77547fb Add support for passing ruleId to message()

1.3.1

21 Jan 19:59

Choose a tag to compare

(identical to 1.3.0)

1.3.0

21 Jan 17:47

Choose a tag to compare

1.2.0

26 Dec 23:44

Choose a tag to compare

  • b45c780 Remove distribution files from source
  • 849c3ad Remove support for bower

1.1.2

19 Nov 18:58

Choose a tag to compare

  • c896cf9 Fix missing Error properties on VFileMessage

1.1.1

19 Nov 18:59

Choose a tag to compare