Filter files in a `vinyl` stream
https://github.com/sindresorhus/gulp-filter/compare/v9.0.0...v9.0.1
https://github.com/sindresorhus/gulp-filter/compare/v8.0.0...v9.0.0
https://github.com/sindresorhus/gulp-filter/compare/v7.0.0...v8.0.0
https://github.com/sindresorhus/gulp-filter/compare/v6.0.0...v7.0.0
Breaking:
https://github.com/sindresorhus/gulp-filter/compare/v5.1.0...v6.0.0
https://github.com/sindresorhus/gulp-filter/compare/v4.0.0...v5.0.0
Use the correct relative path. https://github.com/sindresorhus/gulp-filter/commit/5fd40bcb63978b5d87468143ade5e7a56692c129
There were issues with restoring a stream in 2.0.0 so we had to rethink the approach. In 3.0.0 you have to be explicit about what you want when you create the filter stream. Want to be able to restore the files using a restore stream later on? Cool, pass in {restore: true}
in the filter options. The restore stream is now a property on the filter stream instead of a function. We've also added support for using the filtered files as a file source, similar to gulp.src()
, see the passthrough
option.