2044 Commits
Author SHA1 Message Date
Thayne McCombs 14dcd92fb7 Merge pull request #2144 from sharkdp/dependabot/cargo/normpath-1.5.2
build(deps): bump normpath from 1.5.1 to 1.5.2
2026-10-05 21:00:00 -06:00
Thayne McCombs 24c8a829f6 Merge pull request #2145 from sharkdp/dependabot/cargo/jiff-0.2.37
build(deps): bump jiff from 0.2.35 to 0.2.37
2026-10-05 19:10:02 -06:00
Thayne McCombs c71afdf0c5 Merge pull request #2147 from sharkdp/dependabot/cargo/globset-0.4.20
build(deps): bump globset from 0.4.19 to 0.4.20
2026-10-05 19:08:46 -06:00
Thayne McCombs b010841c6d Merge pull request #2150 from nyurik/binstall
fix: point cargo-binstall at the fd release asset
2026-10-05 19:06:39 -06:00
Yuri Astrakhan 3a11690fa2 fix: point cargo-binstall at the fd release asset
`{ name }` renders as the crate name, so cargo-binstall looked for
`fd-find-v10.5.0-<target>.tar.gz`, got a 404, and fell back to the
QuickInstall mirror. The assets are named `fd-v<version>-<target>`.
`{ bin }` is not available in `pkg-url`, so the name is spelled out.
2026-10-05 15:34:14 -04:00
Thayne McCombs 9fe5cb7860 Merge pull request #2143 from tmccombs/broken-symlink-refactor
refactor: Avoid depending on ignore implementation detail
2026-10-04 22:52:14 -06:00
Thayne McCombs 3460b1e96c Merge pull request #2148 from sharkdp/dependabot/cargo/crossbeam-channel-0.5.17
build(deps): bump crossbeam-channel from 0.5.16 to 0.5.17
2026-10-02 18:49:54 -06:00
dependabot[bot] d91fe9cb2e build(deps): bump crossbeam-channel from 0.5.16 to 0.5.17
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.16 to 0.5.17.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.16...crossbeam-channel-0.5.17)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-01 17:45:57 +00:00
dependabot[bot] f721108330 build(deps): bump globset from 0.4.19 to 0.4.20
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.19...globset-0.4.20)

---
updated-dependencies:
- dependency-name: globset
  dependency-version: 0.4.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-01 17:45:51 +00:00
