Highlights
- Minimum supported Rust version is now 1.56 and we use the 2021 edition.
- Android support has been fixed and is now checked in the CI thanks to @jtracey.
df
has seen major improvements due to incredible work by @cakebaker.- Path completions on modern shells (like
zsh
andfish
) now work properly. - The
dir
andvdir
utilities where added as aliases forls
andls -l
, respectively. - Many utils have seen minor changes to improve GNU compatibility. See https://github.com/uutils/coreutils-tracking/ for more details
Changes
The PR's listed below change the user-facing behaviour of the utils. It is a selection of all the contributions in this release.
General
- MSRV 1.56 by @tertsdiepraam in #3350
- Rust Edition 2021 by @tertsdiepraam in #3368
- Fix Android support by @jtracey in #3396
- docs: Show supported platforms for each util by @tertsdiepraam in #3374, #3385
- docs: Don't download the tldr archive automatically by @tertsdiepraam in #3415
- docs: Require a feature to build by @tertsdiepraam in #3444
- Clap value hints by @tertsdiepraam in #3524
chown
cp
- Do not dereference symlink even when dangling - fix issue #3364 by @anastygnome in #3459
date
- Set names for arg values by @cakebaker in #3545
df
- Show error if same type is included & excluded by @cakebaker in #3369
- Show error when file argument does not exist by @jfinkels in #3376
- Fix too low values in
I*
columns by @cakebaker in #3365 - Fix calculation of
IUse%
by @cakebaker in #3387 - Fix incorrect whitespace between columns by @cakebaker in #3386
-h -H
shouldn't cause an error #3366 by @gmnsii in #3414- Fix broken "test_df_output_overridden" test by @cakebaker in #3428
- Fix
File
column width for unicode filenames by @cakebaker in #3429 - Show error if all types are excluded by @cakebaker in #3418
- Respect
-t
arg when specific file is provided by @cakebaker in #3408 - Allow sizes with a suffix for
--block-size
by @cakebaker in #3441 - Show "block-size argument too large" error by @cakebaker in #3458
- Fix
Size
column header by @cakebaker in #3456 - Set min width of
Used
column to 5 by @cakebaker in #3480 - Set names for arg values & add missing space by @cakebaker in #3490
- Fix
Size
header for multiples of 1000 & 1024 by @cakebaker in #3499 - Use blocksize of 512 if
POSIXLY_CORRECT
is set by @cakebaker in #3482 - Show error if provided block size is zero by @cakebaker in #3514
- Test default blocksize in POSIX mode by @cakebaker in #3522
- Round up values if block size is specified by @cakebaker in #3526
- Fix incorrect rounding of size header by @cakebaker in #3530
du
- Return non zero error code when dealing with permissions errors by @sylvestre in #3382
- Add support for
--exclude
and--exclude-from
by @sylvestre in #3381
env
hashsum
install
- Support of
-d dir/.
to match GNU's by @sylvestre in #3353 - When install
--strip-program=foor
fails, remove the target file by @sylvestre in #3419 - Verbose - list all created directories by @sylvestre in #3420
kill
- Accept process group with negative id by @tertsdiepraam in #3501
ls
, dir
& vdir
- Implement
--group-directories-first
by @thomasqueirozb in #3550 - Add
dir
andvdir
utils by @gmnsii in #3405
mkdir
- Fix a clippy warning on clippy::ptr-arg by @sylvestre in #3393
- Fixed not respecting set umask by @pyoky in #3150
mktemp
- Respect path given in template argument by @jfinkels in #3465
- Error on path separator in template prefix by @jfinkels in #3512
- Fix error msg when suffix has path sep. by @jfinkels in #3543
- Correct error message on absolute path by @jfinkels in #3521
mv
- Add OverwriteMode match in specific case by @sudosmile in #3383
- Move the tests in a separate function by @sylvestre in #3390
- Trigger an error when doing
mv dir1 dir2 dir2
by @sylvestre in #3392 - Allow a single source with
--target-directory
by @ilkecan in #3529
printf
ptx
- Implement
breakfile
option by @mike-kfed in #3455
rm
- Rename
none
by--interactive=never
to fix ../gnu/tests/rm/i-never.sh by @sylvestre in #3356
seq
stat
- Add support to read a filename redirected to stdin by @crazystylus in #3280
- Improve handling of stdin/fifo (fix #3485) by @jhscheer in #3498
tty
- Should not return 2 when
--help
is used by @sylvestre in #3367
uname
- Hide processor and hwplatform options by @LevitatingBusinessMan in #3537
uniq
- Fix almost all GNU tests by @tertsdiepraam in #3417
New Contributors
@pothos (#3361), @marv (#3384), @sudosmile (#3383), @pyoky (#3150), @gmnsii (#3405), @rtzoeller (#3443), @anastygnome (#3459), @naveensrinivasan (#3453), @ilkecan (#3529)
Full Changelog: 0.0.13...0.0.14