Skip to content

2.2.4

Compare
Choose a tag to compare
@mrmlnc mrmlnc released this 11 Nov 14:47
· 490 commits to master since this release

A big release of bug fixes

💬 Common

Input values validation (#119)

Unfortunately, not everyone uses TypeScript.
Now we are clearly saying that we only accept strings as input.

🐛 Bug Fixes

Absolute negative patterns (#113)

Now we support the absolute negative patterns. You can read more about this in the documentation.

📖 Works only when the absolute option is enabled.

Performance optimizations for non-deep patterns (#120)

We fixed a bug in the mechanism of determining the minimum required depth for reading.

📖 In some cases, we will still read more than we need to, because in the current implementation we cannot accurately determine the depth of the read. But we will work on this further within #53.

For example, the user wrote the following pattern: fixtures/*.

Prior to release of this version, FastGlob could read more directories than it needed:

./fixtures 
└── one 👍
   └── two  👍
      └── three 👍
         └── four ❌
            └── index.js

Right now:

./fixtures 
└── one ❌
   └── two 
      └── three
         └── four
            └── index.js

The markDirectories options does not work when the absolute option is enabled(#121)

Now it works correctly. Thanks @rijnhard for fix it 🎉

The deep options works incorrectly (#129)

Fixed the problem of incorrect depth reading limit when using the deep option.