Releases: thecodrr/fdir
Releases · thecodrr/fdir
3.1.0
3.0.0
NOTE: This is a major release and as such is not backwards compatible with 2.x & 1.x
What's New:
- New API using the builder pattern. Check the full documentation here.
- Now, fdir, by default suppresses all errors, excludes the base path etc. To enable them use the builder functions.
What's Improved:
- Crawling speed has been improved by upto 40%! Check the README for benchmarks.
- The sync & async API now share the same core making it easier to maintain and fix bugs.
What's Fixed:
- The new API allowed me to fix #12. Basically,
maxDepthwasn't working properly. That has been fixed now.
And that's it. Enjoy the speed.
2.1.1
2.1.0
What's New?
- Added
ignoreErrorsoption to ignore errors (default: false) - Added proper error handling (#8)
What's Fixed?
- Made
Optionsoptional in type defs. (#9) - Fixed issue where input path with trailing slash did not get normalized (#10)
What's improved?
This release mainly included bug fixes and code refactoring. Nothing much has changed in terms of performance.
2.0.0
What's Changed?
- Renamed
includeBasePathtoexcludeBasePath. You'll need to reverse the functionality.
What's Fixed?
- There was an issue where
isExcludedDirfunction was sending only the directory name (not its path) in the argument. That's fixed now.
What's Improved?
As always, the performance. Also cleaned up the code quite a lot.