CHANGELOG.md
This file
Path
CHANGELOG.md
456 lines · 18.1 KiB · Markdown
Last changed by
Update CHANGELOGsharkdpbefore adoption17fbc2d
History of this fileTake it
Added changes for upcoming releaseDavid Peterbefore adoptionee673c9
lines 1–3why, one step back1# Upcoming release23## FeaturesUpdate CHANGELOGsharkdpbefore adoption17fbc2d
lines 4–6why, one step back4## Bugfixes5## Changes6## OtherAdded changes for upcoming releaseDavid Peterbefore adoptionee673c9
line 7why, one step back7Update CHANGELOGsharkdpbefore adoption17fbc2d
lines 8–11why, one step back8# v8.0.0910## Features11Rename --list to --list-detailssharkdpbefore adoptionc9dc617
lines 12–13why, one step back12- Add a new `-l`/`--list-details` option to show more details about the search results. This is13 basically an alias for `--exec-batch ls -l` with some additional `ls` options.Add `-l`/`--list` optionsharkdpbefore adoptionda5cd12
lines 14–17why, one step back14 This can be used in order to:15 * see metadata like permissions, owner, file size, modification times (#491)16 * see symlink targets (#482)17 * achieve a deterministic output order (#324, #196, #159)Update CHANGELOGsharkdpbefore adoption789706c
line 18why, one step back18- Add a new `--max-results=<count>` option to limit the number of search results, see #472, #476 and #555Add --max-results=<count> optionsharkdpbefore adoptiond43827f
lines 19–21why, one step back19 This can be useful to speed up searches in cases where you know that there are only N results.20 Using this option is also (slightly) faster than piping to `head -n <count>` where `fd` can only21 exit when it finds the search results `<count> + 1`.Add new `--type socket` and `--type pipe` filterssharkdpbefore adoptioncb56add
lines 22–23why, one step back22- Add the alias `-1` for `--max-results=1`, see #561. (@SimplyDanny).23- Add new `--type socket` and `--type pipe` filters, see #511.Add --min-depth and --exact-depthsharkdpbefore adoptiond63c63b
lines 24–25why, one step back24- Add new `--min-depth <depth>` and `--exact-depth <depth>` options in addition to the existing option25 to limit the maximum depth. See #404.Added changes for upcoming releaseDavid Peterbefore adoptionee673c9
lines 26–29why, one step back26- Support additional ANSI font styles in `LS_COLORS`: faint, slow blink, rapid blink, dimmed, hidden and strikethrough.2728## Bugfixes29Update CHANGELOGsharkdpbefore adoption789706c
lines 30–33why, one step back30- Preserve non-UTF8 filenames: invalid UTF-8 filenames are now properly passed to child-processes31 when using `--exec`, `--exec-batch` or `--list-details`. In `fd`'s output, we replace non-UTF-832 sequences with the "�" character. However, if the output of `fd` goes to another process, we33 print the actual bytes of the filename. For more details, see #558 and #295.Added changes for upcoming releaseDavid Peterbefore adoptionee673c9
lines 34–37why, one step back34- `LS_COLORS` entries with unsupported font styles are not completely ignored, see #5523536## Changes37Update CHANGELOGsharkdpbefore adoption4a0730a
lines 38–44why, one step back38- Colored output will now be enabled by default on older Windows versions.39 This allows the use of colored output if the terminal supports it (e.g.40 MinTTY, Git Bash). On the other hand, this will be a regression for users41 on older Windows versions with terminals that do not support ANSI escape42 sequences. Affected users can use an alias `fd="fd --color=never"` to43 continue using `fd` without colors. There is no change of behavior for44 Windows 10. See #469.--glob: '*' does not match on path separatorssharkdpbefore adoption47974b6
lines 45–48why, one step back45- When using `--glob` in combination with `--full-path`, a `*` character does not match a path46 separation character (`/` or `\\`) anymore. You can use `**` for that. This allows things like47 `fd -p -g '/some/base/path/*/*/*.txt'` which would previously match to arbitrary depths (instead48 of exactly two folders below `/some/base/path`. See #404.Update CHANGELOGsharkdpbefore adoption17fbc2d
lines 49–51why, one step back49- "Legacy" support to use `fd -exec` (with a single dash) has been removed. Use `fd -x` or50 `fd --exec` instead.51- Overall improved error handling and error messages.Added changes for upcoming releaseDavid Peterbefore adoptionee673c9
lines 52–58why, one step back525354## Other5556- Korean translation of the README, see: [한국어](https://github.com/spearkkk/fd-kor) (@spearkkk)5758Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 59why, one step back59# v7.5.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 60–79why, one step back6061## Features6263- Added `--one-file-system` (aliases: `--mount`, `--xdev`) to not cross file system boundaries on Unix and Windows, see #507 (@FallenWarrior2k).64- Added `--base-directory` to change the working directory in which `fd` is run, see #509 and #475 (@hajdamak).65- `fd` will not use colored output if the `NO_COLOR` environment variable is set, see #550 and #551 (@metadave).66- `fd --exec` will return exit code 1 if one of the executed commands fails, see #526 and #531 (@fusillicode and @Giuffre)6768## Bug Fixes6970- Fixed 'command not found' error when using zsh completion, see #487 (@barskern).71- `fd -L` should include broken symlinks, see #357 and #497 (@tommilligan, @neersighted and @sharkdp)72- Display directories even if we don't have permission to enter, see #437 (@sharkdp)7374## Changes7576- A flag can now be passed multiple times without producing an error, see #488 and #496 (@rootbid).77- Search results are sorted when using the `-X` option to match the behaviour of piping to `xargs`, see #441 and #524 (@Marcoleni @crash-g).7879Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 80why, one step back80# v7.4.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 81–114why, one step back8182## Performance improvements8384- Reduce number of `stat` syscalls, improving the performance for searches where file metadata is85 required (`--type`, `--size`, `--changed-within`, …), see #434 (@tavianator)86- Use jemalloc by default, improving the performance for almost all searches, see #481. Note that87 Windows and `*musl*` builds do not profit from this.8889## Features9091- Added a new `-g`/`--glob` option to switch to glob-based searches (instead of regular expression92 based searches). This is accompanied by a new `--regex` option that can be used to switch back,93 if users want to `alias fd="fd --glob"`. See #28494- Added a new `--path-separator <sep>` option which can be useful for Windows users who95 want/need `fd` to use `/` instead of `\`, see #428 and #153 (@mookid)96- Added support for hidden files on Windows, see #37997- When `fd` is run with the `--exec-batch`/`-X` option, it now exposes the exit status of the98 command that was run, see #333.99- Exit immediately when Ctrl-C has been pressed twice, see #423100101## Bugfixes102103- Make `--changed-within`/`--changed-before` work for directories, see #470104105## Other106107- Pre-built `fd` binaries should now be available for `armhf` targets, see #457 (@detly)108- `fd` is now available on Alpine Linux, see #451 (@5paceToast)109- `fd` is now in the officla FreeBSD repositories, see #412 (@t6)110- Added OpenBSD install instructions, see #421 (@evitalis)111- Added metadata to the Debian package, see #416 (@cathalgarvey)112- `fd` can be installed via npm, see #438 (@pablopunk)113114Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 115why, one step back115# v7.3.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 116–144why, one step back116117## Features118119- New `--exec-batch <cmd>`/`-X <cmd>` option for batch execution of commands, see #360 (@kimsnj).120 This allows you to do things like:121 ``` bash122 fd … -X vim # open all search results in vim (or any other editor)123 fd … -X ls -l # view detailed stats about the search results with 'ls'124 fd -e svg -X inkscape # open all SVG files in Inkscape125 ```126- Support for 24-bit color codes (when specified via `LS_COLORS`) as well as127 different font styles (bold, italic, underline).128129## Changes130131- A few performance improvements, in particular when printing lots of colorized132 results to the console, see #370133- 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.134135## Other136137- `fd` will be available in Ubuntu Disco DIngo (19.04), see #373 (@sylvestre)138- This release should come with a static ARM binary (`arm-unknown-linux-musleabihf`), see #320 (@duncanfinney)139- Various documentation improvements, see #389140141## Thanks142143Special thanks to @alexmaco for his awesome work on refactoring and code improvements! (see #401, #398, and #383)144Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 145why, one step back145# v7.2.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 146–174why, one step back146147## Features148149* 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)150* Added `--show-errors` option to enable the display of filesystem error messages such as "permission denied", see #311 (@psinghal20 and @majecty)151* Added `--maxdepth` as a (hidden) alias for `--max-depth`, see #323 (@mqudsi)152* Added `--search-path` option which can be supplied to replace the positional `path` argument at any position.153154## Changes155156* Loosen strict handling of missing `--ignore-file`, see #280 (@psinghal20)157* Re-enabled `.ignore` files, see #156.158159## Bugfixes160161* `fd` could previously get stuck when run from the root directory in the162 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)163164## Other165166* `fd` has officially landed in Debian! See #345 for details. Thanks goes to @sylvestre, @paride and possibly others I don't know about.167* Added Chinese translation of README (@chinanf-boy)168169## Thanks170171A special thanks goes to @joshleeb for his amazing improvements throughout172the code base (new tests, refactoring work and various other things)!173174Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 175why, one step back175# v7.1.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 176–194why, one step back176177## Features178179* Added `--size` filter option, see #276 (@stevepentland, @JonathanxD and @alexmaco)180* Added `--type empty` (or `-t e`) to search for empty files and/or directories, see #273181182## Changes183184* With the new version, `.gitignore` files will only be respected in Git repositories, not outside.185* A few performance improvements for `--type` searches, see 641976cf7ad311ba741571ca8b7f02b2654b6955 and 50a2bab5cd52d26d4a3bc786885a2c270ed3b227186187## Other188189* Starting with this release, we will offer pre-built ARM binaries, see #244190* Added instructions on how to use `fd` with `emacs`, see #282 (@redguardtoo)191* `fd` is now in the official openSUSE repositories, see #275 (@avindra)192* `fd` is now available via MacPorts, see #291 (@raimue)193194Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 195why, one step back195# v7.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 196–226why, one step back196197## Features198199* Added `--type executable` (or `-t x`) to search for executable files only, see #246 (@PramodBisht)200* Added support for `.fdignore` files, see #156 and #241.201* Added `--ignore-file` option to add custom ignore files, see #156.202* Suggest `--fixed-strings` on invalid regular expressions, see #234 (@PramodBisht)203* Detect when user supplied path instead of pattern, see #235.204205## Changes206207* `.ignore` and `.rgignore` files are not parsed anymore. Use `.fdignore` files208 or add custom files via `--ignore-file` instead.209* Updated to `regex-syntax` 0.5 (@cuviper)210211## Bugfixes212213* Properly normalize absolute paths, see #268214* Invalid utf8 filenames displayed when `-e` is used, see #250215* If `--type` is used, fifos/sockets/etc. are always shown, see #260216217## Other218219* Packaging:220 * The Arch Linux package is now simply called `fd`.221 * There is now a `fd` ebuild for Gentoo Linux.222 * There is a `scoop` package for `fd` (Windows).223 * There is a `Chocolatey` package for `fd` (Windows).224 * There is a Fedora `copr` package for `fd`.225226Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 227why, one step back227# v6.3.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 228–255why, one step back228229## Features230231* Files with multiple extensions can now be found via `--extension`/`-e`, see #214 (@althonos)232 ``` bash233 > fd -e tar.gz234 ```235236* Added new `-F`/`--fixed-strings`/`--literal` option that treats the pattern as a literal string instead of a regular expression, see #157237238 ``` bash239 > fd -F 'file(1).txt'240 ```241242* Allow `-exec` to work as `--exec`, see #226 (@stevepentland)243244## Bugfixes245246* Fixed `Ctrl-C` handling when using `--exec`, see #224 (@Doxterpepper)247248* Fixed wrong file owner for files in deb package, see #213249250## Other251252* Replaced old gif by a fancy new SVG screencast (@marionebl)253* 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-benchmarks254255Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 256why, one step back256# v6.2.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 257–285why, one step back257258## Features259260* Support for filtering by multiple file extensions and multiple file types, see #199 and #177261 (@tkadur).262263 For example, it's possible to search for C++ source or header files:264 ``` bash265 > fd -e cpp -e c -e cxx -e h pattern266 ```267268## Changes269270* The size of the output buffer (for sorting search results) is now limited to 1000 entries. This271 improves the search speed significantly if there are a lot of results, see #191 (@sharkdp).272273## Bugfixes274275* Fix a bug where long-running searches could not be killed via Ctrl-C, see #210 (@Doxterpepper)276* fd's exit codes are now in accordance with Unix standards, see #201 (@Doxterpepper)277278## Other279280* Bash, zsh and fish completion should now work with the Ubuntu `.deb` packages, see #195 and #209281 (@tmccombs and @sharkdp)282* There is a new section on how to set up `fzf` to use `fd` in the283 [README](https://github.com/sharkdp/fd#using-fd-with-fzf), see #168.284285Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 286why, one step back286# v6.1.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 287–312why, one step back287288## Features289290* Support for multiple search paths, see #166 (@Doxterpepper)291* Added `--no-ignore-vcs` option to disable `.gitignore` and other VCS ignore files,292 without disabling `.ignore` files - see #156 (@ptzz).293294## Bugfixes295296* Handle terminal signals, see #128 (@Doxterpepper)297* Fixed hang on `--exec` when user input was required, see #178 and #193 (@reima)298299## Other300301* Debian packages are now created via Travis CI and should be available for this and all302 future releases (@tmccombs).303* fd is now available on Void Linux (@maxice8)304* The minimum required Rust version is now 1.20305306## Thanks307308@Doxterpepper deserves a special mention for his great work that is included in this release and309for the support in ticket discussions and concerning Travis CI fixes. Thank you very much!310311Thanks also go out to @tmccombs for the work on Debian packages and for reviewing a lot of pull requests!312Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 313why, one step back313# v6.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 314–333why, one step back314315## Changes316317- The `--exec`/`-x` option does not spawn an intermediate shell anymore. This improves the318 performance of parallel command execution and fixes a whole class of (present and potentially319 future) problems with shell escaping. The drawback is that shell commands cannot directly be320 called with `--exec`. See #155 for the full discussion. These changes have been implemented by321 @reima (Thanks!).322323## Bugfixes324325- `--exec` does not escape cmd.exe metacharacters on Windows (see #155, as above).326327## Other328329* *fd* is now available in the FreeBSD ports (@andoriyu)330* The minimal `rustc` version is now checked when building with `cargo`, see #164 (@matematikaadit)331* The output directory for the shell completion files is created if it does not exist (@andoriyu)332333Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 334why, one step back334# v5.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 335–382why, one step back335336## Features337338* 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.339* Auto-disable color output on unsupported Windows shells like `cmd.exe` (@iology, see #129)340* Added the `--exclude`, `-X` option to suppress certain files/directories in the search results341 (see #89).342* Added ripgrep aliases `-u` and `-uu` for `--no-ignore` and `--no-ignore --hidden`, respectively343 (@unsignedint, see #92)344* Added `-i`, `--ignore-case` (@iology, see #95)345* Made smart case really smart (@reima, see #103)346* Added RedoxOS support (@goyox86, see #131)347348## Changes349350* The dot `.` can now match newlines in file names (@iology, see #111)351* The short `--type` argument for symlinks has been changed from `s` to `l` (@jcpetkovich, see #83)352353## Bugfixes354355* Various improvements in root-path and symlink handling (@iology, see #82, #107, and #113)356* Fixed absolute path handling on Windows (@reima, #93)357* Fixed: current directory not included when using relative path (see #81)358* Fixed `--type` behavior for unknown file types (@iology, see #150)359* Some fixes around `--exec` (@iology, see #142)360361## Other362363* Major updates and bugfixes to our continuous integration and deployment tooling on Travis364 (@matematikaadit, see #149, #145, #133)365* Code style improvements & automatic style checking via `rustfmt` on Travis (@Detegr, see #99)366* Added a man page (@pickfire, see #77)367* *fd* has been relicensed under the dual license MIT/Apache-2.0 (@Detegr, see #105)368* Major refactorings and code improvements (Big thanks to @gsquire, @reima, @iology)369* First version of [`CONTRIBUTING`](https://github.com/sharkdp/fd/blob/master/CONTRIBUTING.md) guidelines370* There is now a Nix package (@mehandes)371* *fd* is now in the official Arch Linux repos (@cassava)372* Improved tooling around shell completion files (@ImbaKnugel, see #124)373* Updated tutorial in the [`README`](https://github.com/sharkdp/fd/blob/master/README.md)374* The minimum required version of Rust has been bumped to 1.19.375376## Thanks377378A *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.379380I'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.381382Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 383why, one step back383# v4.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 384–399why, one step back384385## Features386387* Added filtering by file extension, for example `fd -e txt`, see #56 (@reima)388* Add option to force colored output: `--color always`, see #49 (@Detegr)389* Generate Shell completions for Bash, ZSH, Fish and Powershell, see #64 (@ImbaKnugel)390* Better & extended `--help` text (@abaez and @Detegr)391* Proper Windows support, see #70 392393## Changes394395* 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!)396* New tutorial in the README (@deg4uss3r)397* Reduced number of `stat` syscalls for each result from 3 to 1, see #36.398* Enabled Appveyor CI399Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 400why, one step back400# v3.1.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 401–404why, one step back401402## Features403- Added file type filtering, e.g. `find --type directory` or `find -t f` (@exitium)404Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 405why, one step back405# v3.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 406–414why, one step back406407## Features408- Directories are now traversed in parallel, leading to significant performance improvements (see [benchmarks](https://github.com/sharkdp/fd#benchmark))409- Added `--print0` option (@michaelmior)410- Added AUR packages (@wezm)411412## Changes413- Changed short flag for `--follow` from `-f` to `-L` (consistency with `ripgrep`)414Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 415why, one step back415# v2.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 416–426why, one step back416417* Changed `--sensitive` to `--case-sensitive`418* Changed `--absolute` to `--absolute-path`419* Throw an error if root directory is not existent, see #39 420* Use absolute paths if the root dir is an absolute path, see #40 421* Handle invalid UTF-8, see #34 #38 422* Support `-V`, `--version` by switching from `getopts` to `clap`.423424Misc:425* It's now possible to install `fd` via homebrew on macOS: `brew install fd`.426Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 427why, one step back427# v1.1.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 428–432why, one step back428429- Windows compatibility (@sebasv), see #29 #35 430- Safely exit on broken output pipes (e.g.: usage with `head`, `tail`, ..), see #24 431- Backport for rust 1.16, see #23432Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 433why, one step back433# v1.0.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 434–439why, one step back434435* Respect `.(git)ignore` files436* Use `LS_COLORS` environment variable directly, instead of `~/.dir_colors` file.437* Added unit and integration tests438* Added optional second argument (search path)439Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 440why, one step back440# v0.3.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 441–445why, one step back441442- Parse dircolors files, closes #20 443- Colorize each path component, closes #19 444- Add short command line option for --hidden, see #18 445Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 446why, one step back446# v0.2.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 447–453why, one step back447448- Option to follow symlinks, disable colors, closes #16, closes #17 449- `--filename` instead of `--full-path`450- Option to search hidden directories, closes #12 451- Configurable search depth, closes #13 452- Detect interactive terminal, closes #11 453Update CHANGELOG.mdDavid Peterbefore adoptiondecd7f2
line 454why, one step back454# v0.1.0Add CHANGELOGDavid Peterbefore adoptionf3e1ea1
lines 455–456why, one step back455456Initial release