2073 Commits
Author SHA1 Message Date
Thayne McCombs d76b4e3e5b Merge pull request #2196 from parneetsingh022/main
Fix integer overflow when parsing size constraints with large values.
2026-10-27 21:27:06 -06:00
parneetsingh022 0b3249c58c docs: move --size overflow changelog entry to Unreleased section 2026-10-27 16:03:37 -07:00
parneetsingh022 7c885ef479 docs: added changelog entry for size filter overflow fix 2026-10-27 00:13:00 -07:00
parneetsingh022 8b6d754fa7 fix: prevent integer overflow when parsing size filters 2026-10-26 16:08:28 -07:00
Thayne McCombs c44735ec0f Merge pull request #2172 from ump45nose/completion-type-dir-alias
fix(completion): suggest the accepted --type alias dir in the zsh completion
2026-10-24 13:06:58 -06:00
Thayne McCombs 08a3a48a5a Merge pull request #2190 from NavpreetSSidhu/man-type-list-indent
docs: fix spacing of --type values in the man page
2026-10-23 22:27:13 -06:00
Navpreet Sidhu dd7fa4dfe1 docs: fix spacing of --type values in the man page 2026-10-24 02:00:49 +05:30
Thayne McCombs e3eead9da7 Merge pull request #2185 from mabunemeh/fix-inline-flags-smart-case
Fix: Explicit regex case sensitivity matching (?i) makes other clauses case-sensitive
2026-10-23 01:31:04 -06:00
Mohammad Abunemeh d2061da389 Use distinct filenames for smart-case regression
Give the fixtures different numeric suffixes so they remain separate files on case-insensitive filesystems while testing the same pattern matching behavior.

Assisted-by: OpenAI Codex (test correction and validation)
Signed-off-by: Mohammad Abunemeh <mabunemeh@protonmail.com>
2026-10-22 17:19:30 +04:00
ump45nose 0d84807acc Drop changelog entry for zsh completion alias 2026-10-22 15:25:09 +08:00
Thayne McCombs 9e904639ae Merge pull request #2187 from ump45nose/docs/threads-default-cap
docs: mention the 64-thread cap in the --threads default
2026-10-22 00:29:09 -06:00
yuwk d649c37613 docs: mention the 64-thread cap in the --threads default
default_num_threads() clamps available_parallelism() to 64, but the help text only said 'number of available CPU cores'. Clarify the upper bound. Relates to #2186
2026-10-22 14:21:06 +08:00
Thayne McCombs 8888f6d9df Merge pull request #1739 from adamnemecek/master
ran `cargo clippy --fix -- -Wclippy::use_self`
2026-10-21 23:58:45 -06:00
Mohammad Abunemeh e422fc3027 Fix smart-case detection with inline case-insensitive flags
Inspect literal characters in the regex AST rather than the case-folded HIR. Otherwise an inline (?i) flag introduces uppercase alternatives and incorrectly makes other --and patterns case-sensitive.

Add unit and CLI regressions, including scoped flags and explicit case-sensitivity options.

Assisted-by: OpenAI Codex (investigation, implementation, tests and validation)
Signed-off-by: Mohammad Abunemeh <mabunemeh@protonmail.com>
2026-10-21 22:14:22 +04:00
Thayne McCombs d5365d3fa0 Merge branch 'master' into master 2026-10-21 00:23:18 -06:00
Thayne McCombs cfed17a2bc Merge pull request #2165 from ump45nose/completion-and-takes-a-pattern
fix(completion): --and takes a search pattern, not a search path
2026-10-21 00:04:16 -06:00
Thayne McCombs c3dccad245 Merge pull request #2160 from sharkdp/dependabot/github_actions/actions/upload-artifact-7.0.2
build(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2
2026-10-20 22:46:43 -06:00
Thayne McCombs 41ee5e954c Merge pull request #2173 from manish-9245/fix/382-filetypes-ctor
refactor: extract FileTypes construction into impl block (#382)
2026-10-20 01:45:47 -06:00
Thayne McCombs dbfe46bd1d Merge pull request #2168 from ump45nose/completion-gibibytes
fix(completion): the Gi size unit is gibibytes, not gigibytes
2026-10-17 22:16:47 -06:00
Thayne McCombs 91f5abbfa5 Merge pull request #2179 from ump45nose/man-no-ignore-parent
docs: list .ignore and .fdignore in the --no-ignore-parent man page entry
2026-10-17 15:55:08 -06:00
yuwk 9e186feaae docs: list .ignore and .fdignore in the --no-ignore-parent man page entry
The option description in src/cli.rs covers '.gitignore', '.ignore', and '.fdignore' files in parent directories; doc/fd.1 only mentioned gitignore files.
2026-10-18 00:49:54 +08:00
Thayne McCombs b6ca4e0216 Merge pull request #2152 from sharkdp/dependabot/github_actions/vedantmgoyal9/winget-releaser-b7370d4d152efdce803a26cc6ca9eee58cb2ad54
build(deps): bump vedantmgoyal9/winget-releaser from 4ffc7888bffd451b357355dc214d43bb9f23917e to b7370d4d152efdce803a26cc6ca9eee58cb2ad54
2026-10-17 00:12:31 -06:00
Manish Tiwari de2137e548 refactor(filetypes): extract FileTypes construction into impl block 2026-10-16 12:38:08 +05:30
yuwk 15417fbb7f fix(completion): suggest the accepted --type alias dir in the zsh completion
FileType::Directory accepts d, dir and directory (src/cli.rs:809), and both fd -h and doc/fd.1:215 document the dir spelling, but the fd_types list in contrib/completion/_fd only offered d and directory. _fdfind delegates to _fd, so it is covered by the same change.
2026-10-16 09:58:52 +08:00
yuwk ec5f8eb00c fix(completion): the Gi size unit is gibibytes, not gigibytes 2026-10-16 07:41:39 +08:00
yuwk 2c260693ea fix(completion): --and takes a search pattern, not a search path 2026-10-16 02:22:17 +08:00
dependabot[bot] be1c3fc7a1 build(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 21:14:21 +00:00
dependabot[bot] b80f915d5d build(deps): bump vedantmgoyal9/winget-releaser
Bumps [vedantmgoyal9/winget-releaser](https://github.com/vedantmgoyal9/winget-releaser) from 4ffc7888bffd451b357355dc214d43bb9f23917e to b7370d4d152efdce803a26cc6ca9eee58cb2ad54.
- [Release notes](https://github.com/vedantmgoyal9/winget-releaser/releases)
- [Commits](https://github.com/vedantmgoyal9/winget-releaser/compare/4ffc7888bffd451b357355dc214d43bb9f23917e...b7370d4d152efdce803a26cc6ca9eee58cb2ad54)

---
updated-dependencies:
- dependency-name: vedantmgoyal9/winget-releaser
  dependency-version: b7370d4d152efdce803a26cc6ca9eee58cb2ad54
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-07 17:42:40 +00:00
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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] <support@github.com>
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] <support@github.com>
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 <vulragrag@gmail.com>
2026-09-08 19:47:37 -06:00