Debian Codegraph @

docs/src/release-notes/0.0.16.md

raw
1 # 0.0.16
2
3 **Version:** 0.0.16
4 **Published:** 2022-10-12T09:47:51Z
5
6 ## Release Notes
7
8 ## Highlights
9 * The minimum supported Rust version is now 1.59.
10 * Many utils now return exit code `1` on usage errors instead of `2` to match GNU.
11 * `tail` has had another significant refactor with slight improvements.
12 * `chroot` returns better exit codes and supports commands with flags.
13 * `cp` supports the `-H` flag and handles more cases correctly.
14 * `test` supports `-N`, `-ef`, `-nt` & `-ot` and supports 128 bit integers.
15 * `dd`'s argument parsing has been overhauled and is more compatible with GNU.
16 * There have been refactors, fixes and performance improvements in many utils, see below for details.
17
18 ## GNU test suite compatibility
19
20 Many utils have seen minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
21
22 | result | 0.0.15 | 0.0.16 | change |
23 |--------|-------:|-------:|-------:|
24 | pass | 293 | 322 | +29 |
25 | skip | 73 | 49 | -24 |
26 | fail | 222 | 217 | -5 |
27 | error | 5 | 5 | 0 |
28
29 ## Changes
30 The PR's listed below are a selection of all the contributions in this release.
31
32 ### General
33 * Change remaining usage codes of `2` to `1` for GNU compat by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3922
34 * Create new adaptive svg logo by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3892
35
36 ### `cat`
37 * Remove deprecated `unix_socket` dependency by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3854
38
39 ### `chcon`
40 * Fix GNU `tests/misc/chcon-fail.sh` test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3857
41
42 ### `chroot`
43 * Improve support of `--skip-chdir` by @sylvestre in https://github.com/uutils/coreutils/pull/4004
44 * Set exit codes to `125`, `126` or `127` for errors from `chroot` itself by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3908
45 * Set trailing var arg by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3907
46 * Various improvements to chroot by @sylvestre in https://github.com/uutils/coreutils/pull/3960
47
48 ### `cp`
49 * Fix `cp-i` GNU test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3949
50 * Add `-H` option by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3971
51 * Assume `--reflink=always` on no value by @sssemil in https://github.com/uutils/coreutils/pull/3992
52 * Correct error message on copying dir to itself by @jfinkels in https://github.com/uutils/coreutils/pull/3981
53 * Allow removing symbolic link loop destination by @jfinkels in https://github.com/uutils/coreutils/pull/3972
54 * Preserve permissions when copying directory and don't terminate early on inaccessible file by @jfinkels in https://github.com/uutils/coreutils/pull/3973
55
56 ### `dd`
57 * Handle stdout redirected to seekable file by @jfinkels in https://github.com/uutils/coreutils/pull/3880
58 * Parse operands manually via positional args by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3938
59
60 ### `df`
61 * Remove trailing spaces in rightmost column by @jfinkels in https://github.com/uutils/coreutils/pull/3882
62
63 ### `factor`
64 * Enable `union` feature for `smallvec` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3928
65
66 ### `ls`
67 * Exit code 2 when `IOError` happened for argument by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3921
68 * Add support for `+FORMAT` in timestyle by @dmatos2012 in https://github.com/uutils/coreutils/pull/3988
69 * Align `--ignore` behavior with that of GNU ls by @ackerleytng in https://github.com/uutils/coreutils/pull/3803
70
71 ### `mktemp`
72 * Respect `TMPDIR` environment variable by @jfinkels in https://github.com/uutils/coreutils/pull/3552
73 * Match GNU error message on too many args by @jfinkels in https://github.com/uutils/coreutils/pull/3951
74 * Add message for directory not found by @jfinkels in https://github.com/uutils/coreutils/pull/3940
75
76 ### `pr`
77 * Migrate from `chrono` to `time` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3918
78 * Use clap to handle help & version by @cakebaker in https://github.com/uutils/coreutils/pull/3904
79
80 ### `rm`
81 * Added write-protected check for files by @stefins in https://github.com/uutils/coreutils/pull/3853
82 * Added descend messages for interactive mode Fixes #3817 by @palaster in https://github.com/uutils/coreutils/pull/3931
83
84 ### `split`
85 * Add support for starting suffix numbers by @andrewbaptist in https://github.com/uutils/coreutils/pull/3976
86
87 ### `sync`
88 * Various compatibility improvement by @sylvestre in https://github.com/uutils/coreutils/pull/4003
89
90 ### `tail`
91 * Fix stdin redirect (#3842) by @jhscheer in https://github.com/uutils/coreutils/pull/3845
92 * Fix tail panicking when seeking backwards by @kilpkonn in https://github.com/uutils/coreutils/pull/3873
93 * Refactor tail by @Joining7943 in https://github.com/uutils/coreutils/pull/3905
94 * Fix random errors for piped input on macos by @Joining7943 in https://github.com/uutils/coreutils/pull/3953
95
96 ### `test`
97 * Add a bunch of operations by @sylvestre in https://github.com/uutils/coreutils/pull/4002
98
99 ## New Contributors
100 @sssemil (https://github.com/uutils/coreutils/pull/3852), @kilpkonn (https://github.com/uutils/coreutils/pull/3873), @stefins (https://github.com/uutils/coreutils/pull/3853), @snapdgn (https://github.com/uutils/coreutils/pull/3923), @sashashura (https://github.com/uutils/coreutils/pull/3980), @dmatos2012 (https://github.com/uutils/coreutils/pull/3988)
101
102 **Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.15...0.0.16