Debian Codegraph @

docs/src/release-notes/0.0.21.md

raw
1 # 0.0.21
2
3 **Version:** 0.0.21
4 **Published:** 2023-09-03T16:12:44Z
5
6 ## Release Notes
7
8 📦 Announcing Rust Coreutils version 0.0.21. This release showcases enhanced compatibility with the GNU test suite, particularly following our upgrade to GNU Coreutils 9.4. We've made technical improvements across various utilities, ensuring more robust and efficient operations. As always, we prioritize precision and performance in our updates. Dive into the detailed changelog for a comprehensive overview. 🛠️
9
10 We have a fancy new website powered by [`oranda`](https://opensource.axo.dev/oranda/)! Check it out here: https://uutils.github.io.
11
12 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.
13
14 ## GNU test suite compatibility
15
16 The observed changes in the test results for the Rust Coreutils version 0.0.21 are attributed to our upgrade to use [GNU Coreutils 9.4](https://lists.gnu.org/archive/html/info-gnu/2023-08/msg00007.html) as a reference for comparison. This newer version of GNU Coreutils introduced differences that are reflected in our test outcomes. Additionally, we've actively contributed to the GNU Coreutils by reorganizing tests into a more optimal structure, significantly enhancing the results of the GNU test coverage. More details can be found in our [test coverage documentation](https://uutils.github.io/coreutils/book/test_coverage.html).
17
18 Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
19
20 | result | 0.0.20 | 0.0.21 | change |
21 |--------|-------:|-------:|------:|
22 | pass | 373 | 372 | -1 |
23 | skip | 49 | 49 | 0 |
24 | fail | 178 | 181 | +3 |
25 | error | 2 | 2 | 0 |
26 | xpass | 0 | 0 | 0 |
27
28 ![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
29
30 ## What's Changed
31 ### cat
32 * cat: remove --t by @cakebaker in https://github.com/uutils/coreutils/pull/5089
33
34 ### chown
35 * chown: remove some duplication in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5168
36
37 ### cp
38 * `cp`: re-export `uucore::{BackupMode, UpdateMode}` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5211
39 * `cp`: finish progress bar to make it always show up by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5235
40 * `cp`: make more types public and add more documentation (for nushell) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5152
41
42 ### csplit
43 * csplit: remove explicit "into_iter()" by @cakebaker in https://github.com/uutils/coreutils/pull/5109
44
45 ### date
46 * date: fix panic when input will cause overflow by @tommady in https://github.com/uutils/coreutils/pull/5160
47
48 ### dd
49 * parse_size,dd: turn instance fns to associated fns by @cakebaker in https://github.com/uutils/coreutils/pull/5207
50
51 ### factor
52 * `factor`: short circuit on write error, but not on parse error by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5225
53 * factor: simplify loop in test by @cakebaker in https://github.com/uutils/coreutils/pull/5192
54
55 ### fmt
56 * fmt: fix panic on width argument by @bluelief in https://github.com/uutils/coreutils/pull/5159
57 * fmt: implement Default for FmtOptions by @cakebaker in https://github.com/uutils/coreutils/pull/4747
58
59 ### hashsum
60 * `hashsum`: change debug to display format with --tag by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5219
61
62 ### mktemp
63 * Require = for --tmpdir in mktemp by @tmccombs in https://github.com/uutils/coreutils/pull/4342
64
65 ### mknod
66 * mknod: remove unnecessary "not" in test by @cakebaker in https://github.com/uutils/coreutils/pull/5233
67
68 ### mv
69 * mv: remove unnecessary OR in condition by @cakebaker in https://github.com/uutils/coreutils/pull/5143
70
71 ### nl
72 * nl: allow negative values for --line-increment and --starting-line-number by @cakebaker in https://github.com/uutils/coreutils/pull/5078
73 * nl: fix calculation of line number lengths by @cakebaker in https://github.com/uutils/coreutils/pull/5091
74 * nl: fix zero padding of negative line numbers by @cakebaker in https://github.com/uutils/coreutils/pull/5098
75 * nl: show error if --join-blank-lines is zero by @cakebaker in https://github.com/uutils/coreutils/pull/5103
76 * nl: shorten variants of NumberingStyle enum by @cakebaker in https://github.com/uutils/coreutils/pull/5100
77 * nl: fix output of numbering styles by @cakebaker in https://github.com/uutils/coreutils/pull/5131
78 * nl: re-add handling for -p/--no-renumber by @cakebaker in https://github.com/uutils/coreutils/pull/5155
79 * nl: implement TryFrom<&str> for NumberingStyle by @cakebaker in https://github.com/uutils/coreutils/pull/5156
80 * nl: handle line number overflow by @cakebaker in https://github.com/uutils/coreutils/pull/5163
81
82 ### rm
83 * rm: refactor prompt_file() by @cakebaker in https://github.com/uutils/coreutils/pull/5147
84 * Add benchmarking for `rm` by @Benjscho in https://github.com/uutils/coreutils/pull/5187
85
86 ### seq
87 * seq: display -0 by @shinhs0506 in https://github.com/uutils/coreutils/pull/5136
88 * seq: remove unused param from write_value_float() by @cakebaker in https://github.com/uutils/coreutils/pull/5137
89
90 ### sum
91 * Use `rotate_right` rather than an explicit expansion in `sum` by @resistor in https://github.com/uutils/coreutils/pull/5115
92 *
93 ### split
94 * split: loop over chars and remove char_from_digit function by @shinhs0506 in https://github.com/uutils/coreutils/pull/5153
95 * split: better handle numeric and hex suffixes, short and long, with and without values by @zhitkoff in https://github.com/uutils/coreutils/pull/5198
96
97 ### stat
98 * stat: Output error when - and -f are used together. by @Skryptonyte in https://github.com/uutils/coreutils/pull/5144
99
100 ### stty
101 * stty: Implement printing assignment of control chars by @dezgeg in https://github.com/uutils/coreutils/pull/5060
102
103 ### test
104 * Fuzz the test command by @sylvestre in https://github.com/uutils/coreutils/pull/4641
105
106 ### touch
107 * `touch`: move from `time` to `chrono` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4600
108
109
110 ### tsort
111 * tsort: use Iterator.all by @simon04 in https://github.com/uutils/coreutils/pull/5116
112
113 ### website & documentation
114 * docs: fix broken Arch package link by @theoludwig in https://github.com/uutils/coreutils/pull/5084
115 * website: fix `path_prefix` in oranda by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5175
116 * docs: add missing "not" by @cakebaker in https://github.com/uutils/coreutils/pull/5178
117 * Docs platform support page by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5172
118 * docs: github repo link related to uutils/coreutils by @theoludwig in https://github.com/uutils/coreutils/pull/5085
119 * website: fix changelog config by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5215
120 * docs: add conda installer by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5185
121 * README: update links to docs by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5190
122 * docs(bin,has): add docstrings for macros bin and has by @nouritsu in https://github.com/uutils/coreutils/pull/5129
123 * Add the Perl Power Tools impl by @sylvestre in https://github.com/uutils/coreutils/pull/5105
124
125 ### Build system & CI
126 * uucore: make deps of "sum" feature optional by @cakebaker in https://github.com/uutils/coreutils/pull/5227
127 * uucore: make "dunce" optional by @cakebaker in https://github.com/uutils/coreutils/pull/5229
128 * uucore: turn backup_control into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5231
129 * uucore: turn ranges into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5238
130 * uucore: turn update_control into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5232
131 * upgrade to GNU/coreutils 9.4 by @sylvestre in https://github.com/uutils/coreutils/pull/5221
132 * make: split the manpage / completions generation into their target by @sylvestre in https://github.com/uutils/coreutils/pull/5092
133 * make: uninstall man pages by @miles170 in https://github.com/uutils/coreutils/pull/5101
134 * Improve the coreutils manpage by @sylvestre in https://github.com/uutils/coreutils/pull/5093
135 * uucore: use "workspace=true" for some dependencies by @cakebaker in https://github.com/uutils/coreutils/pull/5110
136 * ci: add default_trait_access lint and fix its warnings by @cakebaker in https://github.com/uutils/coreutils/pull/5081
137 * ci: Add a new workflow to check and format shell scripts in `util` dir by @starccy in https://github.com/uutils/coreutils/pull/5077
138 * "style(util): fix/format scripts to meet the `shellcheck`/`shfmt` rules" by @starccy in https://github.com/uutils/coreutils/pull/5090
139 * `Cargo.toml`: add `feat_require_unix_hostid` to `feat_os_unix` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5179
140 * only set SELINUX_ENABLED=1 on Linux by @sylvestre in https://github.com/uutils/coreutils/pull/5112
141 * build-gnu.sh: indent comment by @cakebaker in https://github.com/uutils/coreutils/pull/5118
142 * 0.0.20 => 0.0.21 by @sylvestre in https://github.com/uutils/coreutils/pull/5237
143
144 ### Various improvements
145 * uucore: remove unnecessary heap allocation by @thechampagne in https://github.com/uutils/coreutils/pull/5228
146 * Fix clippy warnings with Rust 1.72.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5204
147 * Fix some of the recent clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/5182
148 * uucore: don't show error for ambiguous value by @cakebaker in https://github.com/uutils/coreutils/pull/5127
149 * uucore: provide capacity for vectors by @shinhs0506 in https://github.com/uutils/coreutils/pull/5086
150 * use is_empty() in mv & rmdir by @shinhs0506 in https://github.com/uutils/coreutils/pull/5117
151 * Extract uucore::line_ending::LineEnding by @simon04 in https://github.com/uutils/coreutils/pull/5120
152 * uucore,comm: fix warnings from bool_to_int_with_if by @cakebaker in https://github.com/uutils/coreutils/pull/5206
153
154 ### Dependencies
155 * chore(deps): update rust crate chrono to ^0.4.28 by @renovate in https://github.com/uutils/coreutils/pull/5226
156 * chore(deps): update rust crate regex to 1.9.5 by @renovate in https://github.com/uutils/coreutils/pull/5234
157 * Bump windows-targets from 0.48.0 to 0.48.2 by @cakebaker in https://github.com/uutils/coreutils/pull/5161
158 * Downgrade windows-targets from 0.48.2 to 0.48.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5167
159 * Bump js-sys from 0.3.60 to 0.3.64 by @cakebaker in https://github.com/uutils/coreutils/pull/5154
160 * chore(deps): update rust crate rstest to 0.18.2 by @renovate in https://github.com/uutils/coreutils/pull/5157
161 * Bump cpp to remove aho-corasick from skip list in deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/5165
162 * chore(deps): update rust crate signal-hook to 0.3.17 by @renovate in https://github.com/uutils/coreutils/pull/5097
163 * chore(deps): update rust crate signal-hook to 0.3.16 by @renovate in https://github.com/uutils/coreutils/pull/5087
164 * chore(deps): update rust crate rlimit to 0.10.1 by @renovate in https://github.com/uutils/coreutils/pull/5099
165 * chore(deps): update rust crate num-traits to 0.2.16 by @renovate in https://github.com/uutils/coreutils/pull/5108
166 * chore(deps): update rust crate xattr to 1.0.1 by @renovate in https://github.com/uutils/coreutils/pull/5121
167 * chore(deps): update rust crate regex to 1.9.3 by @renovate in https://github.com/uutils/coreutils/pull/5132
168 * Bump fundu & fix two failing tests by @cakebaker in https://github.com/uutils/coreutils/pull/5139
169 * Bump rustix crates by @cakebaker in https://github.com/uutils/coreutils/pull/5141
170 * Bump aho-corasick crates by @cakebaker in https://github.com/uutils/coreutils/pull/5140
171 * Bump futures from 0.3.25 to 0.3.28 by @cakebaker in https://github.com/uutils/coreutils/pull/5145
172 * Bump cpp from 0.5.7 to 0.5.8 by @cakebaker in https://github.com/uutils/coreutils/pull/5146
173 * chore(deps): update rust crate regex to 1.9.4 by @renovate in https://github.com/uutils/coreutils/pull/5208
174 * chore(deps): update rust crate lscolors to 0.15.0 by @renovate in https://github.com/uutils/coreutils/pull/5111
175 * Bump unicode-linebreak from 0.1.4 to 0.1.5 by @cakebaker in https://github.com/uutils/coreutils/pull/5113
176 * chore(deps): update rust crate chrono to ^0.4.27 by @renovate in https://github.com/uutils/coreutils/pull/5220
177 * chore(deps): update davidanson/markdownlint-cli2-action action to v12 by @renovate in https://github.com/uutils/coreutils/pull/5223
178 * chore(deps): update rust crate tempfile to 3.8.0 by @renovate in https://github.com/uutils/coreutils/pull/5169
179 * deny.toml: add bitflags to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5134
180 * deny.toml: remove redox_syscall from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5135
181 * chore(deps): update rust crate crossterm to >=0.27.0 by @renovate in https://github.com/uutils/coreutils/pull/5133
182 * chore(deps): update rust crate num-bigint to 0.4.4 by @renovate in https://github.com/uutils/coreutils/pull/5196
183 * Some updates of deps by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5148
184 * chore(deps): update is-terminal and tempfile in Cargo.toml by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5151
185
186 ### code header
187 * Add license headers on all files by @sylvestre in https://github.com/uutils/coreutils/pull/5183
188 * Remove the author copyright notices by @sylvestre in https://github.com/uutils/coreutils/pull/5184
189 * Remove the author copyright notices by @cakebaker in https://github.com/uutils/coreutils/pull/5197
190 * All: normalize license notice in all `*.rs` files by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5199
191 * Remove the author copyright notices by @cakebaker in https://github.com/uutils/coreutils/pull/5205
192
193 ## New Contributors
194 * @theoludwig made their first contribution in https://github.com/uutils/coreutils/pull/5085
195 * @starccy made their first contribution in https://github.com/uutils/coreutils/pull/5077
196 * @simon04 made their first contribution in https://github.com/uutils/coreutils/pull/5116
197 * @nouritsu made their first contribution in https://github.com/uutils/coreutils/pull/5129
198 * @bluelief made their first contribution in https://github.com/uutils/coreutils/pull/5159
199 * @tommady made their first contribution in https://github.com/uutils/coreutils/pull/5160
200 * @Benjscho made their first contribution in https://github.com/uutils/coreutils/pull/5187
201 * @zhitkoff made their first contribution in https://github.com/uutils/coreutils/pull/5198
202 * @thechampagne made their first contribution in https://github.com/uutils/coreutils/pull/5228
203
204
205
206 **Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.20...0.0.21