| 1 |
# 0.0.23 |
| 2 |
|
| 3 |
**Version:** 0.0.23 |
| 4 |
**Published:** 2023-11-14T12:36:32Z |
| 5 |
|
| 6 |
## Release Notes |
| 7 |
|
| 8 |
📦 **Rust Coreutils 0.0.23 Release:** |
| 9 |
|
| 10 |
We've got +10 more GNU tests passing than in our last release. |
| 11 |
|
| 12 |
24 developers contributed to this release (9 new contributors started with this release). |
| 13 |
|
| 14 |
Visit our website at [https://uutils.github.io](https://uutils.github.io). |
| 15 |
|
| 16 |
If you want to help us, please consider sponsoring on GitHub. This helps us use better tools like GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils). |
| 17 |
|
| 18 |
## GNU test suite compatibility |
| 19 |
|
| 20 |
Here's how version 0.0.23 compares to the previous release - running GNU/Coreutils 9.4: |
| 21 |
|
| 22 |
| result | 0.0.22 | 0.0.23 | Change 0.0.22 to 0.0.23 | % Total 0.0.23 (Change) | |
| 23 |
|--------|-------:|-------:|------------------------:|--------------------------:| |
| 24 |
| pass | 383 | 393 | +10 | 65.07% (+1.66%) | |
| 25 |
| skip | 48 | 49 | +1 | 8.11% (+0.17%) | |
| 26 |
| fail | 171 | 160 | -11 | 26.49% (-1.82%) | |
| 27 |
| error | 2 | 2 | 0 | 0.33% (0.00%) | |
| 28 |
|
| 29 |
|
| 30 |
 |
