Skip to content

Commit bb283eb

Browse files
committed
release 0.2.11
1 parent babcc44 commit bb283eb

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
### [0.2.11](https://github.com/SuperchupuDev/tinyglobby/compare/0.2.10...0.2.11)
2+
3+
I've opened a sponsorships page! Consider sponsoring at https://github.com/sponsors/SuperchupuDev
4+
if you'd like to support the development of this project. This is a huge release in a technical aspect
5+
that took many months to get right.
6+
7+
#### Added
8+
9+
- New optimizer to avoid crawling directories with entries that will never match.
10+
11+
This is a huge performance improvement and it should solve most if not all performance issues in the library.
12+
13+
This has taken many months to figure out and implement and has gotten through three different implementations
14+
with the help and/or advice of many people, most from [e18e](https://e18e.dev):
15+
- [benmccann](https://github.com/benmcann)
16+
- [Fuzzyma](https://github.com/Fuzzyma)
17+
- [43081j](https://github.com/43081j)
18+
- [jviide](https://github.com/jviide)
19+
- [pralkarz](https://github.com/pralkarz)
20+
- [xiboon](https://github.com/xiboon)
21+
- [xuanduc987](https://github.com/xuanduc987)
22+
- [thecodrr](https://github.com/thecodrr) for merging a important upstream fix
23+
24+
- Other performance improvements, such as early returning without patterns by [bluwy](https://github.com/bluwy)
25+
and micro-optimizations by [Torathion](https://github.com/Torathion)
26+
27+
- `debug` option. Useful for development purposes
28+
29+
#### Fixed
30+
31+
- Usage of escaped patterns with a cwd that partially matches the pattern
32+
- Unsupported usages of backslashes making the library really slow. It should be way faster now thanks to the new optimizer
33+
134
### [0.2.10](https://github.com/SuperchupuDev/tinyglobby/compare/0.2.9...0.2.10)
235

336
#### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ A fast and minimal alternative to globby and fast-glob, meant to behave the same
88
Both globby and fast-glob present some behavior no other globbing lib has,
99
which makes it hard to manually replace with something smaller and better.
1010

11-
This library uses only two subdependencies, compared to `globby`'s [23](https://npmgraph.js.org/?q=globby@14.0.2)
12-
and `fast-glob`'s [17](https://npmgraph.js.org/?q=fast-glob@3.3.2).
11+
This library uses only two subdependencies, compared to `globby`'s [23](https://npmgraph.js.org/?q=globby@14.1.0)
12+
and `fast-glob`'s [17](https://npmgraph.js.org/?q=fast-glob@3.3.3).
1313

1414
## Usage
1515

@@ -41,6 +41,7 @@ globSync(['src/**/*.ts'], { ignore: ['**/*.d.ts'] });
4141
- `expandDirectories`: Whether to expand directories. Disable to best match `fast-glob`. Defaults to `true`.
4242
- `onlyDirectories`: Enable to only return directories. Disables `onlyFiles` if set. Defaults to `false`.
4343
- `onlyFiles`: Enable to only return files. Defaults to `true`.
44+
- `debug`: Enable debug logs. Useful for development purposes.
4445

4546
## Used by
4647

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinyglobby",
3-
"version": "0.2.10",
3+
"version": "0.2.11",
44
"description": "A fast and minimal alternative to globby and fast-glob",
55
"scripts": {
66
"build": "tsup",
@@ -40,6 +40,9 @@
4040
"url": "https://github.com/SuperchupuDev/tinyglobby/issues"
4141
},
4242
"homepage": "https://github.com/SuperchupuDev/tinyglobby#readme",
43+
"funding": {
44+
"url": "https://github.com/sponsors/SuperchupuDev"
45+
},
4346
"dependencies": {
4447
"fdir": "^6.4.3",
4548
"picomatch": "^4.0.2"

0 commit comments

Comments
 (0)