dependabot[bot] e818c4a0ca build(deps): bump jiff from 0.2.35 to 0.2.37
Bumps [jiff](https://github.com/BurntSushi/jiff) from 0.2.35 to 0.2.37.
- [Release notes](https://github.com/BurntSushi/jiff/releases)
- [Changelog](https://github.com/BurntSushi/jiff/blob/jiff-static-0.2.37/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.35...jiff-static-0.2.37)

---
updated-dependencies:
- dependency-name: jiff
  dependency-version: 0.2.37
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-01 17:45:42 +00:00
dependabot[bot] 427ca71084 build(deps): bump normpath from 1.5.1 to 1.5.2
Bumps [normpath](https://github.com/dylni/normpath) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/dylni/normpath/releases)
- [Commits](https://github.com/dylni/normpath/compare/1.5.1...1.5.2)

---
updated-dependencies:
- dependency-name: normpath
  dependency-version: 1.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-01 17:45:34 +00:00
Thayne McCombs 3b3baeaad5 refactor: Avoid depending on ignore implementation detail
This refactors how we handle ignore::Error in our walk code so that we
don't depend on the implementation detail of how the different Error
enum values are nested. It may also have a slight perfermance benefit
since we only walk the chain of errors once, instead of multiple times.

Related to #2039
2026-09-24 02:29:46 -06:00
Thayne McCombs ce97e473eb Merge pull request #2039 from hexbinoct/fix/min-depth-broken-symlink
Compute depth for broken symlinks so --min-depth keeps them
2026-09-24 01:34:13 -06:00
mrhard9090andClaude Opus 5.5 2797c4a6d5 test: run test_exec_with_separator on Windows when echo is available
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-24 00:58:42 -06:00
mrhard9090andClaude Opus 5.5 e46230b2c3 test: Don't fail on Windows without echo and GNU ls
`test_exec_with_separator` runs `echo`, which is only a shell builtin on
Windows. Skip it there, like the other `echo` tests.

`test_list_details` requires GNU `ls` on Windows. Without it, check that
`--list-details` reports that it is not supported.

Fixes #1332

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-24 00:58:42 -06:00
dependabot[bot] 9e8927e8f3 build(deps): bump clap_complete from 4.6.5 to 4.6.9
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.6.5 to 4.6.9.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.6.5...clap_complete-v4.6.9)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-version: 4.6.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-20 00:50:40 -06:00
Thayne McCombs 19a55aadcd docs(help): pattern is mandatory for path
Explicitly specify in the help that if you pass a positional
path argument, you need to pass in a pattern first.
2026-09-20 00:48:11 -06:00
Peder Bergan 5bbfa3eb1d docs(exec): explain repeated commands for each file 2026-09-16 00:43:22 -06:00
pederbe 468cd4371a docs(exec): clarify command ordering and output grouping for -x/--exec 2026-09-16 00:43:22 -06:00
dependabot[bot] 0e01c8ce19 build(deps): bump softprops/action-gh-release from 3.0.2 to 3.0.3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/3d0d9888cb7fd7b750713d6e236d1fcb99157228...efb35369e0ad2afab669f228072c1b0d510eae64)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-15 13:04:56 -06:00
Thayne McCombs 24198d904a fix: Better sanitizing
This refactors the sanitization code somewhat, to provide a couple
benefits:

- Ensure we sanitize output in error messages (#2119), while not
  escaping newlines from error messages.
- Avoids some unnecessary allocations and string copies
- Makes `print_error` a little nicer to use. As a macro, it avoids
  needing a separate call to `format!`.

The main downside is added complexity.

Fixes: #2119
2026-09-15 02:00:58 -06:00
Jason Wang b422e5d8c9 fix: allow hyphen-leading --format templates
Clap treated a space-separated --format value that starts with '-' as a
new flag. Enable allow_hyphen_values for --format (same as --and) and
add a regression covering markdown-list-style templates. See #2126.

Signed-off-by: Jason Wang <[email protected]>
2026-09-08 19:47:37 -06:00
dependabot[bot] bb80489efb build(deps): bump regex from 1.12.4 to 1.13.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.4 to 1.13.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.12.4...1.13.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-06 23:00:45 -06:00
dependabot[bot] bc5a8159bb build(deps): bump aho-corasick from 1.1.4 to 1.1.5
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 1.1.4 to 1.1.5.
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/1.1.4...1.1.5)

---
updated-dependencies:
- dependency-name: aho-corasick
  dependency-version: 1.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-06 22:58:30 -06:00
dependabot[bot] d9506eb2d4 build(deps): bump ignore from 0.4.31 to 0.4.33
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.31 to 0.4.33.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.31...ignore-0.4.33)

---
updated-dependencies:
- dependency-name: ignore
  dependency-version: 0.4.33
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-06 18:31:19 -06:00
dependabot[bot] d6040b6b8f build(deps): bump jiff from 0.2.29 to 0.2.35
Bumps [jiff](https://github.com/BurntSushi/jiff) from 0.2.29 to 0.2.35.
- [Release notes](https://github.com/BurntSushi/jiff/releases)
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.29...jiff-static-0.2.35)

---
updated-dependencies:
- dependency-name: jiff
  dependency-version: 0.2.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-09-06 18:29:41 -06:00
Thayne McCombs 1765d0817b fix: Re-enable jemalloc by default
The "use-jemalloc" feature was accidentally removed from the default
features in 92c54d37c0.

This turns it back on.
2026-09-02 09:58:02 -06:00
Thayne McCombs 1e07fcb744 Merge pull request #2106 from tmccombs/fix-error-newlines
fix: don't sanitize error message
2026-09-02 09:57:42 -06:00
Thayne McCombs cdea7f5633 Merge pull request #1943 from tmccombs/archive-script
build: Create archive script
2026-08-27 23:52:23 -06:00
Thayne McCombs a3942dbb25 fix: don't sanitize error message
Calling `maybe_sanitize` on error messages results in newlines getting
replaced with "\x0a". This is not desirable for error messages that have
newlines.

I audited everwhere we construct an error, and call print_error and
confirmed that none of those places have inputs that include found
paths. I'm not too worried about inputs that come from command line
arguments.

This bug was introduced in 92c54d37c0.

Fixes: #2104
2026-08-27 22:37:42 -06:00
Thayne McCombs fe0e455fee Merge pull request #2102 from tmccombs/changelog-update
chore: Update version in CHANGELOG
2026-08-26 09:54:02 -06:00
Thayne McCombs a89e394a0d chore: Update version in CHANGELOG 2026-08-26 02:12:47 -06:00
Thayne McCombs 4f81778774 Merge pull request #2101 from tmccombs/release-10.5.0
chore: Bump to version 10.5.0
v10.5.0
2026-08-26 01:54:19 -06:00
Thayne McCombs 711ba7fe67 chore: Buimp to version 10.5.0 2026-08-26 01:27:33 -06:00
Thayne McCombs c276ac79f4 build: Create archive script
Move the code for creating the archive from the GHA yaml into a
dedicated script file.
2026-08-26 01:00:44 -06:00
hexbinoct b3a8ff687b Take the broken symlink depth from the walker
The depth of a broken symlink was derived from its path by stripping the
matching search root, because the walker did not report a depth on the
errors that carry broken symlinks. ignore 0.4.28 fills that depth in, so
read it from the error instead and drop the path arithmetic.

The path based version could not express one case. When two search roots
overlap, the walker visits the same broken symlink once per root at a
different depth each time, and both visits carry the same path, so a
single path derived answer had to serve both. Searching roots a and a/b
with --min-depth 2 dropped a/b/blink even though a real file in its place
was kept.
2026-08-10 14:31:11 +05:00
hexbinoct 68edfde807 Use a struct-like variant for broken symlinks and test max/exact depth
Address review feedback. Make DirEntryInner::BrokenSymlink a struct-like
variant with named path and depth fields, so the recorded depth is clear
at every use site. Add regression tests that a broken symlink is filtered
by --max-depth and --exact-depth the same way a normal entry is, both
through the real directory tree and through a followed symlink.
2026-08-10 14:30:46 +05:00
hexbinoct 4a89affbb4 Make broken symlink depth robust under absolute paths
The depth for a broken symlink was derived by stripping the search root
from its path and counting the remaining components. Compare the path
and the roots in absolute form before stripping, so the match holds
whether or not --absolute-path has already made the roots absolute, and
pick the deepest matching root. This avoids an absolute path failing to
match a relative root and falling back to an inflated depth.

Add a regression test that exercises the broken symlink case together
with --absolute-path.
2026-08-10 14:30:46 +05:00
hexbinoct 350b33acda Compute depth for broken symlinks so --min-depth keeps them
When following links, a broken symlink is surfaced by the walker as an
error that carries no depth, so fd stored it with an unknown depth and
the --min-depth filter dropped it for any minimum value. Record the
depth when the entry is created by counting the path components relative
to the matching search root, which is what the issue discussion
suggested. Broken symlinks are now filtered by depth like any other
entry.

Fixes #1017
2026-08-10 14:30:46 +05:00
Thayne McCombs ee20f426dd Merge pull request #2091 from sharkdp/dependabot/github_actions/actions/attest-4.2.1
build(deps): bump actions/attest from 4.2.0 to 4.2.1
2026-08-09 01:42:46 -06:00
Thayne McCombs 0b10bf2665 Merge pull request #2086 from sharkdp/dependabot/cargo/crossbeam-channel-0.5.16
build(deps): bump crossbeam-channel from 0.5.15 to 0.5.16
2026-08-09 01:37:12 -06:00
Thayne McCombs aaecbc0a58 Merge pull request #2085 from sharkdp/dependabot/cargo/ignore-0.4.31
build(deps): bump ignore from 0.4.26 to 0.4.31
2026-08-09 01:36:38 -06:00
Thayne McCombs cb4069ec55 Merge pull request #2087 from sharkdp/dependabot/cargo/globset-0.4.19
build(deps): bump globset from 0.4.18 to 0.4.19
2026-08-09 01:35:32 -06:00
Thayne McCombs 69a25907ab Merge pull request #2084 from sharkdp/dependabot/cargo/anyhow-1.0.104
build(deps): bump anyhow from 1.0.102 to 1.0.104
2026-08-09 01:35:00 -06:00
Thayne McCombs 868c3a34e2 Merge pull request #2083 from sharkdp/dependabot/cargo/libc-0.2.189
build(deps): bump libc from 0.2.186 to 0.2.189
2026-08-09 01:32:52 -06:00
Thayne McCombs ee195f4dd6 Merge pull request #2082 from nikolauspschuetz/fix-changed-time-overflow-panic
Fix panic on out-of-range '@' Unix timestamp in time filters
2026-08-09 01:32:07 -06:00
Thayne McCombs 0f1f9676dc Merge pull request #2068 from tmccombs/fix-clippy
fix: New clippy warnings
2026-08-06 10:54:59 -06:00
dependabot[bot] 2bb2e2b954 build(deps): bump actions/attest from 4.2.0 to 4.2.1
Bumps [actions/attest](https://github.com/actions/attest) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/attest/releases)
- [Changelog](https://github.com/actions/attest/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest/compare/f7c74d28b9d84cb8768d0b8ca14a4bac6ef463e6...508db95dd578ae2727ebd6217d5ba78e4fbda05d)

---
updated-dependencies:
- dependency-name: actions/attest
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-08-05 17:43:24 +00:00
dependabot[bot] a62a59dafe build(deps): bump globset from 0.4.18 to 0.4.19
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.18...globset-0.4.19)

---
updated-dependencies:
- dependency-name: globset
  dependency-version: 0.4.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-08-01 17:42:57 +00:00
dependabot[bot] 7639bced74 build(deps): bump crossbeam-channel from 0.5.15 to 0.5.16
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.15 to 0.5.16.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.15...crossbeam-channel-0.5.16)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-08-01 17:42:50 +00:00