Debian Codegraph @

docs/src/release-notes/0.0.20.md

raw
1 # 0.0.20
2
3 **Version:** 0.0.20
4 **Published:** 2023-07-14T16:35:47Z
5
6 ## Release Notes
7
8 🎉 Get ready for the newest release of Rust Coreutils! Top highlights of this release are substantial improvements in GNU test suite compatibility and refined operations in multiple utilities including cksum, chmod, chroot, comm, cp, cut, among others.
9 Supporting our development is as easy as sponsoring us on GitHub! Your contributions can help us afford a more robust Continuous Integration process through GitHub Actions. To sponsor, please visit https://github.com/sponsors/uutils.
10
11 ## GNU test suite compatibility
12
13 Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
14
15 | result | 0.0.19 | 0.0.20 | change |
16 |--------|-------:|-------:|-------:|
17 | pass | 365 | 373 | +8 |
18 | skip | 49 | 49 | 0 |
19 | fail | 186 | 178 | -8 |
20 | error | 2 | 2 | 0 |
21 | xpass | 0 | 0 | 0 |
22
23 ![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
24
25
26
27 ## What's Changed
28
29 * Create a FUNDING.yml file by @sylvestre in https://github.com/uutils/coreutils/pull/4969
30
31 ### cp
32 * cp: use mkdir_all() instead of mkdir() in test by @cakebaker in https://github.com/uutils/coreutils/pull/5029
33 * cp: allow multiple usages of -R - Closes: #5027 by @sylvestre in https://github.com/uutils/coreutils/pull/5028
34 * cp,du: fix warnings in tests on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5014
35 * cp: fix "unused variable" warning on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5016
36
37 ### date
38 * date: use custom value parser by @cakebaker in https://github.com/uutils/coreutils/pull/4977
39 * Remove time dependency from date by @wanderinglethe in https://github.com/uutils/coreutils/pull/4952
40 * date: switch to parse_datetime by @cakebaker in https://github.com/uutils/coreutils/pull/4968
41 ### dd
42 * dd: fix typos by @crapStone in https://github.com/uutils/coreutils/pull/5022
43 * dd: use an alarm thread instead of elapsed() calls by @Freaky in https://github.com/uutils/coreutils/pull/4447
44
45 ### df
46 * df: disable failing tests on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5017
47 * Find MountInfo properly when symlink is used by @kropacf in https://github.com/uutils/coreutils/pull/4929
48
49 ### du
50 * docs: add "du" to extensions by @cakebaker in https://github.com/uutils/coreutils/pull/5050
51 * du: directories have apparent size of 0 by @shinhs0506 in https://github.com/uutils/coreutils/pull/4991
52 ### hashsum
53 * hashsum: use file_stem() instead of file_name() by @indygreg in https://github.com/uutils/coreutils/pull/5020
54
55 ### install
56 * install: remove time crate by @miles170 in https://github.com/uutils/coreutils/pull/4948
57 ### ls
58 * ls: Implement new sort option --sort=width by @Skryptonyte in https://github.com/uutils/coreutils/pull/4954
59 * docs: add "ls --long" to extensions by @cakebaker in https://github.com/uutils/coreutils/pull/5024
60 * ls: force fetching metadata when called with -L -Z by @granquet in https://github.com/uutils/coreutils/pull/4960
61 * ls: Limit value of --width to maximum value if overflowing by @Skryptonyte in https://github.com/uutils/coreutils/pull/5074
62 * ls: --l should output the same as --literal by @yt2b in https://github.com/uutils/coreutils/pull/5055
63 * ls: fix version cmp by @shinhs0506 in https://github.com/uutils/coreutils/pull/5038
64
65
66
67 ### mkdir
68 * mkdir: remove TEST_DIR<x> consts in tests by @cakebaker in https://github.com/uutils/coreutils/pull/4957
69 ### more
70 * More implement arguments plain and from line by @Ideflop in https://github.com/uutils/coreutils/pull/4950
71
72 ### mv
73 * mv: fix into-self-2.sh test by @Skryptonyte in https://github.com/uutils/coreutils/pull/4966
74 * mv: Fix for tests/mv/symlink-onto-hardlink-to-self.sh by @Skryptonyte in https://github.com/uutils/coreutils/pull/4976
75 * mv: add the check with --b=simple and when the source is a backup by @sylvestre in https://github.com/uutils/coreutils/pull/4999
76
77 ### nl
78 * nl: change value name to match help text by @cakebaker in https://github.com/uutils/coreutils/pull/5062
79 * nl: add "after help" by @cakebaker in https://github.com/uutils/coreutils/pull/5070
80 * nl: use value parser for "--number-format" by @cakebaker in https://github.com/uutils/coreutils/pull/5063
81 * nl: show error if --number-width is zero by @cakebaker in https://github.com/uutils/coreutils/pull/5065
82 * nl: add test for "--number-separator" by @cakebaker in https://github.com/uutils/coreutils/pull/5073
83 * nl: fix typo in nl.md by @cakebaker in https://github.com/uutils/coreutils/pull/4994
84 * nl: implement Default for Settings by @cakebaker in https://github.com/uutils/coreutils/pull/4995
85 * nl: make -p/--no-renumber a flag by @cakebaker in https://github.com/uutils/coreutils/pull/5036
86 ### numfmt
87 * numfmt: add --invalid option by @sbentmar in https://github.com/uutils/coreutils/pull/4249
88 * numfmt: remove duplicate info from help output by @cakebaker in https://github.com/uutils/coreutils/pull/5034
89
90 ### od
91 * od: fix parsing of hex input ending with `E` by @TheDcoder in https://github.com/uutils/coreutils/pull/4983
92
93 ### pr
94 * `pr` use chrono instead of time by @x-dune in https://github.com/uutils/coreutils/pull/4942
95
96 ### seq
97 * seq: rename "--widths" to "--equal-width" by @cakebaker in https://github.com/uutils/coreutils/pull/5012
98 * seq: remove two chars in seq.md by @cakebaker in https://github.com/uutils/coreutils/pull/5000
99 * fix: seq panic on no arguments #4749 by @NikolaiSch in https://github.com/uutils/coreutils/pull/4750
100 * docs: add seq to extensions; add some backticks by @cakebaker in https://github.com/uutils/coreutils/pull/5007
101
102 ### shred
103 * fixed shred -u for windows by @Statheres in https://github.com/uutils/coreutils/pull/4986
104 ### sort
105 * leading zeros are ignored in version compare by @shinhs0506 in https://github.com/uutils/coreutils/pull/5013
106 * sort: migrate from ouroboros to self_cell by @cakebaker in https://github.com/uutils/coreutils/pull/4972
107 ### split
108 * split: reject some invalid values by @sylvestre in https://github.com/uutils/coreutils/pull/5032
109
110 ### stty
111 * stty: Finish '--save' support by @dezgeg in https://github.com/uutils/coreutils/pull/5054
112 * stty: Support setting baud rate by @dezgeg in https://github.com/uutils/coreutils/pull/5053
113
114
115
116 ### sync
117 * sync: fix error msg by @shinhs0506 in https://github.com/uutils/coreutils/pull/4984
118
119 ### tail
120 * `tail`: Refactor `paths::Input::from` and `Settings::inputs` by @Joining7943 in https://github.com/uutils/coreutils/pull/4756
121
122 ### tsort
123 * tsort: Switch to BTreeMap and BTreeSet by @cazou in https://github.com/uutils/coreutils/pull/4931
124
125 ### touch
126 * touch: accept "modify" & "mtime" for --time arg by @cakebaker in https://github.com/uutils/coreutils/pull/5058
127 * touch: rename CURRENT to TIMESTAMP by @cakebaker in https://github.com/uutils/coreutils/pull/4989
128 * touch: use parse_datetime instead of humantime_to_duration by @cakebaker in https://github.com/uutils/coreutils/pull/5030
129
130 ### yes
131 * yes: add --version option by @yt2b in https://github.com/uutils/coreutils/pull/4990
132
133 ### Code quality
134 * Reformat toml and add it to the CI by @sylvestre in https://github.com/uutils/coreutils/pull/4958
135 * clippy: fix warnings introduced by Rust 1.71.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5079
136
137 ### Documentation
138 * Initial oranda setup by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5044
139 * cspell: ignore oranda.json by @cakebaker in https://github.com/uutils/coreutils/pull/5056
140
141 ### CI
142 * fix: fixpr.yml unrecognized named-value: 'steps' by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/5057
143 * deny.toml: add comments by @cakebaker in https://github.com/uutils/coreutils/pull/4959
144 * deny.toml: add hashbrown to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/4985
145 * deny.toml: remove MPL license from allow list by @cakebaker in https://github.com/uutils/coreutils/pull/5076
146
147 ### misc
148 * Make tests/help/help-version-getopt.sh pass by @sylvestre in https://github.com/uutils/coreutils/pull/4987
149 * util/build-gnu.sh: Improve error message when missing GNU Coreutils repository by @sargas in https://github.com/uutils/coreutils/pull/5019
150 * try to fix ignore intermittent by @sylvestre in https://github.com/uutils/coreutils/pull/4992
151 * Remove the auto capitalization of error message by @sylvestre in https://github.com/uutils/coreutils/pull/5004
152 * Update the version to 0.0.20 by @sylvestre in https://github.com/uutils/coreutils/pull/5082
153
154 ### Dependencies
155 * Remove users crate by @cakebaker in https://github.com/uutils/coreutils/pull/4943
156 * chore(deps): update rust crate once_cell to 1.18.0 by @renovate in https://github.com/uutils/coreutils/pull/4944
157 * chore(deps): update rust crate regex to 1.8.4 by @renovate in https://github.com/uutils/coreutils/pull/4951
158 * fix(deps): update rust crate libc to 0.2.146 by @renovate in https://github.com/uutils/coreutils/pull/4945
159 * chore(deps): update rust crate tempfile to 3.6.0 by @renovate in https://github.com/uutils/coreutils/pull/4955
160 * fix(deps): update rust crate memmap2 to 0.7 by @renovate in https://github.com/uutils/coreutils/pull/4961
161 * chore(deps): update rust crate blake3 to 1.4.0 by @renovate in https://github.com/uutils/coreutils/pull/4962
162 * Bump getrandom from 0.2.8 to 0.2.9 by @cakebaker in https://github.com/uutils/coreutils/pull/4947
163 * Bump fundu to 1.0.0 and fix compile errors by @cakebaker in https://github.com/uutils/coreutils/pull/4927
164 * chore(deps): update rust crate phf_codegen to 0.11.2 by @renovate in https://github.com/uutils/coreutils/pull/5002
165 * chore(deps): update rust crate phf to 0.11.2 by @renovate in https://github.com/uutils/coreutils/pull/5001
166 * chore(deps): update vmactions/freebsd-vm action to v0.3.1 by @renovate in https://github.com/uutils/coreutils/pull/5006
167 * fix(deps): update rust crate libc to 0.2.147 by @renovate in https://github.com/uutils/coreutils/pull/5008
168 * chore(deps): update rust crate fundu to 1.1.0 by @renovate in https://github.com/uutils/coreutils/pull/5011
169 * chore(deps): update rust crate self_cell to 1.0.1 by @renovate in https://github.com/uutils/coreutils/pull/5009
170 * chore(deps): update davidanson/markdownlint-cli2-action action to v11 by @renovate in https://github.com/uutils/coreutils/pull/4975
171 * chore(deps): update rust crate sha2 to 0.10.7 by @renovate in https://github.com/uutils/coreutils/pull/4979
172 * chore(deps): update rust crate notify to v6.0.1 by @renovate in https://github.com/uutils/coreutils/pull/4980
173 * chore(deps): update rust crate bigdecimal to 0.4 by @renovate in https://github.com/uutils/coreutils/pull/5040
174 * chore(deps): update rust crate bstr to 1.6 by @renovate in https://github.com/uutils/coreutils/pull/5045
175 * chore(deps): update rust crate smallvec to 1.11 by @renovate in https://github.com/uutils/coreutils/pull/5046
176 * chore(deps): update rust crate regex to 1.9.0 by @renovate in https://github.com/uutils/coreutils/pull/5043
177 * chore(deps): update rust crate rstest to 0.18.1 by @renovate in https://github.com/uutils/coreutils/pull/5039
178 * chore(deps): update rust crate regex to 1.9.1 by @renovate in https://github.com/uutils/coreutils/pull/5052
179 * chore(deps): update rust crate fundu to 1.2.0 by @renovate in https://github.com/uutils/coreutils/pull/5061
180 * fix(deps): update rust crate itertools to 0.11.0 by @renovate in https://github.com/uutils/coreutils/pull/4996
181 * chore(deps): update rust crate rust-ini to 0.19.0 by @renovate in https://github.com/uutils/coreutils/pull/4825
182 * chore(deps): update rust crate rlimit to 0.10.0 by @renovate in https://github.com/uutils/coreutils/pull/5035
183 * Move memmap2 in the root workpace by @sylvestre in https://github.com/uutils/coreutils/pull/5018
184 * Bump proc-macro2 from 1.0.47 to 1.0.63 by @cakebaker in https://github.com/uutils/coreutils/pull/5021
185 * Bump iana-time-zone-haiku from 0.1.1 to 0.1.2 by @cakebaker in https://github.com/uutils/coreutils/pull/5041
186 * update platform-info 2.0.2 by @sylvestre in https://github.com/uutils/coreutils/pull/5071
187 * Bump pretty_assertions from 1.3.0 to 1.4.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5075
188 * Bump syn and add it to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5047
189 * Bump hermit-abi and num_cpus by @cakebaker in https://github.com/uutils/coreutils/pull/5037
190
191 ## New Contributors
192 * @x-dune made their first contribution in https://github.com/uutils/coreutils/pull/4942
193 * @cazou made their first contribution in https://github.com/uutils/coreutils/pull/4931
194 * @Skryptonyte made their first contribution in https://github.com/uutils/coreutils/pull/4954
195 * @wanderinglethe made their first contribution in https://github.com/uutils/coreutils/pull/4952
196 * @kropacf made their first contribution in https://github.com/uutils/coreutils/pull/4929
197 * @Statheres made their first contribution in https://github.com/uutils/coreutils/pull/4986
198 * @Freaky made their first contribution in https://github.com/uutils/coreutils/pull/4447
199 * @yt2b made their first contribution in https://github.com/uutils/coreutils/pull/4990
200 * @TheDcoder made their first contribution in https://github.com/uutils/coreutils/pull/4983
201 * @indygreg made their first contribution in https://github.com/uutils/coreutils/pull/5020
202 * @sargas made their first contribution in https://github.com/uutils/coreutils/pull/5019
203 * @crapStone made their first contribution in https://github.com/uutils/coreutils/pull/5022
204 * @NikolaiSch made their first contribution in https://github.com/uutils/coreutils/pull/4750
205
206 **Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.19...0.0.20