| 31 |
|
| 32 |
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/). |
| 33 |
|
| 34 |
## What's Changed |
| 35 |
|
| 36 |
### global |
| 37 |
* Implement SI prefixes R and Q by @zhitkoff in https://github.com/uutils/coreutils/pull/5357 |
| 38 |
This applies to the commands: dd, df, du, head, ls, od, shref, split, tail and truncate |
| 39 |
|
| 40 |
### cat |
| 41 |
* cat: use error code 62 for ELOOP on FreeBSD by @cakebaker in https://github.com/uutils/coreutils/pull/5477 |
| 42 |
* cat: return the same error message as GNU with loop symlink by @sylvestre in https://github.com/uutils/coreutils/pull/5466 |
| 43 |
|
| 44 |
### cp |
| 45 |
* cp: make test_closes_file_descriptors Linux-only by @cakebaker in https://github.com/uutils/coreutils/pull/5508 |
| 46 |
* cp: fix cp -rT dir dir2 leads to different result than with GNU cp by @tommady in https://github.com/uutils/coreutils/pull/5467 |
| 47 |
* cp: restrict two test functions to linux/mac/win by @cakebaker in https://github.com/uutils/coreutils/pull/5471 |
| 48 |
* cp: remove `crash!` call by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5486 |
| 49 |
* cp --remove-destination: don't fail if destination is symlink to source by @cakebaker in https://github.com/uutils/coreutils/pull/5430 |
| 50 |
* cp: add test for --attributes-only by @cakebaker in https://github.com/uutils/coreutils/pull/5458 |
| 51 |
* cp: fix cp -a --no-preserve=mode doesn't keep fully the mode by @tommady in https://github.com/uutils/coreutils/pull/5353 |
| 52 |
* cp,tail: fix warnings in tests on Android by @cakebaker in https://github.com/uutils/coreutils/pull/5496 |
| 53 |
|
| 54 |
### dd |
| 55 |
* dd: Do not use the OS provided dd utility on FIFOs by @n1000 in https://github.com/uutils/coreutils/pull/5453 |
| 56 |
|
| 57 |
### df |
| 58 |
* freebsd: fix the 'df' command by @kostikbel in https://github.com/uutils/coreutils/pull/5462 |
| 59 |
* df: Replace the error message by the one generated by clap by @sylvestre in https://github.com/uutils/coreutils/pull/5452 |
| 60 |
|
| 61 |
### du |
| 62 |
* du: make -l/--count-links work by @cakebaker in https://github.com/uutils/coreutils/pull/5493 |
| 63 |
* du: remove crash! macro by @alexhausen in https://github.com/uutils/coreutils/pull/5501 |
| 64 |
* du: add --no-dereference by @cakebaker in https://github.com/uutils/coreutils/pull/5491 |
| 65 |
* du: ignore test under Android & FreeBSD by @cakebaker in https://github.com/uutils/coreutils/pull/5497 |
| 66 |
* du: use blocks to remove some cfgs by @cakebaker in https://github.com/uutils/coreutils/pull/5504 |
| 67 |
* du: add -H (alias for --dereference-args) by @cakebaker in https://github.com/uutils/coreutils/pull/5506 |
| 68 |
|
| 69 |
### expand |
| 70 |
* expand: remove crash! macro by @ceteece in https://github.com/uutils/coreutils/pull/5510 |
| 71 |
|
| 72 |
### expr |
| 73 |
* expr: return 0 for `"" \| ""` by @Luv-Ray in https://github.com/uutils/coreutils/pull/5416 |
| 74 |
|
| 75 |
### join |
| 76 |
* join: remove a clippy::cognitive_complexity by moving some content in functions by @sylvestre in https://github.com/uutils/coreutils/pull/5367 |
| 77 |
|
| 78 |
### ls |
| 79 |
* ls --dired -R: fix the positions by @sylvestre in https://github.com/uutils/coreutils/pull/5341 |
| 80 |
* ls --dired: document the whole thing by @sylvestre in https://github.com/uutils/coreutils/pull/5432 |
| 81 |
* ls: update of the GNU test error output by @sylvestre in https://github.com/uutils/coreutils/pull/5438 |
| 82 |
* ls: return exit code 2 for invalid time-style by @cakebaker in https://github.com/uutils/coreutils/pull/5447 |
| 83 |
* ls: use try_get_matches_from instead of get_matches_from by @cakebaker in https://github.com/uutils/coreutils/pull/5446 |
| 84 |
|
| 85 |
### mktemp |
| 86 |
* mktemp: add func to expose functionality (for use in nushell) by @tskinn in https://github.com/uutils/coreutils/pull/5479 |
| 87 |
|
| 88 |
### mv |
| 89 |
* mv: make UpdateMode public by @dmatos2012 in https://github.com/uutils/coreutils/pull/5428 |
| 90 |
* mv: Fix stderr output mv file into dir and dir into file where both are files by @mickvangelderen in https://github.com/uutils/coreutils/pull/5464 |
| 91 |
* mv: rename canonized_* -> canonicalized_* by @cakebaker in https://github.com/uutils/coreutils/pull/5454 |
| 92 |
* mv: moving directory itself should fail by @dmatos2012 in https://github.com/uutils/coreutils/pull/5429 |
| 93 |
|
| 94 |
### pathchk |
| 95 |
* pathchk: check empty path by default by @Luv-Ray in https://github.com/uutils/coreutils/pull/5423 |
| 96 |
|
| 97 |
### pr |
| 98 |
* pr: skip a test for now for way too long log by @sylvestre in https://github.com/uutils/coreutils/pull/5440 |
| 99 |
|
| 100 |
### printf |
| 101 |
* printf: support %q by @Luv-Ray in https://github.com/uutils/coreutils/pull/5514 |
| 102 |
|
| 103 |
### rm |
| 104 |
* rm: In some cases, remove_dir is doing a better job than remove_dir_all by @sylvestre in https://github.com/uutils/coreutils/pull/5403 |
| 105 |
* rm: refactor `prompt_file`, issue #5345 by @terade in https://github.com/uutils/coreutils/pull/5356 |
| 106 |
* rm: adjust fail-2eperm.sh - gnu test by @sylvestre in https://github.com/uutils/coreutils/pull/5435 |
| 107 |
|
| 108 |
### runcon |
| 109 |
* runcon: generate the same error as GNUs by @sylvestre in https://github.com/uutils/coreutils/pull/5439 |
| 110 |
|
| 111 |
### split |
| 112 |
* split: suffix auto length by @zhitkoff in https://github.com/uutils/coreutils/pull/5433 |
| 113 |
* split : `--filter` and stdin updates by @zhitkoff in https://github.com/uutils/coreutils/pull/5418 |
| 114 |
* split: suffix length refactor by @zhitkoff in https://github.com/uutils/coreutils/pull/5449 |
| 115 |
|
| 116 |
### test |
| 117 |
* test: use mtime for -ot and fix direction of comparison by @n1000 in https://github.com/uutils/coreutils/pull/5441 |
| 118 |
|
| 119 |
###Â Other OS & arch changes |
| 120 |
* Add darwin arm64 builds by @dzbarsky in https://github.com/uutils/coreutils/pull/5523 |
| 121 |
* Add support in uucore for illumos and solaris by @bbarker in https://github.com/uutils/coreutils/pull/5489 |
| 122 |
|
| 123 |
###Â CI |
| 124 |
|
| 125 |
* ci: remove outdated comment by @cakebaker in https://github.com/uutils/coreutils/pull/5525 |
| 126 |
* deny.toml: remove two entries from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5478 |
| 127 |
|
| 128 |
### Documentation |
| 129 |
* doc: add a missing "a" by @cakebaker in https://github.com/uutils/coreutils/pull/5413 |
| 130 |
* Expand CONTRIBUTING.md (WIP) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5488 |
| 131 |
* CONTRIBUTING.md: spell-checker:ignore "rustdoc's" by @cakebaker in https://github.com/uutils/coreutils/pull/5512 |
| 132 |
* doc: mention "-v/--verbose" as extension of du by @cakebaker in https://github.com/uutils/coreutils/pull/5436 |
| 133 |
* uucore: remove incorrect comment by @cakebaker in https://github.com/uutils/coreutils/pull/5422 |
| 134 |
* Remove "last synced with" comments by @cakebaker in https://github.com/uutils/coreutils/pull/5469 |
| 135 |
|
| 136 |
## Security |
| 137 |
* fuzzing: Refactor the error management by @sylvestre in https://github.com/uutils/coreutils/pull/5517 |
| 138 |
* fuzz: Move a duplicate function into fuzz_common by @sylvestre in https://github.com/uutils/coreutils/pull/5524 |
| 139 |
* github action: split the run of the fuzzers by @tommady in https://github.com/uutils/coreutils/pull/5444 |
| 140 |
* fuzz: use parse_size_u64 by @Luv-Ray in https://github.com/uutils/coreutils/pull/5470 |
| 141 |
* fuzz: set LC_COLLATE=C for expr by @cakebaker in https://github.com/uutils/coreutils/pull/5419 |
| 142 |
|
| 143 |
## Various improvements |
| 144 |
* Prepare version 0.0.23 by @sylvestre in https://github.com/uutils/coreutils/pull/5529 |
| 145 |
* Fix clippy::implicit_clone by @Statheres in https://github.com/uutils/coreutils/pull/5494 |
| 146 |
|
| 147 |
## Dependencies |
| 148 |
* Bump const-random from 0.1.15 to 0.1.16 by @cakebaker in https://github.com/uutils/coreutils/pull/5445 |
| 149 |
* fix(deps): update rust crate dns-lookup to 2.0.4 by @renovate in https://github.com/uutils/coreutils/pull/5412 |
| 150 |
* chore(deps): update rust crate regex to 1.10.2 by @renovate in https://github.com/uutils/coreutils/pull/5415 |
| 151 |
* Bump rustix crates by @cakebaker in https://github.com/uutils/coreutils/pull/5425 |
| 152 |
* chore(deps): update rust crate bytecount to 0.6.5 by @renovate in https://github.com/uutils/coreutils/pull/5442 |
| 153 |
* chore(deps): update rust crate bytecount to 0.6.7 by @renovate in https://github.com/uutils/coreutils/pull/5450 |
| 154 |
* chore(deps): update rust crate tempfile to 3.8.1 by @renovate in https://github.com/uutils/coreutils/pull/5461 |
| 155 |
* chore(deps): update actions/github-script action to v7 by @renovate in https://github.com/uutils/coreutils/pull/5528 |
| 156 |
* chore(deps): update rust crate libc to 0.2.150 by @renovate in https://github.com/uutils/coreutils/pull/5498 |
| 157 |
* chore(deps): update rust crate procfs to 0.16 by @renovate in https://github.com/uutils/coreutils/pull/5474 |
| 158 |
* chore(deps): update rust crate bstr to 1.8 by @renovate in https://github.com/uutils/coreutils/pull/5518 |
| 159 |
* chore(deps): update rust crate self_cell to 1.0.2 by @renovate in https://github.com/uutils/coreutils/pull/5520 |
| 160 |
|
| 161 |
## New Contributors |
| 162 |
* @terade made their first contribution in https://github.com/uutils/coreutils/pull/5356 |
| 163 |
* @n1000 made their first contribution in https://github.com/uutils/coreutils/pull/5441 |
| 164 |
* @mickvangelderen made their first contribution in https://github.com/uutils/coreutils/pull/5464 |
| 165 |
* @kostikbel made their first contribution in https://github.com/uutils/coreutils/pull/5462 |
| 166 |
* @bbarker made their first contribution in https://github.com/uutils/coreutils/pull/5489 |
| 167 |
* @tskinn made their first contribution in https://github.com/uutils/coreutils/pull/5479 |
| 168 |
* @alexhausen made their first contribution in https://github.com/uutils/coreutils/pull/5501 |
| 169 |
* @ceteece made their first contribution in https://github.com/uutils/coreutils/pull/5510 |
| 170 |
* @dzbarsky made their first contribution in https://github.com/uutils/coreutils/pull/5523 |
| 171 |
|
| 172 |
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.22...0.0.23 |