fd v10.5.0

v10.5.0

10.5.0

Added 2
  • Add `--ignore-parent` option to override `--no-ignore-parent`
  • Add `--exact` option to match the entire filename exactly (literal, non-substring)
Changed 1
  • Reject a placeholder as the executable for `--exec-batch`, while still allowing it for `--exec`
Fixed 5
  • Handle invalid working directories gracefully when using `--full-path`
  • Fire the "search pattern contains a path separator" diagnostic for any pattern containing `/`, not just patterns that happen to name an existing directory
  • Fire the "search pattern contains a path separator" diagnostic for `--and` patterns, not only the primary positional pattern
  • Fix bug where passing "-" as a directory argument didn't actually search that directory
  • Fix panic when `--changed-before`/`--changed-within` is given an out-of-range `@` Unix timestamp; the value is now rejected gracefully
Security 1
  • Sanitize control characters and bidirectional override characters in filenames when output goes to a terminal to prevent terminal escape-sequence injection

From fd

Features
  • Add --ignore-parent option to override --no-ignore-parent, see #1958 (@tmchow)
  • Add --exact option to match the entire filename exactly (literal, non-substring).
Bugfixes
  • Sanitize control characters and bidirectional override characters in filenames when output goes to a terminal, to prevent terminal escape-sequence injection. Also reject a placeholder as the executable for --exec-batch, while still allowing it for --exec.
  • Handle invalid working directories gracefully when using --full-path, see #1900 (@Xavrir).
  • Fire the "search pattern contains a path separator" diagnostic for any pattern containing /, not just patterns that happen to name an existing directory. Preserves the legacy Windows behaviour that also flags native \ separators when the pattern resolves to a real directory. See #1873.
  • Also fire the "search pattern contains a path separator" diagnostic for --and patterns, not only the primary positional pattern. --and patterns are matched against the file name just like the primary pattern, so a path separator in them silently returned zero results. See #1873.
  • Fix bug where passing "-" as a directory argument didn't actually search that directory, see #849 (@Sean-Kenneth-Doherty).
  • Fix panic when --changed-before/--changed-within is given an out-of-range @ Unix timestamp; the value is now rejected gracefully, see #2081 (@nikolauspschuetz).
New Contributors

Full Changelog: https://github.com/sharkdp/fd/compare/v10.4.2...v10.5.0

View original

Upgraded? How did it go?

Discussion