unstale

npm / globby

globby

What changed in globby 7 to 16, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

23 breaking9 new APIs and options2 performance2 behavior and defaults18 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

globby 1618 changes

Breaking changes 1

  • With gitignore enabled, Globby searches for .gitignore files up to the detected Git repository root, so parent ignore patterns now apply to subdirectories.

    16.0.0release notes

New APIs and options 3

Performance 1

  • A performance issue when gitignore is enabled has been fixed.

    16.0.0release notes

Behavior and default changes 2

  • Globby options now respect a custom filesystem implementation.

    16.0.0release notes

  • Globby now supports negation-only patterns.

    16.0.0release notes

Fixes and other changes 11

  • Fixes the ignore option so it no longer disables the gitignore option.

    16.2.4release notes

  • Fixes handling of backslash-escaped .gitignore rules.

    16.2.3release notes

  • The gitignore option no longer enumerates ignored directories.

    16.2.2release notes

  • Fixes gitignore ignoring an entire checkout under an anchored ancestor path.

    16.2.1release notes

  • Negation patterns with absolute filesystem paths are fixed.

    16.1.1release notes

  • Normalizes leading-slash negation patterns before task generation.

    16.1.0release notes

  • Bundler compatibility has been fixed.

    16.0.0release notes

  • Parent directory patterns are now handled correctly when gitignore is enabled.

    16.0.0release notes

  • Invalid cwd options now produce an improved error message.

    16.0.0release notes

  • The types for the stats option have been fixed.

    16.0.0release notes

  • Ignore patterns containing parent directory references are now handled correctly.

    16.0.0release notes

globby 155 changes

Breaking changes 1

Fixes and other changes 4

  • Fixes expandDirectories so it works with globstar patterns.

    15.0.0release notes

  • Fixes relative paths when using the gitignore option.

    15.0.0release notes

  • Fixes recursive application of gitignore patterns in subdirectories.

    15.0.0release notes

  • Corrects TypeScript types so globbyStream correctly yields strings.

    15.0.0release notes

globby 142 changes

Breaking changes 1

New APIs and options 1

  • Adds convertPathToPattern() for converting a path to a pattern.

    14.0.0release notes

globby 135 changes

Breaking changes 2

  • The synchronous method is now named generateGlobTasksSync.

    13.0.0release notes

  • The ignore option was removed from isGitIgnored and isGitIgnoredSync because it never worked correctly.

    13.0.0release notes

New APIs and options 1

  • An asynchronous generateGlobTasks method was added.

    13.0.0release notes

Performance 1

  • Performance was improved when using multiple patterns.

    13.0.0release notes

Fixes and other changes 1

globby 129 changes

Breaking changes 9

  • generateGlobTasks is now available as a named export.

    12.0.0release notes

  • The package is now pure ESM and uses named exports instead of a default export.

    12.0.0release notes

  • Import globby as a named export instead of using the default export.

    12.0.0release notes

  • The stream function is now available as the named export globbyStream.

    12.0.0release notes

  • The synchronous function is now available as the named export globbySync.

    12.0.0release notes

  • The former hasMagic function is now available as the named export isDynamicPattern.

    12.0.0release notes

  • The gitignore function is now available as the named export isGitIgnored.

    12.0.0release notes

  • The synchronous gitignore function is now available as the named export isGitIgnoredSync.

    12.0.0release notes

  • Node.js 12.20 is now required to use globby.

    12.0.0release notes

globby 112 changes

Breaking changes 2

  • Options passed to globby.hasMagic() need to be updated to use the new options.

    11.0.0release notes

  • Node.js 10 is now required.

    11.0.0release notes

globby 105 changes

Breaking changes 3

  • The default ignore patterns no longer include **/bower_components/**.

    10.0.0release notes

  • globby upgrades fast-glob to v3, which has many breaking changes; read fast-glob’s release notes for details.

    10.0.0release notes

  • Node.js 8 is now required.

    10.0.0release notes

New APIs and options 1

Fixes and other changes 1

  • Fixes using the gitignore and stats options together.

    10.0.0release notes

globby 93 changes

Breaking changes 2

  • Node.js 6 is now required to use globby.

    9.0.0release notes

  • The property returned from .generateGlobTasks was renamed from opts to options.

    9.0.0release notes

Fixes and other changes 1

  • The expandDirectories and ignores options now work together.

    9.0.0release notes

globby 75 changes

Breaking changes 2

  • Requires Node.js >=4.

    7.0.0release notes

  • The nodir option is now true by default, so results now include only file paths, not directory paths.

    7.0.0release notes

New APIs and options 3