NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #354 most downloaded on npm
User-friendly glob matching
Last release 1 months ago
19 Aug 2026
Release timing varies
gaps range from 9 days to 8 months
Most releases are documented
notes for 43 of 59 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
59 releases · first in 2014
Fix ignore option disabling the gitignore option 19e1fce
Fix backslash-escaped .gitignore rules 5775ffb
One column per quarter.
Fix: Do not enumerate ignored directories with gitignore option 8bf8f54
Fix gitignore ignoring an entire checkout under an anchored ancestor path ( #277 ) e7bd988
Add globalGitignore option 51555b2
Fix negation patterns with absolute filesystem paths 72e9916
Add expandNegationOnlyPatterns option eb78791
expandNegationOnlyPatterns option eb78791Respect parent .gitignore files when gitignore option is enabled b9a9a84
gitignore option is enabled b9a9a84
{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.isGitIgnored functions e794ff9cwd option 7535e6d{gitignore: true} performance issue fcb07c3gitignore option 11dd2dfstats option c10f600Fix expandDirectories not working with globstar patterns 98d691a
expandDirectories not working with globstar patterns 98d691aglobbyStream to correctly yield strings 1c7f3edExport isIgnoredByIgnoreFiles and isIgnoredByIgnoreFilesSync functions ( #269 ) cba8941
https://github.com/sindresorhus/globby/compare/v14.0.1...v14.0.2
https://github.com/sindresorhus/globby/compare/v14.0.1...v14.0.2
Fix expandDirectories.extension option (#263) af5d139
expandDirectories.extension option (#263) af5d139https://github.com/sindresorhus/globby/compare/v14.0.0...v14.0.1
Add `convertPathToPattern()` method 3bd00a6
convertPathToPattern() method 3bd00a6https://github.com/sindresorhus/globby/compare/v13.2.2...v14.0.0
Update dependencies (#253) 0ae43b9
https://github.com/sindresorhus/globby/compare/v13.2.1...v13.2.2
Fix ignore and expandDirectories default handling (#252) 3a48eb9
ignore and expandDirectories default handling (#252) 3a48eb9https://github.com/sindresorhus/globby/compare/v13.2.0...v13.2.1
Pass deep option to ignore filter to avoid unnecessary recursion (#251) a0e4028
https://github.com/sindresorhus/globby/compare/v13.1.4...v13.2.0
Fix error when reading inaccessible directories with gitignore: true and suppressErrors: true (#246) e95da57
gitignore: true and suppressErrors: true (#246) e95da57URL TypeScript type workaround (#230) 55a3c64https://github.com/sindresorhus/globby/compare/v13.1.3...v13.1.4
Fix an edge-case bug (#242) 917670c
https://github.com/sindresorhus/globby/compare/v13.1.2...v13.1.3
Make ignoreFiles option accept readonly arrays (#235) 810caae
ignoreFiles option accept readonly arrays (#235) 810caaehttps://github.com/sindresorhus/globby/compare/v13.1.1...v13.1.2
Fix duplicated result when using globstar (#231) f9d35ae
https://github.com/sindresorhus/globby/compare/v13.1.0...v13.1.1
Add `ignoreFiles` option (#228) 895d6ec
ignoreFiles option (#228) 895d6echttps://github.com/sindresorhus/globby/compare/v13.0.0...v13.1.0
Rename generateGlobTasks to generateGlobTasksSync (#221) 51c8f68
generateGlobTasks to generateGlobTasksSync (#221) 51c8f68ignore option for isGitIgnored and isGitIgnoredSync (#225) 2e43cc4
generateGlobTasks method (#221) 51c8f68objectMode option (#210) 1852fc5https://github.com/sindresorhus/globby/compare/v12.2.0...v13.0.0
Work around TypeScript type problem with URL global (#206) 1224230
URL global (#206) 1224230URL in function returned by isGitIgnored (#207) a9fc794https://github.com/sindresorhus/globby/compare/v12.1.0...v12.2.0
Support URL for the cwd option (#201) 73c0aca
URL for the cwd option (#201) 73c0acahttps://github.com/sindresorhus/globby/compare/v12.0.2...v12.1.0
Ensure async method is completely async e167725
https://github.com/sindresorhus/globby/compare/v12.0.1...v12.0.2
https://github.com/sindresorhus/globby/compare/v12.0.0...v12.0.1
https://github.com/sindresorhus/globby/compare/v12.0.0...v12.0.1
Require Node.js 12.20 (#181) 5c32b4a
globby → {globby}globby.sync → {globbySync}globby.stream → {globbyStream}globby.generateGlobTasks → {generateGlobTasks}globby.hasMagic → {isDynamicPattern}globby.gitignore → {isGitIgnored}globby.gitignore.sync → {isGitIgnoredSync}-const globby = require('globby');
+import {globby} from 'globby';
https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0
Update dependencies to fix some npm audit notices
npm audit noticeshttps://github.com/sindresorhus/globby/compare/v11.0.4...v11.1.0
Support objectMode option in the TypeScript types (#178) a08264f
objectMode option in the TypeScript types (#178) a08264fhttps://github.com/sindresorhus/globby/compare/v11.0.3...v11.0.4
Fix Windows compatibility for gitignore option (#171) f67edfe
https://github.com/sindresorhus/globby/compare/v11.0.2...v11.0.3
Fix gitignore option compatibility with objectMode option (#157) f9fc476
gitignore option compatibility with objectMode option (#157) f9fc476https://github.com/sindresorhus/globby/compare/v11.0.1...v11.0.2
Normalize file paths to posix for gitignore calculation (#143) f2bdce6
https://github.com/sindresorhus/globby/compare/v11.0.0...v11.0.1
Get rid of glob dependency (#135) d4681a4 If you passed in options to globby.hasMagic(), you need to update to use the new options.
glob dependency (#135) d4681a4
If you passed in options to globby.hasMagic(), you need to update to use the new options.https://github.com/sindresorhus/globby/compare/v10.0.2...v11.0.0
Fix using gitignore and absolute options at the same time on Windows (#137) 72e775a
gitignore and absolute options at the same time on Windows (#137) 72e775aexpandDirectories option (#138) c61561ahttps://github.com/sindresorhus/globby/compare/v10.0.1...v10.0.2
Don't throw when specifying a non-existing cwd directory (#125) a226f5d
cwd directory (#125) a226f5dhttps://github.com/sindresorhus/globby/compare/v10.0.0...v10.0.1
Upgrade fast-glob package to v3 (#126) 3706920 Important: Read the `fast-glob` release notes! There are many breaking changes.
Breaking:
fast-glob package to v3 (#126) 3706920
Important: Read the fast-glob release notes! There are many breaking changes.**/bower_components/** as a default ignore pattern 2dd76d2Enhancements:
globby.stream() (#113) 8aadde8Fixes:
gitignore and stats options together (#121) 33ca01chttps://github.com/sindresorhus/globby/compare/v9.2.0...v10.0.0
Refactor TypeScript definition to CommonJS compatible export (#115) dc0a49c
https://github.com/sindresorhus/globby/compare/v9.1.0...v9.2.0
Add TypeScript definition (#111) 9a9cf1e
cwd is a directory (#110) 59f4b48https://github.com/sindresorhus/globby/compare/v9.0.0...v9.1.0
Require Node.js 6 and upgrade dependencies 8815ee8
Breaking:
opts property returned from .generateGlobTasks to options c1c744dOther:
expandDirectories and ignores option working together (#88) 84632f1https://github.com/sindresorhus/globby/compare/v8.0.2...v9.0.0
Nothing published for this version
Nothing published for this version
We have replaced `node-glob` with `fast-glob` (https://github.com/sindresorhus/globby/commit/ba08350f625d65fb05fce9f32c56cafd07cf4a43), as fast-glob i
We have replaced node-glob with fast-glob (https://github.com/sindresorhus/globby/commit/ba08350f625d65fb05fce9f32c56cafd07cf4a43), as fast-glob is a lot faster and better maintained. This will impact you if you passed in any node-glob specific options.
https://github.com/sindresorhus/globby/compare/v7.1.1...v8.0.0
Nothing published for this version
Nothing published for this version
Added `expandDirectories` option which is on by default. The nodir option is now also true by default. This means that by default it will now only ret
expandDirectories option which is on by default. The nodir option is now also true by default. This means that by default it will now only return file paths, not directory paths. https://github.com/sindresorhus/globby/commit/cf55e5c16f76cf6f6d458fc7e27720d15c0eb1f5gitignore option. https://github.com/sindresorhus/globby/commit/b6dc707a4155cbf87773ec5ca3490813902db0de.hasMagic() method. https://github.com/sindresorhus/globby/commit/77dde6de7afa433ec3df7de4494988f672853821https://github.com/sindresorhus/globby/compare/v6.1.0...v7.0.0
Nothing published for this version
Added (https://github.com/sindresorhus/globby/commit/75fc976ce82e030639c47cdf302d8a7c2d30f556) a strict input validation check to ensure the input is
Added (https://github.com/sindresorhus/globby/commit/75fc976ce82e030639c47cdf302d8a7c2d30f556) a strict input validation check to ensure the input is a string or array of strings. While this is just enforcing what's already documented, we did a major release to be sure we didn't break it for anyone using globby with invalid input.
Improved performance by sharing file system state cache between glob patterns in the same globby()/globby.generateGlobTasks() call.
globby()/globby.generateGlobTasks() call.generateGlobTasks() now share a persistent file system cache. These tasks should be run only once; create a new tasks list to ensure that file system changes are computed properly. See the reasoning in #28 as well as the generateGlobTasks() documentation.https://github.com/sindresorhus/globby/compare/v4.1.0...v5.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →