Skip to content

Releases: gulpjs/vinyl-fs

vinyl-fs v4.0.0

25 Jun 23:16
c08ab4b
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Prefer symlink property set on Vinyl object over its path (#345)
  • Avoid error and reflect filesystem stat if futimes not implemented (#341)
  • Consider the greater of ctime & mtime when comparing since option (#340)
  • Normalize repository, dropping node <10.13 support
  • Switch stream implementation to streamx (#333)
  • Default to utf8 decoding and encoding. Add encoding option to change (#287)

Features

  • Consider the greater of ctime & mtime when comparing since option (#340) (9f907ba)
  • Convert Windows-style paths in src() to proper globs (910c8a5)
  • Prefer symlink property set on Vinyl object over its path (#345) (0ac27a2)
  • Replace lazystream with streamx Composer (#344) (a80dae3)
  • Switch stream implementation to streamx (#333) (910c8a5)
  • Test against streams from core, streamx, and readable-stream (910c8a5)
  • Default to utf8 decoding and encoding. Add encoding option to change (#287)

Bug Fixes

  • Add regression test for negative relative globs (#343) (ebe6498)
  • Avoid error and reflect filesystem stat if futimes not implemented (#341) (9ba20fd)
  • Correct regression with src using arrays of globs (#342) (5659934)
  • Reference correct property name in integration testing (#320) (df245a4)
  • Workaround symlink stat bug in Node 10 on Windows (910c8a5)

Miscellaneous Chores

  • Normalize repository, dropping node <10.13 support (910c8a5)

v3.0.3

13 May 22:40
Compare
Choose a tag to compare

Fix

v3.0.2

23 Jan 20:36
Compare
Choose a tag to compare

Fix

  • Avoid node internals for our WriteStream (167d8ff) - Closes #295

Build

  • Add node 9 to CI matrices (62d1969)

v3.0.1

29 Dec 19:08
Compare
Choose a tag to compare

Fix

  • Temporarily marshall old Vinyl objects to latest version in dest/symlink (bbfb50c)

Docs

v3.0.0

05 Dec 20:58
Compare
Choose a tag to compare

Breaking

  • Utilize vinyl-prepare & vinyl-sourcemap dependencies (af035a5) - Closes #193
  • Consistent modules names (7fd3190)
  • Improve symlink/junction behaviour (4b15227)
  • Rename relative option to relativeSymlinks (09379ba) - Closes #251
  • Rename stripBOM option to removeBOM (bfb56cd)
  • Remove flag property leakage on Vinyl objects (de1eced)
  • Handle overwrite option in symlink to be consistent with dest (08d33fb)
  • Remove ability to pass options to through2 (5fcdf3a)
  • Remove passthrough option & infer readable or passthrough (325a784)
  • Replace flag option with append option (e739f6c)
  • Default to using Junctions on Windows (40ac6e9) - Closes #210 #231
  • Rename option followSymlinks to resolveSymlinks (20fc47c) - Closes #205
  • Consistent directory layout (8dfe08b)
  • Upgrade Vinyl to 2.0.0 (5dc079c)
  • Added support for changing uid/gid on disk (7fc8509) - Closes #157 #188
  • Remove base option from dest/symlink options, use functions for folder instead (7abaf4d) - Closes #141
  • Remove superfluous argument from write-xxx modules & use file.path instead (501673b)
  • Throw when dest()/symlink() is called with invalid folder argument & unskip tests (462fee5)

Fix

  • Use explicit chmod to ensure setgid permission can be set & account for umask with default mode (8eb33dc) - Closes #183 #185
  • Avoid file.isDirectory in useJunctions default (a741486) - Closes #247 #252
  • Remove lodash.isequal dependency due to changed behavior (94f7ac7)
  • Use the sink stream utility to sink symlink stream (7a16a0b) - Closes #195
  • Use custom implementation of fs.WriteStream that supports flush (483d1cc) - Closes #189
  • Avoid setting a position in custom write stream (81f343b) - Closes #202 #203
  • Properly handle file in mkdirp path (3087b78) - Closes #181
  • Don't rely on undocumented Stream.fd property (c7798bb)
  • Increase offset in futimes test timestamps (12f92f8)
  • Make tests aware of umask & use octal strings for expected results (31b0a66) - Closes #166
  • Support setting setuid/setgid/sticky in updateMetadata (799b057) - Closes #156

New

Update

  • Avoid realpath calls & use stat instead (e060d2e)
  • Reorganize symlinks options to match API docs (710122a)
  • Test cleanup (b8318dd)
  • Add failing tests for symlink behavior (e0e4b4b)
  • Support Node 8 by adding ._destroy to WriteStream (3178606)
  • Invoke callback with error or result, not both, when reading contents (5fcb6ee)
  • When testing utime-related cases, check `fs.futimes (97649a6) - Closes #208
  • Attach symlink property when passed through dest or symlink (1665b38) - Closes #249
  • Mirror symlink logic in dest (971accb)
  • Replace del devDependency with rimraf (d5014e4)
  • Replace strip-bom/strip-bom-stream dependencies with remove-bom-buffer/remove-bom-stream (9bf2927)
  • Replace object-assign dependency with object.assign (df044c6)
  • Resolve options based on definition (19004c7)
  • Remove vinyl-prepare & embed logic once again (a751c41)
  • Revive wrap-vinyl as separate stream stage in src (8cd5aff)
  • Swap mkdirp/mkdirpStream for fs-mkdirp-stream dependency (33ee92a)
  • De-duplicate error handling into file-operations (cb9f0c8)
  • Use new mkdirpStream in dest & symlink (743d216)
  • Make constant match file contents (00b6f88)
  • Add a better error message if a non-Vinyl is received by .dest/.symlink (fdc6fe5) - Closes #281
  • Refactor dest with makeDirs & streaming writeContents (6043981)
  • Make variable/argument names consistent across project (e699278)
  • Use lead as stream sinking utility (3a23cb8)
  • Remove unused dependencies (ef021b8)
  • Handle dates consistently (c11dcbd) - Closes #191
  • Replace lodash.defaultto with koalas (b12eca9) - Closes #220 #221
  • Use lodash.defaultto instead of our custom method (4b9a692)
  • Use flush-write-stream for sink instead of readable-stream (84cebfc)
  • Refactor and reword tests (e7191c1)
  • Make internals consistent (0cec736)
  • Add test for not setting directory mode (79c7216)
  • Add mkdirp Windows tests & improve mkdirp tests (e63dd97) - Closes #180
  • Make consistent internal callback names (3c5d319)
  • Introduce module for constants (e8be746)
  • Implement custom mkdirp (a8ab60b) - Closes #165 #169
  • Avoid passing fd to updateMetadata callback (a273d3c)
  • Support functions for all options (5aa245b)
  • Change source filenames to kebab-case (cb4a6ff) - Closes #152

Docs

  • API Review (3af7b1c)
  • Add caveats about dangling links on Windows (47f8f06)
  • Rephrase note about 32-bit timestamp precision issue (b5e62da)
  • Notes about precision lost of mtime in 32bit Node.js (3d52dda)
  • Bring options documentation inlin...
Read more

v2.4.4

05 Dec 19:32
Compare
Choose a tag to compare

Fix

  • Pin gulp-sourcemaps to avoid breaking changes (63808d8)

v2.4.3

05 Dec 19:32
Compare
Choose a tag to compare

Fix

  • Improve symlink following logic for correct file.base in `src (a1d4ccc) - Closes #132

Scaffold

  • Generate updated changelog (1954edd)

v2.4.2

05 Dec 19:32
Compare
Choose a tag to compare

Fix

  • Upgrade glob-stream to remove path.normalize workaround (8cfb322)

v2.4.1

05 Dec 19:32
Compare
Choose a tag to compare

Fix

  • Avoid passing read option from src() to through2 (8867645)

v2.4.0

05 Dec 19:32
Compare
Choose a tag to compare

New

  • Allow specifying sourcemaps option as string in dest() (bcd55f2)