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-parentoption to override--no-ignore-parent, see #1958 (@tmchow) - Add
--exactoption 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
--andpatterns, not only the primary positional pattern.--andpatterns 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-withinis given an out-of-range@Unix timestamp; the value is now rejected gracefully, see #2081 (@nikolauspschuetz).
New Contributors
- @liruiluo made their first contribution in https://github.com/sharkdp/fd/pull/1924
- @Xavrir made their first contribution in https://github.com/sharkdp/fd/pull/1917
- @rexkirshner made their first contribution in https://github.com/sharkdp/fd/pull/1921
- @Rohan5commit made their first contribution in https://github.com/sharkdp/fd/pull/1934
- @tmchow made their first contribution in https://github.com/sharkdp/fd/pull/1959
- @YoshKoz made their first contribution in https://github.com/sharkdp/fd/pull/1979
- @SAY-5 made their first contribution in https://github.com/sharkdp/fd/pull/1975
- @skane-lukas made their first contribution in https://github.com/sharkdp/fd/pull/1889
- @Sean-Kenneth-Doherty made their first contribution in https://github.com/sharkdp/fd/pull/2006
- @stevenwalton made their first contribution in https://github.com/sharkdp/fd/pull/2011
- @DeflateAwning made their first contribution in https://github.com/sharkdp/fd/pull/1983
- @wyf027 made their first contribution in https://github.com/sharkdp/fd/pull/2001
- @bonanza127 made their first contribution in https://github.com/sharkdp/fd/pull/2040
- @mahirhir made their first contribution in https://github.com/sharkdp/fd/pull/2036
- @parneetsingh022 made their first contribution in https://github.com/sharkdp/fd/pull/2037
- @curious-rabbit made their first contribution in https://github.com/sharkdp/fd/pull/1976
- @WilliamLeony made their first contribution in https://github.com/sharkdp/fd/pull/2064
- @kobihikri made their first contribution in https://github.com/sharkdp/fd/pull/2063
- @cmelaro made their first contribution in https://github.com/sharkdp/fd/pull/2075
- @nikolauspschuetz made their first contribution in https://github.com/sharkdp/fd/pull/2082
Full Changelog: https://github.com/sharkdp/fd/compare/v10.4.2...v10.5.0