Debian Codegraph @

docs/src/release-notes/0.0.25.md

raw
1 # 0.0.25
2
3 **Version:** 0.0.25
4 **Published:** 2024-03-23T20:56:02Z
5
6 ## Release Notes
7
8 📦 **Rust Coreutils 0.0.25 Release:**
9
10 We're thrilled to announce version 0.0.25. We added +15 GNU passing tests since our last update!
11 More and more programs have a full compatibility with the GNU testsuite.
12 The current list is: base64, basename, cat, chgrp, chmod, chown, dirname, expand, fold, groups, join, ln, mktemp, nice, nl, nproc, paste, pathchk, printenv, realpath, shuf, sleep, split, sync, unexpand, uniq, wc and yes.
13
14 This release saw contributions from 31 developers, including 14 newcomers.
15
16 Some of this work has been supported by the [Sovereign Tech Fund](https://www.sovereigntechfund.de/tech/coreutils).
17
18 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).
19
20 Visit our website at [https://uutils.github.io](https://uutils.github.io).
21
22 ## GNU test suite compatibility
23
24 Here's how version 0.0.25 compares to the previous release - running GNU/Coreutils 9.4:
25
26 | Result | 0.0.24 | 0.0.25 | Change 0.0.24 to 0.0.25 | % Total 0.0.24 | % Total 0.0.25 | % Change 0.0.24 to 0.0.25 |
27 |--------|--------|--------|-------------------------|----------------|----------------|--------------------------|
28 | Pass | 422 | 437 | +15 | 69.87% | 72.35% | +2.48% |
29 | Skip | 50 | 50 | 0 | 8.28% | 8.28% | 0.00% |
30 | Fail | 132 | 117 | -15 | 21.85% | 19.37% | -2.48% |
31 | Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
32
33
34 ![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
35
36 For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
37
38
39 ## What's Changed
40 ### base32/base64/basenc
41 * implement and test proper flag parsing by @BenWiederhake in https://github.com/uutils/coreutils/pull/6007
42
43 ### basename
44 * Fix handling of repeated flags/arguments by @BenWiederhake in https://github.com/uutils/coreutils/pull/6018
45
46 ### cat
47 * Handle all flags correctly by @BenWiederhake in https://github.com/uutils/coreutils/pull/6034
48
49 ### chcon
50 * Handle repeated flags and overrides between --no-XXX and --XXX by @BenWiederhake in https://github.com/uutils/coreutils/pull/6039
51
52 ### chmod
53 * Fix chmod -c --reference reporting when no change is made by @mtimaN in https://github.com/uutils/coreutils/pull/6016
54 * Fix handling of preserve root flag and error messages by @BenWiederhake in https://github.com/uutils/coreutils/pull/6042
55
56 ### cksum
57 * permit repeated flags, handle overrides correctly, implement base64 output by @BenWiederhake in https://github.com/uutils/coreutils/pull/6041
58 * enable encoding feature by @cakebaker in https://github.com/uutils/coreutils/pull/6095
59
60 ### cp
61 * remove lint exceptions by @kralo in https://github.com/uutils/coreutils/pull/5891
62 * improve the support of --attributes-only by @sylvestre in https://github.com/uutils/coreutils/pull/6051
63 * Split the copy_file function a bit by @sylvestre in https://github.com/uutils/coreutils/pull/6056
64 * fix flaky test test_cp_arg_interactive_update, document adjacent bug by @BenWiederhake in https://github.com/uutils/coreutils/pull/6020
65
66 ### csplit
67 * use `printf` functionality from `uucore` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5958
68 * adjust the error message to match GNU's by @sylvestre in https://github.com/uutils/coreutils/pull/6090
69 * remove `crate_name` attribute by @cakebaker in https://github.com/uutils/coreutils/pull/6091
70
71 ### cut
72 * set exit code to 1 if directory is specified by @cakebaker in https://github.com/uutils/coreutils/pull/5886
73 * refactor delimiters OsString handling by @zhitkoff in https://github.com/uutils/coreutils/pull/6072
74 * allow non utf8 characters for delimiters by @zhitkoff in https://github.com/uutils/coreutils/pull/6037
75 * show error for multiple mode args (`-b`, `-c`, `-f`) by @wolimst in https://github.com/uutils/coreutils/pull/5962
76
77 ### dd
78 * parse big numbers and return u64::MAX by @jfinkels in https://github.com/uutils/coreutils/pull/5901
79 * fail on missing number in count, fix #5904 by @sudhackar in https://github.com/uutils/coreutils/pull/5920
80 * misc gnu test by @matrixhead in https://github.com/uutils/coreutils/pull/6084
81 * fix flaky test_final_stats_unspec by @BenWiederhake in https://github.com/uutils/coreutils/pull/6001
82 * treat arg as bytes if it contains a 'B' by @matrixhead in https://github.com/uutils/coreutils/pull/6050
83 * fix gnu test `not-rewound.sh` by @cre4ture in https://github.com/uutils/coreutils/pull/6088
84
85 ### df
86 * switch from u64 to u128 to handle fs with large inodes nr by @cre4ture in https://github.com/uutils/coreutils/pull/6071
87
88 ### du
89 * adapt error message to match GNU's by @cakebaker in https://github.com/uutils/coreutils/pull/5916
90 * adjust one of the GNU error message as ours is better by @sylvestre in https://github.com/uutils/coreutils/pull/6085
91
92 ### echo
93 * do not infer long args by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5911
94
95 ### env
96 * support string args by "-S", "-vS" or "--split-strings" by @cre4ture in https://github.com/uutils/coreutils/pull/5801
97 * Fix/findings for env string args by @cre4ture in https://github.com/uutils/coreutils/pull/6105
98
99 ### expand
100 * Continue work when one of given files doesn't exist by @D9nni in https://github.com/uutils/coreutils/pull/5873
101 * make tab explicit in test by @cakebaker in https://github.com/uutils/coreutils/pull/5875
102 * do not ignore invalid UTF-8 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5987
103
104 ### factor
105 * remove clippy exceptions by reformatting "unreadable literals" by @kralo in https://github.com/uutils/coreutils/pull/5890
106 * rename input parameter by @kralo in https://github.com/uutils/coreutils/pull/5892
107 * enable a debug_assert! statement by @cakebaker in https://github.com/uutils/coreutils/pull/5995
108
109 ### fmt
110 * Make sure the goal is always positive when given a positive width by @sargas in https://github.com/uutils/coreutils/pull/6094
111 * fail if goal is bigger than default width by @cakebaker in https://github.com/uutils/coreutils/pull/6096
112
113 ### hashsum
114 * also escape/unescape files with checks by @sylvestre in https://github.com/uutils/coreutils/pull/5868
115
116 ### install
117 * invalid link at destination by @cre4ture in https://github.com/uutils/coreutils/pull/5851
118
119 ### ln
120 * fix help text by @cakebaker in https://github.com/uutils/coreutils/pull/5977
121
122 ### ls
123 * fix "unused variable" warning on Redox by @cakebaker in https://github.com/uutils/coreutils/pull/5931
124 * test_ls_allocation_size fails on filesystem `f2fs` (android) by @cre4ture in https://github.com/uutils/coreutils/pull/6076
125 * rename `chrono::Duration` to `chrono::TimeDelta` by @cakebaker in https://github.com/uutils/coreutils/pull/5970
126
127 ### more
128 * Disable raw mode before exiting if a panic occurs by @Ideflop in https://github.com/uutils/coreutils/pull/5914
129 * Implement argument pattern by @Ideflop in https://github.com/uutils/coreutils/pull/5966
130 * handle errors with multiple files by @Ludmuterol in https://github.com/uutils/coreutils/pull/4997
131 * fix two incorrect tests by @cakebaker in https://github.com/uutils/coreutils/pull/6104
132
133 ### numfmt
134 * remove clap workaround by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5986
135
136 ### od
137 * disable failing test_od::test_f16() for android CI by @cre4ture in https://github.com/uutils/coreutils/pull/5984
138 * re-enable f16 test with newer AVD system image by @cre4ture in https://github.com/uutils/coreutils/pull/6099
139
140 ### printf
141 * pad unsigned numbers properly by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5955
142 * Make operate on bytes instead of strings by @RenjiSann in https://github.com/uutils/coreutils/pull/6028
143 * '%0c' and '%0s' should fail by @RenjiSann in https://github.com/uutils/coreutils/pull/6032
144
145 ### pr
146 * use chrono instead of time in tests #5972 by @biplab5464 in https://github.com/uutils/coreutils/pull/5973
147 * Check the correct timestamp in test_with_pr_core_utils_tests by @BenWiederhake in https://github.com/uutils/coreutils/pull/6010
148 * relax some error messages by @sylvestre in https://github.com/uutils/coreutils/pull/6087
149
150 ### seq
151 * fix about text not found by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5949
152
153 ### shuf
154 * Treat empty file as zero elements instead of one empty string by @BenWiederhake in https://github.com/uutils/coreutils/pull/5979
155 * Refuse repeating zero lines by @BenWiederhake in https://github.com/uutils/coreutils/pull/6011
156 * include all echo args, not just the last by @BenWiederhake in https://github.com/uutils/coreutils/pull/5978
157 * Fix OOM crash for huge number ranges by @BenWiederhake in https://github.com/uutils/coreutils/pull/5980
158 * add missing word to BENCHMARKING.md by @cakebaker in https://github.com/uutils/coreutils/pull/5996
159 * Fix off-by-one errors in range handling by @BenWiederhake in https://github.com/uutils/coreutils/pull/6014
160 * treat -e as a flag, not as a multi-value arg by @BenWiederhake in https://github.com/uutils/coreutils/pull/5989
161 * Do not read input when -n0 is given by @BenWiederhake in https://github.com/uutils/coreutils/pull/5990
162
163 ### sort
164 * fix incorrectly placed "}" in test by @cakebaker in https://github.com/uutils/coreutils/pull/6064
165
166 ### split
167 * fix android memory kill in split by @cre4ture in https://github.com/uutils/coreutils/pull/5940
168 * fix error message shown if file doesn't exist by @cakebaker in https://github.com/uutils/coreutils/pull/5909
169
170 ### stat
171 * Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 by @biplab5464 in https://github.com/uutils/coreutils/pull/5924
172 * should fail without arguments #5928 by @biplab5464 in https://github.com/uutils/coreutils/pull/5935
173 * use chrono instead of time in fsext by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5934
174 * add 0xDE flag to support zfs file system by @hanbings in https://github.com/uutils/coreutils/pull/6101
175
176 ### tsort
177 * drastically reduce memory copies by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5969
178
179 ### tty
180 * fix for Ctrl-D when stdin is a terminal by @zhitkoff in https://github.com/uutils/coreutils/pull/6059
181
182 ### truncate
183 * correctly handle file (non-)creation by @BenWiederhake in https://github.com/uutils/coreutils/pull/6108
184
185 ### uname
186 * Refactor into public fns for Nushell by @dmatos2012 in https://github.com/uutils/coreutils/pull/5921
187
188 ### uniq
189 * pass remaining GNU tests by @zhitkoff in https://github.com/uutils/coreutils/pull/5994
190 * Fix flaky test gnu_tests by @BenWiederhake in https://github.com/uutils/coreutils/pull/6017
191 * use `concat!` in tests for better readability by @cakebaker in https://github.com/uutils/coreutils/pull/6022
192
193 ### CI
194 * Android disable mirror selection by @kralo in https://github.com/uutils/coreutils/pull/5894
195 * Android delete AVD lockfile when running from cached image by @kralo in https://github.com/uutils/coreutils/pull/5917
196 * Add Android x86_64 by @cakebaker in https://github.com/uutils/coreutils/pull/5843
197 * github action: run on native m1 - and execute the tests by @sylvestre in https://github.com/uutils/coreutils/pull/5923
198 * CI Android: set environmental variable for BACKTRACE to right value by @cre4ture in https://github.com/uutils/coreutils/pull/5965
199 * run CICD workflow on tag creation by @malt3 in https://github.com/uutils/coreutils/pull/5971
200 * `ci:android` stabilize and improve android github actions by @cre4ture in https://github.com/uutils/coreutils/pull/5939
201 * use latest version of `cspell` by @cakebaker in https://github.com/uutils/coreutils/pull/5947
202 * android disk space issue by @cre4ture in https://github.com/uutils/coreutils/pull/5943
203 * tests/common/util.rs: add `cfg(feature = "env")` by @cakebaker in https://github.com/uutils/coreutils/pull/6044
204 * deny.toml: add redox_syscall to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/6066
205 * Android CI: workaround: run builds with retry by @cre4ture in https://github.com/uutils/coreutils/pull/5993
206 * deny.toml: remove deprecated keys, opt-in to v2 by @cakebaker in https://github.com/uutils/coreutils/pull/6065
207 * test utilities: easy way to simulate terminal context by @cre4ture in https://github.com/uutils/coreutils/pull/5869
208 * ci: use codecov token in CICD/GnuTests workflows by @cakebaker in https://github.com/uutils/coreutils/pull/5938
209
210 ### Documentation
211 * Adjust the link to the doc by @sylvestre in https://github.com/uutils/coreutils/pull/6093
212 * docs: add paragraph about yocto recipe by @Ecordonnier in https://github.com/uutils/coreutils/pull/5918/pull/5919
213 * doc: fixed benchmark table by @SamuelLarkin in https://github.com/uutils/coreutils/pull/5936
214
215 ### Security
216 * fuzzing: use LC_ALL instead of LC_COLLATE by @cakebaker in https://github.com/uutils/coreutils/pull/5889
217 * fuzzing: set LC_ALL=C when running GNU printf by @cakebaker in https://github.com/uutils/coreutils/pull/5983
218 * parser: if closing square bracket not found, stop looking for it again by @cj-zoltan-kiss in https://github.com/uutils/coreutils/pull/6036
219
220 ### Various improvements
221 * Clippy suggestions by @kralo in https://github.com/uutils/coreutils/pull/5895
222 * uucore: fix "X is never used" warnings on Redox by @cakebaker in https://github.com/uutils/coreutils/pull/5932
223 * lint: fix lints of new Rust version by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6102
224 * cargo: rename `config` to `config.toml` by @cakebaker in https://github.com/uutils/coreutils/pull/5954
225 * added shebang to run python scripts by @thesayfulla in https://github.com/uutils/coreutils/pull/6098
226 * clippy: fix warnings introduced by Rust 1.76 by @cakebaker in https://github.com/uutils/coreutils/pull/5959
227 * Fix clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/6052
228 * tests: Harden two tests, prevent 4 flaky tests (cat, numfmt, sort, split, tee) by @BenWiederhake in https://github.com/uutils/coreutils/pull/6000
229 * Fix/flaky `split` round robin limited fds by @cre4ture in https://github.com/uutils/coreutils/pull/6043
230 * Fix "item x imported redundantly" warnings by @cakebaker in https://github.com/uutils/coreutils/pull/5988
231 * cargo: fix feature = "cargo-clippy" deprecation by @rex4539 in https://github.com/uutils/coreutils/pull/6027
232 * Fix/flaky timeout kill subprocess by @cre4ture in https://github.com/uutils/coreutils/pull/6061
233 * Fix two "item x is imported redundantly" warnings by @cakebaker in https://github.com/uutils/coreutils/pull/6077
234 * pr/chgrp: fix warnings by @cakebaker in https://github.com/uutils/coreutils/pull/6054
235 * Un-Ignore two tests that fail for nonsense reasons by @BenWiederhake in https://github.com/uutils/coreutils/pull/5997
236
237 ### dependency updates
238 * Bump wild from 2.2.0 to 2.2.1 by @cakebaker in https://github.com/uutils/coreutils/pull/5899
239 * chore(deps): update rust crate chrono to ^0.4.33 by @renovate in https://github.com/uutils/coreutils/pull/5880
240 * chore(deps): update vmactions/freebsd-vm action to v1.0.6 by @renovate in https://github.com/uutils/coreutils/pull/5887
241 * chore(deps): update rust crate itertools to 0.12.1 by @renovate in https://github.com/uutils/coreutils/pull/5913
242 * chore(deps): update mozilla-actions/sccache-action action to v0.0.4 by @renovate in https://github.com/uutils/coreutils
243 * chore(deps): update codecov/codecov-action action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5926
244 * chore(deps): update rust crate libc to 0.2.153 by @renovate in https://github.com/uutils/coreutils/pull/5927
245 * chore(deps): update rust crate exacl to 0.12.0 by @renovate in https://github.com/uutils/coreutils/pull/5937
246 * chore(deps): update rust crate tempfile to 3.10.0 by @renovate in https://github.com/uutils/coreutils/pull/5948
247 * chore(deps): update rust crate unicode-segmentation to 1.11.0 by @renovate in https://github.com/uutils/coreutils/pull/5953
248 * chore(deps): update rust crate num-traits to 0.2.18 by @renovate in https://github.com/uutils/coreutils/pull/5956
249 * chore(deps): update rust crate chrono to ^0.4.34 by @renovate in https://github.com/uutils/coreutils/pull/5967
250 * chore(deps): update rust crate textwrap to 0.16.1 by @renovate in https://github.com/uutils/coreutils/pull/5985
251 * chore(deps): update rust crate tempfile to 3.10.1 by @renovate in https://github.com/uutils/coreutils/pull/6023
252 * chore(deps): update rust crate half to 2.4 by @renovate in https://github.com/uutils/coreutils/pull/6021
253 * chore(deps): update rust crate rayon to 1.9 by @renovate in https://github.com/uutils/coreutils/pull/6026
254 * chore(deps): update rust crate walkdir to 2.5 by @renovate in https://github.com/uutils/coreutils/pull/6038
255 * chore(deps): update softprops/action-gh-release action to v2 by @renovate in https://github.com/uutils/coreutils/pull/6049
256 * chore(deps): update rust crate blake3 to 1.5.1 by @renovate in https://github.com/uutils/coreutils/pull/6057
257 * chore(deps): update rust crate regex to 1.10.4 by @renovate in https://github.com/uutils/coreutils/pull/6107
258 * Bump smallvec from 1.13.0 to 1.13.1 by @cakebaker in https://github.com/uutils/coreutils/pull/5874
259 * Bump shlex from 1.1.0 to 1.3.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5871
260 * Bump mio from 0.8.10 to 0.8.11 by @cakebaker in https://github.com/uutils/coreutils/pull/6045
261 * Bump chrono to 0.4.35 & replace usage of deprecated functions by @cakebaker in https://github.com/uutils/coreutils/pull/6047
262 * Bump nix from 0.27 to 0.28 & fix issues due to API changes by @cakebaker in https://github.com/uutils/coreutils/pull/6055
263 * Bump redox_syscall from 0.4 to 0.5 by @cakebaker in https://github.com/uutils/coreutils/pull/6068
264
265 ## New Contributors
266 * @kralo made their first contribution in https://github.com/uutils/coreutils/pull/5890
267 * @harshRn made their first contribution in https://github.com/uutils/coreutils/pull/5897
268 * @Ecordonnier made their first contribution in https://github.com/uutils/coreutils/pull/5918
269 * @SamuelLarkin made their first contribution in https://github.com/uutils/coreutils/pull/5936
270 * @BaherSalama made their first contribution in https://github.com/uutils/coreutils/pull/5945
271 * @wolimst made their first contribution in https://github.com/uutils/coreutils/pull/5962
272 * @BenWiederhake made their first contribution in https://github.com/uutils/coreutils/pull/5979
273 * @rex4539 made their first contribution in https://github.com/uutils/coreutils/pull/6027
274 * @ysthakur made their first contribution in https://github.com/uutils/coreutils/pull/5951
275 * @matrixhead made their first contribution in https://github.com/uutils/coreutils/pull/6050
276 * @cj-zoltan-kiss made their first contribution in https://github.com/uutils/coreutils/pull/6036
277 * @Krysztal112233 made their first contribution in https://github.com/uutils/coreutils/pull/6092
278 * @thesayfulla made their first contribution in https://github.com/uutils/coreutils/pull/6098
279 * @hanbings made their first contribution in https://github.com/uutils/coreutils/pull/6101
280
281 **Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.24...0.0.25