mirror of
https://github.com/sharkdp/fd
synced 2024-09-30 04:55:28 +00:00
Preprations for fd 9 release
This commit is contained in:
parent
16c2d1e1d0
commit
e3b40208d5
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -1,7 +1,21 @@
|
||||||
# Upcoming release
|
# v9.0.0
|
||||||
|
|
||||||
|
## Performance
|
||||||
|
|
||||||
|
- Performance has been *significantly improved*, both due to optimizations in the underlying `ignore`
|
||||||
|
crate (#1429), and in `fd` itself (#1422, #1408, #13620) - @tavianator.
|
||||||
|
[Benchmarks results](https://gist.github.com/tavianator/32edbe052f33ef60570cf5456b59de81) show gains
|
||||||
|
of 6-8x for full traversals of smaller directories (100k files) and up to 13x for larger directories (1M files).
|
||||||
|
|
||||||
|
- The default number of threads is now constrained to be at most 64. This should improve startup time on
|
||||||
|
systems with many CPU cores. (#1203, #1410, #1412, #1431) - @tmccombs and @tavianator
|
||||||
|
|
||||||
|
- New flushing behavior when writing output to stdout, providing better performance for TTY and non-TTY
|
||||||
|
use cases, see #1452 and #1313 (@tavianator).
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
- Support character and block device file types, see #1213 and #1336 (@cgzones)
|
||||||
- Breaking: `.git/` is now ignored by default when using `--hidden` / `-H`, use `--no-ignore` / `-I` or
|
- Breaking: `.git/` is now ignored by default when using `--hidden` / `-H`, use `--no-ignore` / `-I` or
|
||||||
`--no-ignore-vcs` to override, see #1387 and #1396 (@skoriop)
|
`--no-ignore-vcs` to override, see #1387 and #1396 (@skoriop)
|
||||||
|
|
||||||
|
@ -9,16 +23,16 @@
|
||||||
|
|
||||||
- Fix `NO_COLOR` support, see #1421 (@acuteenvy)
|
- Fix `NO_COLOR` support, see #1421 (@acuteenvy)
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
- Performance has been significantly improved, both due to optimizations in the underlying `ignore`
|
|
||||||
crate (#1429), and in `fd` itself (#1422).
|
|
||||||
|
|
||||||
- The default number of threads is now constrained to be at most 64. This should improve startup time on
|
|
||||||
systems with many CPU cores. (#1203, #1412, #1431)
|
|
||||||
|
|
||||||
## Other
|
## Other
|
||||||
|
|
||||||
|
- Fixed documentation typos, see #1409 (@marcospb19)
|
||||||
|
|
||||||
|
## Thanks
|
||||||
|
|
||||||
|
Special thanks to @tavianator for his incredible work on performance in the `ignore` crate and `fd` itself.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# v8.7.1
|
# v8.7.1
|
||||||
|
|
||||||
## Bugfixes
|
## Bugfixes
|
||||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -313,7 +313,7 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fd-find"
|
name = "fd-find"
|
||||||
version = "8.7.1"
|
version = "9.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aho-corasick",
|
"aho-corasick",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
|
@ -16,7 +16,7 @@ license = "MIT OR Apache-2.0"
|
||||||
name = "fd-find"
|
name = "fd-find"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/sharkdp/fd"
|
repository = "https://github.com/sharkdp/fd"
|
||||||
version = "8.7.1"
|
version = "9.0.0"
|
||||||
edition= "2021"
|
edition= "2021"
|
||||||
rust-version = "1.70.0"
|
rust-version = "1.70.0"
|
||||||
|
|
||||||
|
|
|
@ -314,8 +314,8 @@ Options:
|
||||||
-d, --max-depth <depth> Set maximum search depth (default: none)
|
-d, --max-depth <depth> Set maximum search depth (default: none)
|
||||||
-E, --exclude <pattern> Exclude entries that match the given glob pattern
|
-E, --exclude <pattern> Exclude entries that match the given glob pattern
|
||||||
-t, --type <filetype> Filter by type: file (f), directory (d), symlink (l),
|
-t, --type <filetype> Filter by type: file (f), directory (d), symlink (l),
|
||||||
executable (x), empty (e), socket (s), pipe (p),
|
executable (x), empty (e), socket (s), pipe (p), char-device
|
||||||
block-device (b), char-device (c)
|
(c), block-device (b)
|
||||||
-e, --extension <ext> Filter by file extension
|
-e, --extension <ext> Filter by file extension
|
||||||
-S, --size <size> Limit results based on the size of files
|
-S, --size <size> Limit results based on the size of files
|
||||||
--changed-within <date|dur> Filter by file modification time (newer than)
|
--changed-within <date|dur> Filter by file modification time (newer than)
|
||||||
|
@ -543,7 +543,7 @@ Make sure that `$HOME/.local/bin` is in your `$PATH`.
|
||||||
If you use an older version of Ubuntu, you can download the latest `.deb` package from the
|
If you use an older version of Ubuntu, you can download the latest `.deb` package from the
|
||||||
[release page](https://github.com/sharkdp/fd/releases) and install it via:
|
[release page](https://github.com/sharkdp/fd/releases) and install it via:
|
||||||
``` bash
|
``` bash
|
||||||
sudo dpkg -i fd_8.7.1_amd64.deb # adapt version number and architecture
|
sudo dpkg -i fd_9.0.0_amd64.deb # adapt version number and architecture
|
||||||
```
|
```
|
||||||
|
|
||||||
### On Debian
|
### On Debian
|
||||||
|
@ -677,7 +677,7 @@ With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can
|
||||||
```
|
```
|
||||||
cargo install fd-find
|
cargo install fd-find
|
||||||
```
|
```
|
||||||
Note that rust version *1.64.0* or later is required.
|
Note that rust version *1.70.0* or later is required.
|
||||||
|
|
||||||
`make` is also needed for the build.
|
`make` is also needed for the build.
|
||||||
|
|
||||||
|
|
2
doc/release-checklist.md
vendored
2
doc/release-checklist.md
vendored
|
@ -9,7 +9,7 @@ necessary changes for the upcoming release.
|
||||||
- [ ] Update version in `Cargo.toml`. Run `cargo build` to update `Cargo.lock`.
|
- [ ] Update version in `Cargo.toml`. Run `cargo build` to update `Cargo.lock`.
|
||||||
Make sure to `git add` the `Cargo.lock` changes as well.
|
Make sure to `git add` the `Cargo.lock` changes as well.
|
||||||
- [ ] Find the current min. supported Rust version by running
|
- [ ] Find the current min. supported Rust version by running
|
||||||
`grep '^\s*MIN_SUPPORTED_RUST_VERSION' .github/workflows/CICD.yml`.
|
`grep rust-version Cargo.toml`.
|
||||||
- [ ] Update the `fd` version and the min. supported Rust version in `README.md`.
|
- [ ] Update the `fd` version and the min. supported Rust version in `README.md`.
|
||||||
- [ ] Update `CHANGELOG.md`. Change the heading of the *"Upcoming release"* section
|
- [ ] Update `CHANGELOG.md`. Change the heading of the *"Upcoming release"* section
|
||||||
to the version of this release.
|
to the version of this release.
|
||||||
|
|
Loading…
Reference in a new issue