Skip to content

Releases: bmatcuk/doublestar

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.

Close Directories Immediately

24 Oct 18:45
Compare
Choose a tag to compare

A small change to close directories immediately, rather than deferring. Thanks @luhring!

Close Directories Immediately

24 Oct 18:44
Compare
Choose a tag to compare

A small change to close directories immediately, rather than deferring. Thanks @luhring!

Fixed bug clobbering results if Readdir fails

15 Aug 14:26
Compare
Choose a tag to compare

If Readdir failed, doublestar was returning nil instead of the accumulated results. Thanks for the bug report @InfiniteTF!

Fixed bug clobbering results if Readdir fails

15 Aug 14:22
Compare
Choose a tag to compare

If Readdir failed, doublestar was returning nil instead of the accumulated results. Thanks for the bug report @InfiniteTF!