Skip to content

Releases: bmatcuk/doublestar

Added Support for SkipDir to GlobWalk

10 Jul 18:28
v4.2.0
cfa46a9
Compare
Choose a tag to compare

Your callback to GlobWalk can now return SkipDir which functions as it does in the standard library: if the current path is a directory, GlobWalk will not recurse into it. If the current path is not a directory, GlobWalk will stop processing the parent directory.

Added FilepathGlob Convenience Func; Better Support for Escaped Meta Chars

09 Jul 23:16
v4.1.0
884dbbe
Compare
Choose a tag to compare

FilepathGlob is a convenience function for people who want a drop-in replacement for filepath.Glob().

Thanks sebastien-rosset

Fixed a bug with {alts} and */** backtracking

09 Jul 14:19
v4.0.3
14995c0
Compare
Choose a tag to compare

Fixed a bug with escaped characters

12 Jun 12:28
v4.0.2
34e84fc
Compare
Choose a tag to compare

Fixed Windows Bugs

25 Apr 00:07
v4.0.1
f7a8118
Compare
Choose a tag to compare

Fixed some Windows bugs in v4.0.0.

Complete Rewrite for Performance and io/fs Support

24 Apr 23:11
v4.0.0
d9a3ae0
Compare
Choose a tag to compare

v4 is a complete rewrite with a focus on performance. Additionally, doublestar has been updated to use the new io/fs package for filesystem access. As a result, it is only supported by golang v1.16+. See README.md and UPGRADING.md for additional information.

Negate Character Classes with Exclamation Marks or Carets

26 Dec 16:40
Compare
Choose a tag to compare

To match POSIX patterns, v3 of doublestar supports negating character classes with exclamation marks (ie, [!...]) in addition to carets ([^...]). This is a minor breaking change if any of your existing patterns happen to include an exclamation mark as the first character in a character class. To fix the issue, simply escape the exclamation mark (ie, [\!...]) or move it later in the character class (ie, `[...!...]').

Fixed Minor Recursion Bug

19 Nov 00:37
Compare
Choose a tag to compare

Fixed Minor Recursion Bug

19 Nov 00:37
Compare
Choose a tag to compare

Reduced Allocations

24 Oct 18:57
Compare
Choose a tag to compare

This release reduces some of the allocations in Match and PathMatch, improving performance. I've also added benchmarks in the tests.