1182 Commits
Author SHA1 Message Date
Sylvestre Ledru 520640d896 docs: add release notes for every release (#805)
Import the notes for 0.4.0 through 0.7.0 verbatim from the GitHub
releases, reconstruct notes for the untagged-on-GitHub 0.1.0 and 0.3.0
from the git history, add an index page and wire everything into
SUMMARY.md.
2026-08-03 23:45:41 +02:00
Sylvestre Ledru 41e7a599f5 Release 0.10.0 (#804) 0.10.0 2026-08-03 23:14:43 +02:00
dependabot[bot] 8af285d536 build(deps): bump CodSpeedHQ/action from 5 to 5.0.1
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 5 to 5.0.1.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/v5...v5.0.1)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-03 07:56:42 +02:00
Akilan Elango 9350384abd find: skip broken pipe errors in wasm executions (#802)
* find: skip broken pipe errors in wasm executions

* find: report non-broken-pipe write errors instead of swallowing them

flush() only checked for BrokenPipe, silently ignoring other errors
(e.g. ENOSPC). Add regression tests for both cases.
2026-08-01 08:33:07 +02:00
dependabot[bot] 6ef1fd6cd4 build(deps): bump ctor from 1.0.11 to 1.0.12
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.11...ctor-1.0.12)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 1.0.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-30 08:01:15 +02:00
dependabot[bot] de3dceb11d build(deps): bump CodSpeedHQ/action from 4 to 5
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 4 to 5.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-30 07:52:30 +02:00
wtcpython 3072c3f9ed find: reject invalid UTF-8 in --files0-from 2026-07-28 12:08:32 +02:00
weili 2d020a31d3 locate: ignore an unrepresentable --max-database-age instead of panicking
locate compared the database age against --max-database-age using
`TimeDelta::days(config.max_age as i64)`. chrono's `TimeDelta::days` is
the panicking constructor, so a large but syntactically valid value
(e.g. --max-database-age 1000000000000) aborted the process with exit
101 instead of being handled.

The `as i64` cast was wrong for values above i64::MAX as well: usize::MAX
wrapped to -1, so a freshly built database was reported as "more than
18446744073709551615 days old (actual age is 0.0 days)".

Guard both conversions and treat an age that i64/chrono cannot represent
as never exceeded, which matches what GNU locate effectively does -- it
truncates the value into an unsigned int, so a huge age simply never
warns. The check moves into an `is_db_too_old` helper so it can be unit
tested.
2026-07-27 08:34:22 +02:00
dependabot[bot] 03aada490d build(deps): bump ctor from 1.0.10 to 1.0.11
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.10...ctor-1.0.11)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 1.0.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 08:04:32 +02:00
Alex Chen 3f9926ca1a find: reject invalid -newerXY predicates like GNU
The -newerXY parser used an unanchored regex, so tokens such as
-neweraBcmty were accepted as a truncated -neweraB. Require an exact
-newerXY match, report unknown predicates with GNU wording, and cover
the issue #782 cases in unit and integration tests.

Signed-off-by: Alex Chen <l46983284@gmail.com>
2026-07-26 19:47:55 +02:00
Sylvestre Ledru dcc79b8ee9 Release 0.9.2 2026-07-26 19:38:41 +02:00
Sylvestre Ledru f38dbe5764 find: print a fixed-width fraction for -printf %T+
chrono's %.f drops the fraction (and the leading dot) entirely when the
sub-second part is zero, while GNU find always prints a dot followed by
ten fractional digits. Use an explicit .%f0 so whole-second timestamps
format the same way as GNU.
2026-07-26 17:01:06 +02:00
Sylvestre Ledru bf3af481a8 xargs: cap the default command line size at 128 KiB
Sizing command lines all the way up to ARG_MAX made execvp() fail with
E2BIG: the kernel also charges the argv/envp pointer arrays against the
limit, which the character count does not account for. Follow GNU xargs
and use at most 128 KiB per command line by default, and use a
saturating subtraction so a tiny ARG_MAX cannot underflow.

The cap only applies when no explicit -s was given: like GNU, an
explicit -s may still raise the limit up to the system maximum.
2026-07-26 16:58:32 +02:00
Leonard Hecker 84d8f321b1 xargs: Account for quoting on Windows for length limits 2026-07-26 16:51:47 +02:00
Sai Asish Y 9afa97a6b8 locate: report write errors instead of panicking
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
2026-07-26 16:48:45 +02:00
Daniel Hofstetter fbbc3a9ae2 find: avoid "find: find:" in two error messages 2026-07-26 16:47:43 +02:00
dependabot[bot] f41011ca8f build(deps): bump ctor from 1.0.9 to 1.0.10
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.9...ctor-1.0.10)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 1.0.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 08:52:04 +02:00
dependabot[bot] 84e9a6c837 build(deps): bump clap from 4.6.3 to 4.6.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.6.3 to 4.6.4.
- [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.3...clap_complete-v4.6.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 08:17:03 +02:00
dependabot[bot] 187ed66b3f build(deps): bump clap from 4.6.2 to 4.6.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.6.2 to 4.6.3.
- [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.2...clap_complete-v4.6.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-21 08:12:24 +02:00
dependabot[bot] 8be038412d build(deps): bump thiserror from 2.0.18 to 2.0.19
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.18 to 2.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.18...2.0.19)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-20 08:39:04 +02:00
weili 03a0599e10 find: report an unparsable -newerXt year instead of panicking
The -newerXt options parsed the year with `.parse().unwrap()`, but the
capturing regex's `\d{4}` matches Unicode decimal digits while
`str::parse` accepts only ASCII. A year of four non-ASCII digits
(e.g. `jan 01, ٠٠٠٠`) passed the regex and then panicked, aborting with
exit 101. Fold the failed parse into the existing None path so it
reports the GNU-style "I cannot figure out how to interpret ..." error
with exit 1, as uutils already does for other malformed dates.
2026-07-16 15:37:27 +02:00
dependabot[bot] 7f379324df build(deps): bump ctor from 1.0.8 to 1.0.9
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.8...ctor-1.0.9)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-16 14:59:44 +02:00
dependabot[bot] 69f22821af 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] <support@github.com>
2026-07-16 14:52:22 +02:00
dependabot[bot] cc0f6a3fd3 build(deps): bump clap from 4.6.1 to 4.6.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.6.1 to 4.6.2.
- [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.1...clap_complete-v4.6.2)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-16 14:52:02 +02:00
Daniel Hofstetter 8bc0fccc4b clippy: fix byte_char_slices lint
https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
2026-07-16 14:36:51 +02:00