Skip to content

Releases: sindresorhus/globby

v16.2.4

Choose a tag to compare

@sindresorhus sindresorhus released this 19 Aug 17:04
  • Fix ignore option disabling the gitignore option 19e1fce

v16.2.3...v16.2.4

v16.2.3

Choose a tag to compare

@sindresorhus sindresorhus released this 07 Aug 12:07
  • Fix backslash-escaped .gitignore rules 5775ffb

v16.2.2...v16.2.3

v16.2.2

Choose a tag to compare

@sindresorhus sindresorhus released this 15 Jul 20:01
  • Fix: Do not enumerate ignored directories with gitignore option 8bf8f54

v16.2.1...v16.2.2

v16.2.1

Choose a tag to compare

@sindresorhus sindresorhus released this 06 Jul 00:12
  • Fix gitignore ignoring an entire checkout under an anchored ancestor path (#277) e7bd988

v16.2.0...v16.2.1

v16.2.0

Choose a tag to compare

@sindresorhus sindresorhus released this 27 Mar 17:29

v16.1.1

Choose a tag to compare

@sindresorhus sindresorhus released this 18 Feb 07:54
  • Fix negation patterns with absolute filesystem paths 72e9916

v16.1.0...v16.1.1

v16.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 21 Dec 14:50

v16.0.0...v16.1.0

v16.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 15 Nov 11:08

Breaking

  • Respect parent .gitignore files when gitignore option 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.

Improvements

  • Support negation-only patterns 1273541
  • Respect custom fs implementation from options c2eb272
  • Add some more options to isGitIgnored functions e794ff9
  • Improve error message for invalid cwd option 7535e6d

Fixes

  • Fix {gitignore: true} performance issue fcb07c3
  • Fix bundler compatibility e6c72c9
  • Fix parent directory patterns with gitignore option 11dd2df
  • Fix ignore patterns with parent directory references a58d117
  • Fix types for stats option c10f600

v15.0.0...v16.0.0

v15.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 29 Sep 03:22

Breaking

Fixes

  • Fix expandDirectories not 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 globbyStream to correctly yield strings 1c7f3ed

v14.1.0...v15.0.0

v14.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 08 Feb 10:59
  • Export isIgnoredByIgnoreFiles and isIgnoredByIgnoreFilesSync functions (#269) cba8941

v14.0.2...v14.1.0