Skip to content

Releases: thecodrr/fdir

3.1.0

11 May 00:12

Choose a tag to compare

What's New:

  1. Added a new glob crawler option for glob matching using picomatch. To use it you must install picomatch yourself.

yarn add picomatch

This was done because not everyone needs globbing.

NOTE: This release is backwards compatible with 3.x

3.0.0

10 May 18:49

Choose a tag to compare

NOTE: This is a major release and as such is not backwards compatible with 2.x & 1.x

What's New:

  1. New API using the builder pattern. Check the full documentation here.
  2. Now, fdir, by default suppresses all errors, excludes the base path etc. To enable them use the builder functions.

What's Improved:

  1. Crawling speed has been improved by upto 40%! Check the README for benchmarks.
  2. The sync & async API now share the same core making it easier to maintain and fix bugs.

What's Fixed:

  1. The new API allowed me to fix #12. Basically, maxDepth wasn't working properly. That has been fixed now.

And that's it. Enjoy the speed.

2.1.1

27 Apr 07:31

Choose a tag to compare

This is a minor patch release.

What's fixed:

  1. change TypeScript typings to use string instead of String (thanks to @OmgImAlexis) (#16)

2.1.0

21 Mar 18:56

Choose a tag to compare

What's New?

  • Added ignoreErrors option to ignore errors (default: false)
  • Added proper error handling (#8)

What's Fixed?

  • Made Options optional 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

16 Mar 08:17
8982a2b

Choose a tag to compare

What's Changed?

  • Renamed includeBasePath to excludeBasePath. You'll need to reverse the functionality.

What's Fixed?

  • There was an issue where isExcludedDir function 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.

1.2.0

15 Mar 16:32

Choose a tag to compare

Nothing new. Just optimisations to make it even faster. New benchmarks can be found in README.md

1.0.3

14 Mar 10:33

Choose a tag to compare

What's New?

Nothing

What's Improved?

Migrated to util.promisify for fdir.async. This surprisingly improves performance on battery (when CPU is downclocked to save battery) so now both benchmarks are almost equal.