Skip to content

Tags: Byron/dua-cli

Tags

v2.34.0

Toggle v2.34.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
This upcoming release improves day-to-day usability with a new config…

…uration file.

For users, the main additions are:

- A persistent configuration file for `dua` with keyboard settings under `[keys]`.
- A new `dua config edit` command to open the configuration in `$EDITOR`.
- Automatic creation of the configuration directory/file with sensible defaults when editing for the first time.

Configuration defaults and behavior in this release:

- `keys.esc_navigates_back` now defaults to `true`. This is a change from previous versions where it was `false` implicitly.

You are welcome to contribute more settings as you see fit.

### Chore

- <csr-id-3dc120fcf193945546ad62f91ae7792c4830c151/> Replace simplelog with fern and jiff for timestamped logging
  Note that this changes the log format from

      04:41:37 [INFO]

  to

      [2026-02-06 05:41:32.146 +01:00 INFO src/main.rs:55]

### New Features

 - add `dua` configuration file, with setting for ESC going back only.

### Bug Fixes

 - outdated link to NixOS package search
   Channel 23.11 was for Nov. 2023.
   This update removes explicitly specifying a channel in the query, defaulting to the current latest stable NixOS nixpkgs channel (at the time of writing `25.11`

### Refactor

- <csr-id-a1aaaa59a5a1e7b4cee7affdb0ff4fb2f3da4fc3/> remove crosstermion and tui-react dependencies

### Commit Statistics

 - 17 commits contributed to the release over the course of 45 calendar days.
 - 45 days passed between releases.
 - 4 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

 * **Uncategorized**
    - Merge pull request #320 from tonisives/feat/disable-esc (9d2fac5)
    - Prepare changelog for upcoming release (9496afe)
    - Refactor (f275703)
    - Apply suggestions from Copilot code review (fd3468b)
    - Add `dua` configuration file, with setting for ESC going back only. (c72cb52)
    - Merge pull request #318 from Byron/copilot/remove-crosstermion-tui-react (7480277)
    - Remove crosstermion and tui-react dependencies (a1aaaa5)
    - Merge pull request #317 from musicinmybrain/no-atty (6c0203c)
    - Replace atty with standard-library functionality (since Rust 1.70) (31aaa0c)
    - Merge pull request #315 from Byron/copilot/switch-time-crate-to-jiff (017e716)
    - Refactor (60812a2)
    - Replace simplelog with fern and jiff for timestamped logging (3dc120f)
    - Merge pull request #314 from Byron/dependabot/cargo/time-0.3.47 (2cb64fb)
    - Bump time from 0.3.44 to 0.3.47 (5980a79)
    - Merge pull request #313 from Quoteme/patch-1 (abe15b2)
    - Outdated link to NixOS package search (c7def68)
    - Cargo fmt (d8db05a)

v2.33.0

Toggle v2.33.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### New Features

 - Add environment variable support for all global arguments
   - `DUA_THREADS` → `--threads`
   - `DUA_FORMAT` → `--format`
   - `DUA_APPARENT_SIZE` → `--apparent-size`
   - `DUA_COUNT_HARD_LINKS` → `--count-hard-links`
   - `DUA_STAY_ON_FILESYSTEM` → `--stay-on-filesystem`
   - `DUA_IGNORE_DIRS` → `--ignore-dirs`
   - `DUA_LOG_FILE` → `--log-file`
 - Mark shared arguments as global for general accessibility
   - Added `global = true` to all arguments shared between aggregate and interactive subcommands
   - Removed duplicate `input` fields from Interactive and Aggregate subcommands
   - Updated main.rs to use opt.input instead of subcommand-specific input
   - Global arguments now work with both subcommands and can be specified before or after the subcommand

### Commit Statistics

 - 10 commits contributed to the release over the course of 64 calendar days.
 - 69 days passed between releases.
 - 2 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

 * **Uncategorized**
    - Merge pull request #309 from Byron/copilot/add-env-support-global-arguments (72f149c)
    - Add environment variable support for all global arguments (85c7c72)
    - Merge pull request #307 from Byron/copilot/mark-global-arguments-in-clap (a2973a6)
    - Mark shared arguments as global for general accessibility (2f720cf)
    - Merge pull request #300 from drkane/drkane-patch-1 (8570c15)
    - Add winget instructions to readme - fixes issue #282 (ec159b6)
    - Merge pull request #298 from Byron/updates (4bb7ebd)
    - Cargo update (1a38653)
    - Cargo fmt (38d985e)
    - Upgrade the rustc version and switch to edition 2024 (ccd0b74)

v2.32.2

Toggle v2.32.2's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### Bug Fixes

 - don't let 'q' quit instantly if it's still collecting files.

### Commit Statistics

 - 1 commit contributed to the release.
 - 1 commit was understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

 * **Uncategorized**
    - Don't let 'q' quit instantly if it's still collecting files. (847af46)

v2.32.1

Toggle v2.32.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
'q' to quit is now more usable as it will insta-quit if the traversal…

… took less than 10s and

if nothing is still marked for deletion.

This makes it easy to use in 'quick-view' scenarios.

### Bug Fixes

 - instantly quit when no items marked for deletion

### Commit Statistics

 - 6 commits contributed to the release.
 - 1 commit was understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

 * **Uncategorized**
    - Prepare next release changelog (fb8571f)
    - Merge pull request #297 from Byron/copilot/fix-instant-quit-on-q (938ae33)
    - Only quit immediately if the traversal didn't take too long. (7f27170)
    - Update dependencies (d0f66d6)
    - Refactor (b710cb1)
    - Instantly quit when no items marked for deletion (d769de9)

v2.32.0

Toggle v2.32.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### New Features

 - `Ctrl+f` in the glob prompt now toggles the mode from case-insensitive to sensitive.

### Commit Statistics

 - 4 commits contributed to the release over the course of 43 calendar days.
 - 43 days passed between releases.
 - 1 commit was understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Commit Details

 * **Uncategorized**
    - Merge pull request #293 from Byron/copilot/fix-2a5bb691-5ca0-4cf5-af1c-895f4fcb1f06 (91bc45d)
    - `Ctrl+f` in the glob prompt now toggles the mode from case-insensitive to sensitive. (bbe368f)
    - Implement case-sensitive glob search with '^f' shortcut (32ab50f)
    - See if the windows-2022 image will work for us. (7abf86a)

v2.31.0

Toggle v2.31.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
This release prominently adds a prompt that shows before quitting the…

… app. When you pressed esc or q, the status bar will show the prompt first. To really quit, you need to press esc or q again. You can also cancel the quit operation by pressing any key else. Meanwhile, ctrl-c still quits the app directly since it's a combination key.

That way, `dua` will not cause users to accidentally quit the app when they only want to dismiss some other panels. It's especially frustrating if the scan took a long time

### New Features

 - prompt before quitting
   This release prominently adds a prompt that shows before quitting the app. When you pressed esc or q, the status bar will show the prompt first. To really quit, you need to press esc or q again. You can also cancel the quit operation by pressing any key else. Meanwhile, ctrl-c still quits the app directly since it's a combination key.
   
   That way, `dua` will not cause users to accidentally quit the app when they only want to dismiss some other panels. It's especially frustrating if the scan took a long time.

### Commit Statistics

 - 11 commits contributed to the release.
 - 83 days passed between releases.
 - 1 commit was understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Thanks Clippy

[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic. 

### Commit Details

 * **Uncategorized**
    - Bump minor version and add changelog notes (d238dbb)
    - Update dependencies (39ca5e6)
    - Prompt before quitting (f3c9bf6)
    - Prompt user before quitting (b096939)
    - Re-introduce io::ErrorKind matching. (f93f120)
    - Merge pull request #288 from fgimian/completions (1b7f535)
    - Thanks clippy (f983e60)
    - Refactor (a0f78b2)
    - Add the ability to generate shell completions (e919541)
    - Merge pull request #285 from kianmeng/fix-typos (63b129b)
    - Fix typos (d9d643e)

v2.30.1

Toggle v2.30.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
In this release, the size of directories is also taken into considera…

…tion, for more realistic sizes similar to what `du` does.

### Commit Statistics

 - 6 commits contributed to the release.
 - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Thanks Clippy

[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic. 

### Commit Details

 * **Uncategorized**
    - Prepare changelog for next release. (4ed0acf)
    - Merge pull request #284 from joehasson/feat/include-directory-inodes-in-size-calculations (b5b411b)
    - Include directory inode in directory size aggregation (a93b28e)
    - Merge pull request #283 from Byron/dependabot/cargo/crossbeam-channel-0.5.15 (ca6122f)
    - Thanks clippy (49bbd2c)
    - Bump crossbeam-channel from 0.5.13 to 0.5.15 (af3f3fe)

v2.30.0

Toggle v2.30.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### New Features

 - allow sorting by name in interactive mode

### Bug Fixes

 - formatting in src/interactive/app/handlers.rs
 - on MacOS use only 3 threads by default.
   Otherwise, it would get very slow and the difference is enormous.
   16 threads for example take 4.1s on a workload, whereas this only takes
   550ms with 3 threads.

### Style

 - simplify some statements for readability

### Commit Statistics

 - 9 commits contributed to the release over the course of 55 calendar days.
 - 84 days passed between releases.
 - 4 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 0 issues like '(#ID)' were seen in commit messages

### Thanks Clippy

[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic. 

### Commit Details

 * **Uncategorized**
    - Merge pull request #275 from joehasson/feat/interactive-mode-sort-by-name (364f732)
    - Thanks clippy (092a6c5)
    - Allow sorting by name in interactive mode (73224e6)
    - Merge pull request #274 from musicinmybrain/petgraph0.7 (14a276e)
    - Update petgraph to 0.7 (b83a2f6)
    - Merge pull request #271 from hamirmahal/style/simplify-some-statements-for-readability (3bc25bd)
    - Formatting in src/interactive/app/handlers.rs (0a4d09e)
    - Simplify some statements for readability (c1dc1b2)
    - On MacOS use only 3 threads by default. (8933be4)

v2.29.4

Toggle v2.29.4's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### Bug Fixes

 - enable "chrono" in `trash` crate
   This hopefully adds deletion dates to trashed files.

### Other

 - update actions/upload-artifact to v4
   The release workflow failed because actions/upload-artifact@v1 doesn't work anymore.

### Commit Statistics

 - 3 commits contributed to the release.
 - 2 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 1 unique issue was worked on: #268

### Commit Details

 * **#268**
    - Enable "chrono" in `trash` crate (4efb5d0)
 * **Uncategorized**
    - Merge pull request #267 from suzuki-shunsuke/chore-update-upload-artifact-v4 (904b3fc)
    - Update actions/upload-artifact to v4 (44d25a6)

v2.29.3

Toggle v2.29.3's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
### Chore

 - upgrade `gix-glob` and `trash`

### Other

 - add x-cmd install steps
   Hi, I've added instructions on how to install dua using x-cmd to the README file.
   - [x-cmd](https://www.x-cmd.com/) is a **toolbox for Posix Shell**, offering a lightweight package manager built using shell and awk.
   ```sh
   x env use dua
   ```
 - Auto submit new manifest to winget-pkgs

### Commit Statistics

 - 10 commits contributed to the release.
 - 3 commits were understood as [conventional](https://www.conventionalcommits.org).
 - 1 unique issue was worked on: #265

### Commit Details

 * **#265**
    - Upgrade `gix-glob` and `trash` (25a6ad7)
 * **Uncategorized**
    - Merge pull request #266 from Byron/upgrades (297be49)
    - Merge pull request #261 from Byron/dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7 (ee55bf5)
    - Merge pull request #260 from Byron/dependabot/cargo/gix-path-0.10.10 (4d859aa)
    - Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows (57a67a5)
    - Bump gix-path from 0.10.9 to 0.10.10 (4db9b9e)
    - Merge pull request #259 from lunrenyi/patch-1 (b3fdc92)
    - Add x-cmd install steps (c66e585)
    - Merge pull request #256 from Dragon1573/issues/255 (3309e3b)
    - Auto submit new manifest to winget-pkgs (fa203b1)