Thanks to PR #18 from @MEGApixel23:
- New signature for hash.manifest:
hash.manifest(manifestPath, options)
- Old signature
hash.manifest(manifestPath, append, space)
is still supported
- Old signature
- New options for
hash.manifest
:deleteOld
Deletes old hashed files mentioned in the manifest. This includes both files with different hashes and files that have been removed from the manifest.sourceDir
Used withdeleteOld
. Specifies the directory where to delete old hashed files from.
- Update contributor and changelog info for npm
- Original path ("left side") in the manifest file now uses the file's original path instead of target path + filename. #17
- This allows you to change the path with e.g. gulp-rename both before calling
hash()
and after - May break some setups, hence major version bump
- Thanks to https://github.com/jorrit!
- This allows you to change the path with e.g. gulp-rename both before calling
- The
version
option now handles non-strings correctly (thanks @outpunk, Dragory#9)
This is a major release and includes breaking changes.
- Proper support for streams
- Deprecated custom hashing functions
- Manifest option
append
is nowtrue
by default - Removed examples until they are updated