Releases: sindresorhus/globby
Releases · sindresorhus/globby
v16.0.0
Breaking
- Respect parent .gitignore files when
gitignoreoption is enabled b9a9a84- When
{gitignore: true}, Globby now searches for .gitignore files up to the Git repo root (if detected). This matches Git's actual behavior where parent .gitignore patterns apply to subdirectories. Previously, only .gitignore files within the glob search path were considered. This change could break existing code that relied on the previous, more limited behavior.
- When
Improvements
- Support negation-only patterns 1273541
- Respect custom fs implementation from options c2eb272
- Add some more options to
isGitIgnoredfunctions e794ff9 - Improve error message for invalid
cwdoption 7535e6d
Fixes
- Fix
{gitignore: true}performance issue fcb07c3 - Fix bundler compatibility e6c72c9
- Fix parent directory patterns with
gitignoreoption 11dd2df - Fix ignore patterns with parent directory references a58d117
- Fix types for
statsoption c10f600
v15.0.0
Breaking
- Require Node.js 20 4ae42c8
Fixes
- Fix
expandDirectoriesnot working with globstar patterns 98d691a - Fix relative paths with gitignore option b4d78d8
- Fix gitignore patterns in subdirectories not applying recursively 2cb6088
- Fix TypeScript types for
globbyStreamto correctly yield strings 1c7f3ed
v14.1.0
v14.0.2
- Fix types f600250