Skip to content
Myr

CHANGELOG.md

This file

Path

CHANGELOG.md

880 lines · 34.3 KiB · Markdown

Last changed by

Merge pull request #2150 from nyurik/binstallThayne McCombsbefore adoptionb010841

History of this file

Take it

The walk stopped after 200 commits: lines older than 86d6e2d point at it.

Merge pull request #2102 from tmccombs/changelog-updateThayne McCombsbefore adoptionfe0e455

lines 1–6why, one step back
1# Upcoming Release
23## Features4-56## Bugfixes

fix: allow hyphen-leading --format templatesJason Wangbefore adoptionb422e5d

line 7why, one step back
7- Accept `--format` templates that start with `-` when passed as a separate argument, see #2126 (@vulragrag-star)

Merge pull request #2106 from tmccombs/fix-error-newlinesThayne McCombsbefore adoption1e07fcb

line 8why, one step back
8- Don't incorrectly escape newlines in error messages, see #2104

fix: Re-enable jemalloc by defaultThayne McCombsbefore adoption1765d08

line 9why, one step back
9- Restore jemalloc as default allocator on supported systems

Merge pull request #2150 from nyurik/binstallThayne McCombsbefore adoptionb010841

line 10why, one step back
10- Fix the `cargo binstall` release URL, which named the crate (`fd-find`) instead of the binary (`fd`) and fell back to a third-party mirror

Merge pull request #2102 from tmccombs/changelog-updateThayne McCombsbefore adoptionfe0e455

lines 11–12why, one step back
11
12# 10.5.0

Merge pull request #1917 from Xavrir/issue-1900Thayne McCombsbefore adoption6d77799

line 13why, one step back
13

Merge pull request #1959 from tmchow/osc/1958-ignore-parentThayne McCombsbefore adoption90e73d7

lines 14–15why, one step back
14## Features
15- Add `--ignore-parent` option to override `--no-ignore-parent`, see #1958 (@tmchow)

Merge pull request #1983 from DeflateAwning/feat-exact-i1963Thayne McCombsbefore adoption42b2ab8

line 16why, one step back
16- Add `--exact` option to match the entire filename exactly (literal, non-substring).

Merge pull request #1959 from tmchow/osc/1958-ignore-parentThayne McCombsbefore adoption90e73d7

line 17why, one step back
17

Merge pull request #1917 from Xavrir/issue-1900Thayne McCombsbefore adoption6d77799

line 18why, one step back
18## Bugfixes

Merge pull request #1976 from curious-rabbit/masterThayne McCombsbefore adoptionb126064

lines 19–22why, one step back
19- Sanitize control characters and bidirectional override characters in filenames
20 when output goes to a terminal, to prevent terminal escape-sequence injection.21 Also reject a placeholder as the executable for `--exec-batch`, while still22 allowing it for `--exec`.

Merge pull request #2039 from hexbinoct/fix/min-depth-broken-symlinkThayne McCombsbefore adoptionce97e47

line 23why, one step back
23- Fix broken symlinks being incorrectly filtered out by `--min-depth` when following links (`--follow`), because their depth was not computed; see #1017 (@hexbinoct).

Merge pull request #1917 from Xavrir/issue-1900Thayne McCombsbefore adoption6d77799

line 24why, one step back
24- Handle invalid working directories gracefully when using `--full-path`, see #1900 (@Xavrir).

Merge pull request #1975 from SAY-5/fix/pattern-path-separator-v2Thayne McCombsbefore adoption4e2c812

line 25why, one step back
25- 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.

Merge pull request #2036 from greymoth-jp/fix/and-pattern-path-separatorThayne McCombsbefore adoption61c5399

line 26why, one step back
26- 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.

Merge pull request #2006 from Sean-Kenneth-Doherty/codex/single-dash-search-pathThayne McCombsbefore adoptiond491003

line 27why, one step back
27- Fix bug where passing "-" as a directory argument didn't actually search that directory, see #849 (@Sean-Kenneth-Doherty).

Merge pull request #2082 from nikolauspschuetz/fix-changed-time-overflow-panicThayne McCombsbefore adoptionee195f4

line 28why, one step back
28- Fix panic when `--changed-before`/`--changed-within` is given an out-of-range `@` Unix timestamp; the value is now rejected gracefully, see #2081 (@nikolauspschuetz).

Merge pull request #1917 from Xavrir/issue-1900Thayne McCombsbefore adoption6d77799

line 29why, one step back
29

Merge pull request #1916 from tmccombs/release-v10.4.2Thayne McCombsbefore adoption7027d45

line 30why, one step back
30# 10.4.2

Merge pull request #1912 from tmccombs/changelog-bumpTavian Barnesbefore adoptionb691572

lines 31–32why, one step back
31
32## Bugfixes

Merge pull request #1916 from tmccombs/release-v10.4.2Thayne McCombsbefore adoption7027d45

line 33why, one step back
33- Fixed performance regression due to `--ignore-contain`; see #1913 and #1914

Merge pull request #1912 from tmccombs/changelog-bumpTavian Barnesbefore adoptionb691572

line 34why, one step back
34

