Releases: SuperchupuDev/tinyglobby
0.2.15
Added
-
Documentation page at https://superchupu.dev/tinyglobby, which also contains a library comparison page and migration guide.
It's been a huge effort that took two months to make.
Big thanks to @outslept, @43081j and @benmccann for helping out! ❤️
-
JSDoc to all functions and options based on the online documentation page
-
Benchmarks with help from @43081j and @benmccann
-
braceExpansionoption -
extgloboption -
fsoption -
globstaroption by @benmccann -
signaloption -
package.jsonexport astinyglobby/package.json -
Ability to pass readonly types by @TomerAberbach
-
Support for
URLs incwdoption
Changed
-
Rewritten path processing algorithm leading to a huge performance increase in many cases with help from @43081j and @benmccann
-
Deprecated using
patternsinside the options object -
Enabled trusted publishing using npm's OIDC support
Fixed
- Negated bracket expressions i.e.
[!abc] - Some patterns like
+++breaking the partial matcher
Consider sponsoring if you'd like to support the development of this project and the goal of reaching a lighter and faster ecosystem
0.2.14
Fixed
- Root path joining on windows with help from @43081j and @btea
deep: 0is no longer mistakenly interpreted as not set- Parent directories in patterns are now correctly normalized to
cwd
Changed
Consider sponsoring if you'd like to support the development of this project and the goal of reaching a lighter and faster ecosystem
0.2.13
Fixed
- Performance of crawling
/thanks to an upstreamfdirfix by @pralkarz - Path joining when crawling from
/by @benmccann - Paths no longer have their first character removed in some cases when crawling from
/ - Added compatibility with
@types/picomatch4.0.0
Consider sponsoring if you'd like to support the development of this project and the goal of reaching a lighter and faster ecosystem
0.2.12
Fixed
- Using
..inside ignore patterns could sometimes make the optimizer ignore parent directories
Changed
- The
debugoption now logs skipped directories
Consider sponsoring if you'd like to support the development of this project and the goal of reaching a lighter and faster ecosystem
0.2.11
I've opened a sponsorships page! Consider sponsoring at https://github.com/sponsors/SuperchupuDev
if you'd like to support the development of this project. This is a huge release in a technical aspect
that took many months to get right.
Added
-
New optimizer to avoid crawling directories with entries that will never match.
This is a huge performance improvement and it should solve most if not all performance issues in the library.
This has taken many months to figure out and implement and has gotten through three different implementations
with the help and/or advice of many people, most from e18e:- @benmccann
- @Fuzzyma
- @43081j
- @jviide
- @pralkarz
- @xiboon
- @xuanduc987
- @thecodrr for merging a important upstream fix
-
Other performance improvements, such as early returning without patterns by @bluwy
and micro-optimizations by @Torathion -
debugoption. Useful for development purposes
Fixed
- Usage of escaped patterns with a cwd that partially matches the pattern
- Unsupported usages of backslashes making the library really slow. It should be way faster now thanks to the new optimizer
0.2.10
0.2.9
0.2.8
Fixed
- Escaped symbols (i.e.
"\\[") in the inferred common root producing empty matches
Changed
- Improved the common root inference algorithm to optimize non-trailing
**patterns
0.2.7
Added
- Support for providing patterns as a string
followSymbolicLinksoptionescapePathutility function by @benmccannisDynamicPatternutility functionconvertPathToPatternutility function
Fixed
.as a pattern now works as expected- Globbing no longer returns an empty string when matching the root directory
- Handling of escaped symbols in patterns
Changed
- Relicensed the project to the MIT license
- Disabled source maps on release builds for smaller bundle size
- Improved the common root inference algorithm
0.2.6
Added
- Full support for absolute paths as patterns
caseSensitiveMatchoption