Merge pull request #1911 from tmccombs/release-10.4.1Thayne McCombsbefore adoption4ea110d

lines 35–38why, one step back
35# 10.4.1
3637This is just a re-release of 10.4.0 due to an issue with the 10.4.0 release.38

Merge pull request #1893 from tmccombs/release-10.4.0Thayne McCombsbefore adoptionc60d007

line 39why, one step back
39# 10.4.0

Merge pull request #1781 from sharkdp/changelog-updateThayne McCombsbefore adoption498ea1c

lines 40–41why, one step back
40
41## Features

Merge pull request #1852 from fischman/1727-ignore-containThayne McCombsbefore adoptionbf81fb9

line 42why, one step back
42- Add `--ignore-contain` option to ignore directories containing a named entry (e.g. to ignore [`CACHEDIR.TAG`](https://bford.info/cachedir/)); see #1727 (@fischman).

Merge pull request #1781 from sharkdp/changelog-updateThayne McCombsbefore adoption498ea1c

lines 43–45why, one step back
43
44## Bugfixes45

Merge pull request #1872 from josephadamsdev/fix-1843-windows-hyperlink-slashThayne McCombsbefore adoption1a37650

lines 46–47why, one step back
46- Fix Windows hyperlink generation for paths with spaces. (#1872)
47

Merge pull request #1805 from tmccombs/exec-nulsThayne McCombsbefore adoption5558e40

lines 48–50why, one step back
48- `--print0` combined with `--exec` will now print a `\0` between the output of each entry. Note that if there are multiple instances
49 of `--exec`, the `\0` will be between each _set_ of commands, _not_ between each individual command run. Fixes #1797.50

Merge pull request #1821 from tmccombs/changelog-updatesThayne McCombsbefore adoption1d85f3b

lines 51–54why, one step back
51- Several bugs were fixed by an update to the `ignore` library used for handling ignore rules
52 - #150653 - #166754 - #1813

Merge pull request #1781 from sharkdp/changelog-updateThayne McCombsbefore adoption498ea1c

line 55why, one step back
55

Merge pull request #1889 from skane-lukas/issue-1888-fix-symlink-bash-completionThayne McCombsbefore adoptiona7a67e4

lines 56–57why, one step back
56- Fix completions for alias `fdfind` in deb release, see #1888 (@skane-lukas)
57

Merge pull request #1781 from sharkdp/changelog-updateThayne McCombsbefore adoption498ea1c

lines 58–59why, one step back
58## Changes
59

Merge pull request #1813 from tmccombs/rust-versionThayne McCombsbefore adoptiond23ac06

line 60why, one step back
60- Minimum required rust version has been increased to 1.90.0. Notably, this means dropping fully support for intel Mac and Windows 7.

Merge pull request #1891 from FidelSch/c-static-linkThayne McCombsbefore adoptiona07ad51

line 61why, one step back
61- Statically link the CRT for MSVC builds via Cargo config to avoid runtime DLL dependencies, see #1874 (@FidelSch)

Merge pull request #1781 from sharkdp/changelog-updateThayne McCombsbefore adoption498ea1c

lines 62–63why, one step back
62
63# 10.3.0

Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d

lines 64–74why, one step back
64
65## Features6667- Add a hidden `--mindepth` alias for `--min-depth`. (#1617)686970## Bugfixes717273## Changes74

Merge pull request #1692 from tmccombs/jiff-moreThayne McCombsbefore adoption2b0f609

lines 75–79why, one step back
75- Replace `humantime` crate and `chrono` crate with `jiff` crate, see #1690 (@sorairolake). This has some small changes to the
76 way dates given to options such `--changed-within` and `--changed-before` including:77 - 'M' no longer means "month", as that could be confusing with minutes. Use "mo", "mos", "month" or "months" instead.78 - month and year now account for variability in the calander rather than being a hard-coded number of seconds. That is probably79 what you would expect, but it is a slight change in behavior.

Merge pull request #1780 from sharkdp/release-10.3Thayne McCombsbefore adoptiond38148f

lines 80–82why, one step back
80- aarch64 Windows was added to CI and release artifacts
81- Many dependencies were updated82- Better support building on Illumos (there is no automated testing, but some known issues were fixed)

Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d

lines 83–84why, one step back
83
84## Other

Merge pull request #1780 from sharkdp/release-10.3Thayne McCombsbefore adoptiond38148f

lines 85–90why, one step back
85
86This will be the last release that has been tested on x86_64 Mac OS, since GitHub is87dropping support for runners with that hardware.8889It may also be the last release to use a version of Rust with tier-1 support for90x86_64/intel Macs and Windows 7.

Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d

lines 91–880why, one step back
91
9293# 10.2.09495## Features9697- Add --hyperlink option to add OSC 8 hyperlinks to output9899100## Bugfixes101102103## Changes104105- Build windows releases with rust 1.77 so windows 7 is still supported106- Deb packages now include symlink for fdfind to be more consistent with official packages107108109## Other110111# 10.1.0112113## Features114115- Allow passing an optional argument to `--strip-cwd-prefix` of "always", "never", or "auto". to force whether the cwd prefix is stripped or not.116- Add a `--format` option which allows using a format template for direct ouput similar to the template used for `--exec`. (#1043)117118## Bugfixes119- Fix aarch64 page size again. This time it should actually work. (#1085, #1549) (@tavianator)120121122## Other123124- aarch64-apple-darwin target added to builds on the release page. Note that this is a tier 2 rust target.125126# v10.0.0127128## Features129130- Add `dir` as an alias to `directory` when using `-t` \ `--type`, see #1460 and #1464 (@Ato2207).131- Add support for @%s date format in time filters similar to GNU date (seconds since Unix epoch for --older/--newer), see #1493 (@nabellows)132- Breaking: No longer automatically ignore `.git` when using `--hidden` with vcs ignore enabled. This reverts the change in v9.0.0. While this feature133 was often useful, it also broke some existing workflows, and there wasn't a good way to opt out of it. And there isn't really a good way for us to add134 a way to opt out of it. And you can easily get similar behavior by adding `.git/` to your global fdignore file.135 See #1457.136137## Bugfixes138139- Respect NO_COLOR environment variable with `--list-details` option. (#1455)140- Fix bug that would cause hidden files to be included despite gitignore rules141 if search path is "." (#1461, BurntSushi/ripgrep#2711).142- aarch64 builds now use 64k page sizes with jemalloc. This fixes issues on some systems, such as ARM Macs that143 have a larger system page size than the system that the binary was built on. (#1547)144- Address [CVE-2024-24576](https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html), by increasing minimum rust version.145146147## Changes148- Minimum supported rust version is now 1.77.2149150151# v9.0.0152153## Performance154155- Performance has been *significantly improved*, both due to optimizations in the underlying `ignore`156 crate (#1429), and in `fd` itself (#1422, #1408, #1362) - @tavianator.157 [Benchmarks results](https://gist.github.com/tavianator/32edbe052f33ef60570cf5456b59de81) show gains158 of 6-8x for full traversals of smaller directories (100k files) and up to 13x for larger directories (1M files).159160- The default number of threads is now constrained to be at most 64. This should improve startup time on161 systems with many CPU cores. (#1203, #1410, #1412, #1431) - @tmccombs and @tavianator162163- New flushing behavior when writing output to stdout, providing better performance for TTY and non-TTY164 use cases, see #1452 and #1313 (@tavianator).165166## Features167168- Support character and block device file types, see #1213 and #1336 (@cgzones)169- Breaking: `.git/` is now ignored by default when using `--hidden` / `-H`, use `--no-ignore` / `-I` or170 `--no-ignore-vcs` to override, see #1387 and #1396 (@skoriop)171172## Bugfixes173174- Fix `NO_COLOR` support, see #1421 (@acuteenvy)175176## Other177178- Fixed documentation typos, see #1409 (@marcospb19)179180## Thanks181182Special thanks to @tavianator for his incredible work on performance in the `ignore` crate and `fd` itself.183184185186# v8.7.1187188## Bugfixes189190- `-1` properly conflicts with the exec family of options.191- `--max-results` overrides `-1`192- `--quiet` properly conflicts with the exec family of options. This used to be the case, but broke during the switch to clap-derive193- `--changed-within` now accepts a space as well as a "T" as the separator between date and time (due to update of chrono dependency)194195## Other196- Many dependencies were updated197- Some documentation was updated and fixed198199# v8.7.0200201## Features202203- Add flag --no-require-git to always respect gitignore files, see #1216 (@vegerot)204205## Bugfixes206207- Fix logic for when to use global ignore file. There was a bug where the only case where the208 global ignore file wasn't processed was if `--no-ignore` was passed, but neither `--unrestricted`209 nor `--no-global-ignore-file` is passed. See #1209210211# v8.6.0212213## Features214215- New `--and <pattern>` option to add additional patterns that must also be matched. See #315216 and #1139 (@Uthar)217- Added `--changed-after` as alias for `--changed-within`, to have a name consistent with `--changed-before`.218219220## Changes221222- Breaking: On Unix-like systems, `--type executable` now additionally checks if223 the file is executable by the current user, see #1106 and #1169 (@ptipiak)224225226## Bugfixes227228- Use fd instead of fd.exe for Powershell completions (when completions are generated on windows)229230231## Other232233234# v8.5.3235236## Bugfixes237238- Fix completion generation to not include full path of fd command239- Fix build error if completions feature is disabled240241# v8.5.2242243## Bugfixes244245- Fix --owner option value parsing, see #1163 and #1164 (@tmccombs)246247248# v8.5.1249250## Bugfixes251252- Fix --threads/-j option value parsing, see #1160 and #1162 (@sharkdp)253254255# v8.5.0256257## Features258259- `--type executable`/`-t` now works on Windows, see #1051 and #1061 (@tavianator)260261## Bugfixes262263- Fixed differences between piped / non-piped output. This changes `fd`s behavior back to what we264 had before 8.3.0, i.e. there will be no leading `./` prefixes, unless `--exec`/`-x`,265 `--exec-batch`/`-X`, or `--print0`/`-0` are used. `--strip-cwd-prefix` can be used to strip that266 prefix in those cases. See #1046, #1115, and #1121 (@tavianator)267- `fd` could previously crash with a panic due to a race condition in Rusts standard library268 (see https://github.com/rust-lang/rust/issues/39364). This has been fixed by switching to a different269 message passing implementation, see #1060 and #1146 (@tavianator)270- `fd`s memory usage will not grow unboundedly on huge directory trees, see #1146 (@tavianator)271- fd returns an error when current working directory does not exist while a search path is272 specified, see #1072 (@vijfhoek)273- Improved "command not found" error message, see #1083 and #1109 (@themkat)274- Preserve command exit codes when using `--exec-batch`, see #1136 and #1137 (@amesgen)275276## Changes277278- No leading `./` prefix for non-interactive results, see above.279- fd now colorizes paths in parallel, significantly improving performance, see #1148 (@tavianator)280- fd can now avoid `stat` syscalls even when colorizing paths, as long as the color scheme doesn't281 require metadata, see #1148 (@tavianator)282- The statically linked `musl` versions of `fd` now use `jmalloc`, leading to a significant performance283 improvement, see #1062 (@tavianator)284285## Other286287- Added link back to GitHub in man page and `--help` text, see #1086 (@scottchiefbaker)288- Major update in how `fd` handles command line options internally, see #1067 (@tmccombs)289290# v8.4.0291292## Features293294- Support multiple `--exec <cmd>` instances, see #406 and #960 (@tmccombs)295296## Bugfixes297298- "Argument list too long" errors can not appear anymore when using `--exec-batch`/`-X`, as the command invocations are automatically batched at the maximum possible size, even if `--batch-size` is not given. See #410 and #1020 (@tavianator)299300## Changes301302- Directories are now printed with an additional path separator at the end: `foo/bar/`, see #436 and #812 (@yyogo)303- The `-u` flag was changed to be equivalent to `-HI` (previously, a single `-u` was only equivalent to `-I`). Additional `-u` flags are still allowed, but ignored. See #840 and #986 (@jacksontheel)304305## Other306307- Added installation instructions for RHEL8, see #989 (@ethsol)308309310# v8.3.2311312## Bugfixes313314- Invalid absolute path on windows when searching from the drive root, see #931 and #936 (@gbarta)315316317# v8.3.1318319## Bugfixes320321- Stop implying `--no-ignore-parent` when `--no-vcs-ignore` is supplied, see #907, #901, #908 (@tmccombs)322- fd no longer waits for the whole traversal if the only matches arrive within max_buffer_time, see #868 and #895 (@tavianator)323- `--max-results=1` now immediately quits after the first result, see #867324- `fd -h` does not panic anymore when stdout is closed, see #897325326## Changes327328- Disable jemalloc on FreeBSD, see #896 (@xanderio)329- Updated man page, see #912 (@rlue)330- Updated zsh completions, see #932 (@tmccombs)331332333# v8.3.0334335## Performance improvements336337- Colorized output is now significantly faster, see #720 and #853 (@tavianator)338- Writing to stdout is now buffered if the output does not go to a TTY. This increases performance339 when the output of `fd` is piped to another program or to a file, see #885 (@tmccombs, original340 implementation by @sourlemon207)341- File metadata is now cached between the different filters that require it (e.g. `--owner`,342 `--size`), reducing the number of `stat` syscalls when multiple filters are used; see #863343 (@tavianator, original implementation by @alexmaco)344345## Features346347- Don't buffer command output from `--exec` when using a single thread. See #522348- Add new `-q, --quiet` flag, see #303 (@Asha20)349- Add new `--no-ignore-parent` flag, see #787 (@will459)350- Add new `--batch-size` flag, see #410 (@devonhollowood)351- Add opposing command-line options, see #595 (@Asha20)352- Add support for more filesystem indicators in `LS_COLORS`, see353 https://github.com/sharkdp/lscolors/pull/35 (@tavianator)354355## Bugfixes356357- Always show the `./` prefix for search results unless the output is a TTY or `--strip-cwd-prefix` is set, see #760 and #861 (@jcaplan)358- Set default path separator to `/` in MSYS, see #537 and #730 (@aswild)359- fd cannot search files under a RAM disk, see #752360- fd doesn't show substituted drive on Windows, see #365361- Properly handle write errors to devices that are full, see #737362- Use local time zone for time functions (`--change-newer-than`, `--change-older-than`), see #631 (@jacobmischka)363- Support `--list-details` on more platforms (like BusyBox), see #783364- The filters `--owner`, `--size`, and `--changed-{within,before}` now apply to symbolic links365 themselves, rather than the link target, except when `--follow` is specified; see #863366- Change time comparisons to be exclusive, see #794 (@jacobmischka)367368## Changes369370- Apply custom `--path-separator` to commands run with `--exec(-batch)` and `--list-details`, see #697 (@aswild)371372## Other373374- Many documentation updates375376377# v8.2.1378379No functional changes with respect to v8.2.0. Bugfix in the release process.380381# v8.2.0382383## Features384385- Add new `--prune` flag, see #535 (@reima)386- Improved the usability of the time-based options, see #624 and #645 (@gorogoroumaru)387- Add support for exact file sizes in the `--size` filter, see #669 and #696 (@Rogach)388- `fd` now prints an error message if the search pattern requires a leading dot but389 `--hidden` is not enabled (Unix only), see #615390391## Bugfixes392393- Avoid panic when performing limited searches in directories with restricted permissions, see #678394- Invalid numeric command-line arguments are silently ignored, see #675395- Disable jemalloc on Android, see #662396- The `--help` text will be colorless if `NO_COLOR` has been set, see #600 (@xanonid)397398## Changes399400- If `LS_COLORS` is not set (e.g. on Windows), we now provide a more comprehensive default which401 includes much more filetypes, see #604 and #682 (mjsir911).402403## Other404405- Added `zsh` completion files, see #654 and #189 (@smancill)406407# v8.1.1408409## Bugfixes410411- Support colored output on older Windows versions if either (1) `--color=always` is set or (2) the `TERM` environment variable is set. See #469412413# v8.1.0414415## Features416417- Add new `--owner [user][:group]` filter. See #307 (pull #581) (@alexmaco)418- Add support for a global ignore file (`~/.config/fd/ignore` on Unix), see #575 (@soedirgo)419- Do not exit immediately if one of the search paths is missing, see #587 (@DJRHails)420421## Bugfixes422423- Reverted a change from fd 8.0 that enabled colors on all Windows terminals (see below) in order to support older Windows versions again, see #577. Unfortunately, this re-opens #469424- Fix segfault caused by jemalloc on macOS Catalina, see #498425- Fix `--glob` behavior with empty pattern, see #579 (@SeamusConnor)426- Fix `--list-details` on FreeBSD, DragonFly BSD, OpenBSD and NetBSD. See #573 (@t6)427428## Changes429430- Updated documentation for `--size`, see #584431432# v8.0.0433434## Features435436- Add a new `-l`/`--list-details` option to show more details about the search results. This is437 basically an alias for `--exec-batch ls -l` with some additional `ls` options.438 This can be used in order to:439 * see metadata like permissions, owner, file size, modification times (#491)440 * see symlink targets (#482)441 * achieve a deterministic output order (#324, #196, #159)442- Add a new `--max-results=<count>` option to limit the number of search results, see #472, #476 and #555443 This can be useful to speed up searches in cases where you know that there are only N results.444 Using this option is also (slightly) faster than piping to `head -n <count>` where `fd` can only445 exit when it finds the search results `<count> + 1`.446- Add the alias `-1` for `--max-results=1`, see #561. (@SimplyDanny).447- Add new `--type socket` and `--type pipe` filters, see #511.448- Add new `--min-depth <depth>` and `--exact-depth <depth>` options in addition to the existing option449 to limit the maximum depth. See #404.450- Support additional ANSI font styles in `LS_COLORS`: faint, slow blink, rapid blink, dimmed, hidden and strikethrough.451452## Bugfixes453454- Preserve non-UTF8 filenames: invalid UTF-8 filenames are now properly passed to child-processes455 when using `--exec`, `--exec-batch` or `--list-details`. In `fd`'s output, we replace non-UTF-8456 sequences with the "�" character. However, if the output of `fd` goes to another process, we457 print the actual bytes of the filename. For more details, see #558 and #295.458- `LS_COLORS` entries with unsupported font styles are not completely ignored, see #552459460## Changes461462- Colored output will now be enabled by default on older Windows versions.463 This allows the use of colored output if the terminal supports it (e.g.464 MinTTY, Git Bash). On the other hand, this will be a regression for users465 on older Windows versions with terminals that do not support ANSI escape466 sequences. Affected users can use an alias `fd="fd --color=never"` to467 continue using `fd` without colors. There is no change of behavior for468 Windows 10. See #469.469- When using `--glob` in combination with `--full-path`, a `*` character does not match a path470 separation character (`/` or `\\`) anymore. You can use `**` for that. This allows things like471 `fd -p -g '/some/base/path/*/*/*.txt'` which would previously match to arbitrary depths (instead472 of exactly two folders below `/some/base/path`. See #404.473- "Legacy" support to use `fd -exec` (with a single dash) has been removed. Use `fd -x` or474 `fd --exec` instead.475- Overall improved error handling and error messages.476477478## Other479480- Korean translation of the README, see: [한국어](https://github.com/spearkkk/fd-kor) (@spearkkk)481482483# v7.5.0484485## Features486487- Added `--one-file-system` (aliases: `--mount`, `--xdev`) to not cross file system boundaries on Unix and Windows, see #507 (@FallenWarrior2k).488- Added `--base-directory` to change the working directory in which `fd` is run, see #509 and #475 (@hajdamak).489- `fd` will not use colored output if the `NO_COLOR` environment variable is set, see #550 and #551 (@metadave).490- `fd --exec` will return exit code 1 if one of the executed commands fails, see #526 and #531 (@fusillicode and @Giuffre)491492## Bug Fixes493494- Fixed 'command not found' error when using zsh completion, see #487 (@barskern).495- `fd -L` should include broken symlinks, see #357 and #497 (@tommilligan, @neersighted and @sharkdp)496- Display directories even if we don't have permission to enter, see #437 (@sharkdp)497498## Changes499500- A flag can now be passed multiple times without producing an error, see #488 and #496 (@rootbid).501- Search results are sorted when using the `-X` option to match the behaviour of piping to `xargs`, see #441 and #524 (@Marcoleni @crash-g).502503504# v7.4.0505506## Performance improvements507508- Reduce number of `stat` syscalls, improving the performance for searches where file metadata is509 required (`--type`, `--size`, `--changed-within`, …), see #434 (@tavianator)510- Use jemalloc by default, improving the performance for almost all searches, see #481. Note that511 Windows and `*musl*` builds do not profit from this.512513## Features514515- Added a new `-g`/`--glob` option to switch to glob-based searches (instead of regular expression516 based searches). This is accompanied by a new `--regex` option that can be used to switch back,517 if users want to `alias fd="fd --glob"`. See #284518- Added a new `--path-separator <sep>` option which can be useful for Windows users who519 want/need `fd` to use `/` instead of `\`, see #428 and #153 (@mookid)520- Added support for hidden files on Windows, see #379521- When `fd` is run with the `--exec-batch`/`-X` option, it now exposes the exit status of the522 command that was run, see #333.523- Exit immediately when Ctrl-C has been pressed twice, see #423524525## Bugfixes526527- Make `--changed-within`/`--changed-before` work for directories, see #470528529## Other530531- Pre-built `fd` binaries should now be available for `armhf` targets, see #457 (@detly)532- `fd` is now available on Alpine Linux, see #451 (@5paceToast)533- `fd` is now in the officla FreeBSD repositories, see #412 (@t6)534- Added OpenBSD install instructions, see #421 (@evitalis)535- Added metadata to the Debian package, see #416 (@cathalgarvey)536- `fd` can be installed via npm, see #438 (@pablopunk)537538539# v7.3.0540541## Features542543- New `--exec-batch <cmd>`/`-X <cmd>` option for batch execution of commands, see #360 (@kimsnj).544 This allows you to do things like:545 ``` bash546 fd … -X vim # open all search results in vim (or any other editor)547 fd … -X ls -l # view detailed stats about the search results with 'ls'548 fd -e svg -X inkscape # open all SVG files in Inkscape549 ```550- Support for 24-bit color codes (when specified via `LS_COLORS`) as well as551 different font styles (bold, italic, underline).552553## Changes554555- A few performance improvements, in particular when printing lots of colorized556 results to the console, see #370557- The `LS_COLORS` handling has been "outsourced" to a separate crate (https://github.com/sharkdp/lscolors) that is now being used by other tools as well: [fselect](https://github.com/jhspetersson/fselect), [lsd](https://github.com/Peltoche/lsd/pull/84). For details, see #363.558559## Other560561- `fd` will be available in Ubuntu Disco DIngo (19.04), see #373 (@sylvestre)562- This release should come with a static ARM binary (`arm-unknown-linux-musleabihf`), see #320 (@duncanfinney)563- Various documentation improvements, see #389564565## Thanks566567Special thanks to @alexmaco for his awesome work on refactoring and code improvements! (see #401, #398, and #383)568569# v7.2.0570571## Features572573* Added support for filtering by file modification time by adding two new options `--changed-before <date|duration>` and `--changed-within <..>`. For more details, see the `--help` text, the man page, the relevant issue #165 and the PR #339 (@kimsnj)574* Added `--show-errors` option to enable the display of filesystem error messages such as "permission denied", see #311 (@psinghal20 and @majecty)575* Added `--maxdepth` as a (hidden) alias for `--max-depth`, see #323 (@mqudsi)576* Added `--search-path` option which can be supplied to replace the positional `path` argument at any position.577578## Changes579580* Loosen strict handling of missing `--ignore-file`, see #280 (@psinghal20)581* Re-enabled `.ignore` files, see #156.582583## Bugfixes584585* `fd` could previously get stuck when run from the root directory in the586 presence of zombie processes. This curious bug has been fixed in Rust 1.29 and higher. For more details, see #288, [rust-lang/rust#50619](https://github.com/rust-lang/rust/issues/50619) and [the fix](https://github.com/rust-lang/rust/pull/50630)587588## Other589590* `fd` has officially landed in Debian! See #345 for details. Thanks goes to @sylvestre, @paride and possibly others I don't know about.591* Added Chinese translation of README (@chinanf-boy)592593## Thanks594595A special thanks goes to @joshleeb for his amazing improvements throughout596the code base (new tests, refactoring work and various other things)!597598599# v7.1.0600601## Features602603* Added `--size` filter option, see #276 (@stevepentland, @JonathanxD and @alexmaco)604* Added `--type empty` (or `-t e`) to search for empty files and/or directories, see #273605606## Changes607608* With the new version, `.gitignore` files will only be respected in Git repositories, not outside.609* A few performance improvements for `--type` searches, see 641976cf7ad311ba741571ca8b7f02b2654b6955 and 50a2bab5cd52d26d4a3bc786885a2c270ed3b227610611## Other612613* Starting with this release, we will offer pre-built ARM binaries, see #244614* Added instructions on how to use `fd` with `emacs`, see #282 (@redguardtoo)615* `fd` is now in the official openSUSE repositories, see #275 (@avindra)616* `fd` is now available via MacPorts, see #291 (@raimue)617618619# v7.0.0620621## Features622623* Added `--type executable` (or `-t x`) to search for executable files only, see #246 (@PramodBisht)624* Added support for `.fdignore` files, see #156 and #241.625* Added `--ignore-file` option to add custom ignore files, see #156.626* Suggest `--fixed-strings` on invalid regular expressions, see #234 (@PramodBisht)627* Detect when user supplied path instead of pattern, see #235.628629## Changes630631* `.ignore` and `.rgignore` files are not parsed anymore. Use `.fdignore` files632 or add custom files via `--ignore-file` instead.633* Updated to `regex-syntax` 0.5 (@cuviper)634635## Bugfixes636637* Properly normalize absolute paths, see #268638* Invalid utf8 filenames displayed when `-e` is used, see #250639* If `--type` is used, fifos/sockets/etc. are always shown, see #260640641## Other642643* Packaging:644 * The Arch Linux package is now simply called `fd`.645 * There is now a `fd` ebuild for Gentoo Linux.646 * There is a `scoop` package for `fd` (Windows).647 * There is a `Chocolatey` package for `fd` (Windows).648 * There is a Fedora `copr` package for `fd`.649650651# v6.3.0652653## Features654655* Files with multiple extensions can now be found via `--extension`/`-e`, see #214 (@althonos)656 ``` bash657 > fd -e tar.gz658 ```659660* Added new `-F`/`--fixed-strings`/`--literal` option that treats the pattern as a literal string instead of a regular expression, see #157661662 ``` bash663 > fd -F 'file(1).txt'664 ```665666* Allow `-exec` to work as `--exec`, see #226 (@stevepentland)667668## Bugfixes669670* Fixed `Ctrl-C` handling when using `--exec`, see #224 (@Doxterpepper)671672* Fixed wrong file owner for files in deb package, see #213673674## Other675676* Replaced old gif by a fancy new SVG screencast (@marionebl)677* Updated [benchmark results](https://github.com/sharkdp/fd#benchmark) (fd has become faster in the meantime!). There is a new repository that hosts several benchmarking scripts for fd: https://github.com/sharkdp/fd-benchmarks678679680# v6.2.0681682## Features683684* Support for filtering by multiple file extensions and multiple file types, see #199 and #177685 (@tkadur).686687 For example, it's possible to search for C++ source or header files:688 ``` bash689 > fd -e cpp -e c -e cxx -e h pattern690 ```691692## Changes693694* The size of the output buffer (for sorting search results) is now limited to 1000 entries. This695 improves the search speed significantly if there are a lot of results, see #191 (@sharkdp).696697## Bugfixes698699* Fix a bug where long-running searches could not be killed via Ctrl-C, see #210 (@Doxterpepper)700* fd's exit codes are now in accordance with Unix standards, see #201 (@Doxterpepper)701702## Other703704* Bash, zsh and fish completion should now work with the Ubuntu `.deb` packages, see #195 and #209705 (@tmccombs and @sharkdp)706* There is a new section on how to set up `fzf` to use `fd` in the707 [README](https://github.com/sharkdp/fd#using-fd-with-fzf), see #168.708709710# v6.1.0711712## Features713714* Support for multiple search paths, see #166 (@Doxterpepper)715* Added `--no-ignore-vcs` option to disable `.gitignore` and other VCS ignore files,716 without disabling `.ignore` files - see #156 (@ptzz).717718## Bugfixes719720* Handle terminal signals, see #128 (@Doxterpepper)721* Fixed hang on `--exec` when user input was required, see #178 and #193 (@reima)722723## Other724725* Debian packages are now created via Travis CI and should be available for this and all726 future releases (@tmccombs).727* fd is now available on Void Linux (@maxice8)728* The minimum required Rust version is now 1.20729730## Thanks731732@Doxterpepper deserves a special mention for his great work that is included in this release and733for the support in ticket discussions and concerning Travis CI fixes. Thank you very much!734735Thanks also go out to @tmccombs for the work on Debian packages and for reviewing a lot of pull requests!736737# v6.0.0738739## Changes740741- The `--exec`/`-x` option does not spawn an intermediate shell anymore. This improves the742 performance of parallel command execution and fixes a whole class of (present and potentially743 future) problems with shell escaping. The drawback is that shell commands cannot directly be744 called with `--exec`. See #155 for the full discussion. These changes have been implemented by745 @reima (Thanks!).746747## Bugfixes748749- `--exec` does not escape cmd.exe metacharacters on Windows (see #155, as above).750751## Other752753* *fd* is now available in the FreeBSD ports (@andoriyu)754* The minimal `rustc` version is now checked when building with `cargo`, see #164 (@matematikaadit)755* The output directory for the shell completion files is created if it does not exist (@andoriyu)756757758# v5.0.0759760## Features761762* Added new `--exec`, `-x` option for parallel command execution (@mmstick, see #84 and #116). See the corresponding [README section](https://github.com/sharkdp/fd#parallel-command-execution) for an introduction.763* Auto-disable color output on unsupported Windows shells like `cmd.exe` (@iology, see #129)764* Added the `--exclude`, `-X` option to suppress certain files/directories in the search results765 (see #89).766* Added ripgrep aliases `-u` and `-uu` for `--no-ignore` and `--no-ignore --hidden`, respectively767 (@unsignedint, see #92)768* Added `-i`, `--ignore-case` (@iology, see #95)769* Made smart case really smart (@reima, see #103)770* Added RedoxOS support (@goyox86, see #131)771772## Changes773774* The dot `.` can now match newlines in file names (@iology, see #111)775* The short `--type` argument for symlinks has been changed from `s` to `l` (@jcpetkovich, see #83)776777## Bugfixes778779* Various improvements in root-path and symlink handling (@iology, see #82, #107, and #113)780* Fixed absolute path handling on Windows (@reima, #93)781* Fixed: current directory not included when using relative path (see #81)782* Fixed `--type` behavior for unknown file types (@iology, see #150)783* Some fixes around `--exec` (@iology, see #142)784785## Other786787* Major updates and bugfixes to our continuous integration and deployment tooling on Travis788 (@matematikaadit, see #149, #145, #133)789* Code style improvements & automatic style checking via `rustfmt` on Travis (@Detegr, see #99)790* Added a man page (@pickfire, see #77)791* *fd* has been relicensed under the dual license MIT/Apache-2.0 (@Detegr, see #105)792* Major refactorings and code improvements (Big thanks to @gsquire, @reima, @iology)793* First version of [`CONTRIBUTING`](https://github.com/sharkdp/fd/blob/master/CONTRIBUTING.md) guidelines794* There is now a Nix package (@mehandes)795* *fd* is now in the official Arch Linux repos (@cassava)796* Improved tooling around shell completion files (@ImbaKnugel, see #124)797* Updated tutorial in the [`README`](https://github.com/sharkdp/fd/blob/master/README.md)798* The minimum required version of Rust has been bumped to 1.19.799800## Thanks801802A *lot* of things have happened since the last release and I'd like to thank all contributors for their great support. I'd also like to thank those that have contributed by reporting bugs and by posting feature requests.803804I'd also like to take this chance to say a special Thank You to a few people that have stood out in one way or another: To @iology, for contributing a multitude of bugfixes, improvements and new features. To @reima and @Detegr for their continuing great support. To @mmstick, for implementing the most advanced new feature of *fd*. And to @matematikaadit for the CI/tooling upgrades.805806807# v4.0.0808809## Features810811* Added filtering by file extension, for example `fd -e txt`, see #56 (@reima)812* Add option to force colored output: `--color always`, see #49 (@Detegr)813* Generate Shell completions for Bash, ZSH, Fish and Powershell, see #64 (@ImbaKnugel)814* Better & extended `--help` text (@abaez and @Detegr)815* Proper Windows support, see #70816817## Changes818819* The integration tests have been re-written in Rust :sparkles:, making them platform-independent and easily callable via `cargo test` - see #65 (many thanks to @reima!)820* New tutorial in the README (@deg4uss3r)821* Reduced number of `stat` syscalls for each result from 3 to 1, see #36.822* Enabled Appveyor CI823824# v3.1.0825826## Features827- Added file type filtering, e.g. `find --type directory` or `find -t f` (@exitium)828829# v3.0.0830831## Features832- Directories are now traversed in parallel, leading to significant performance improvements (see [benchmarks](https://github.com/sharkdp/fd#benchmark))833- Added `--print0` option (@michaelmior)834- Added AUR packages (@wezm)835836## Changes837- Changed short flag for `--follow` from `-f` to `-L` (consistency with `ripgrep`)838839# v2.0.0840841* Changed `--sensitive` to `--case-sensitive`842* Changed `--absolute` to `--absolute-path`843* Throw an error if root directory is not existent, see #39844* Use absolute paths if the root dir is an absolute path, see #40845* Handle invalid UTF-8, see #34 #38846* Support `-V`, `--version` by switching from `getopts` to `clap`.847848Misc:849* It's now possible to install `fd` via homebrew on macOS: `brew install fd`.850851# v1.1.0852853- Windows compatibility (@sebasv), see #29 #35854- Safely exit on broken output pipes (e.g.: usage with `head`, `tail`, ..), see #24855- Backport for rust 1.16, see #23856857# v1.0.0858859* Respect `.(git)ignore` files860* Use `LS_COLORS` environment variable directly, instead of `~/.dir_colors` file.861* Added unit and integration tests862* Added optional second argument (search path)863864# v0.3.0865866- Parse dircolors files, closes #20867- Colorize each path component, closes #19868- Add short command line option for --hidden, see #18869870# v0.2.0871872- Option to follow symlinks, disable colors, closes #16, closes #17873- `--filename` instead of `--full-path`874- Option to search hidden directories, closes #12875- Configurable search depth, closes #13876- Detect interactive terminal, closes #11877878# v0.1.0879880Initial release