Releases: Byron/dua-cli
v2.24.1
Bug Fixes
-
keep checking for existance of entries outside of the glob top-level.
The glob top-level is used to display all search results which means
that there can be a lot of them, which would unnecessarily slow down
the search operation.Previously it would never check for the existence of an entry in glob mode,
but now it will do so outside of the top-level.
Commit Statistics
- 1 commit contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Keep checking for existance of entries outside of the glob top-level. (8ae727e)
v2.24.0
This release adds long-awaited globbing support, just hit the / key to get started.
You want to find the biggest .git directories? Just type /.git/<enter> and you are done.
What about all target directories? Just write target/ to the glob search prompt and it's done.
What about all directories ending in *.rs/?
Oh, by accident you typed *.rs and now there is a list of a quarter million of entries? No problem,
it's near instant even with millions of files to search or hundreds of thousands to display.
Note that glob-mode can be exited only by pressing
ESCwhen the glob prompt has focus.
Special thanks go to the contributor who made this feature happen,
along with many other improvements. Now dua feels refreshed for 2024, and is much more versatile.
Happy holidays!
Commit Statistics
- 29 commits contributed to the release over the course of 12 calendar days.
- 12 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #197
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #197
- EntryData size test passes on 32-bit (9123ee7)
- Uncategorized
- Update dependencies (bc8c7a6)
- Upgrade owo-colors to v4.0 (141c56c)
- Update changelog prior to release; bump version (cfa8faa)
- Merge branch 'glob-review' (1c4d6a7)
- Use
gix-globfor matching; support for matching dirs only. (2e1858c) - Remove treeview abstraction in favor of something simpler (3804a1f)
- Refactor glob widget (b945a1e)
- More copy-on-write for entries (bc56664)
- Refactor shortening (8fae939)
- Thanks clippy (b431ec3)
- Shorten long paths so that they fit on the screen (7660d64)
- Show error message on empty search result (360a0d7)
- Glob most used keys (ff07f39)
- Fix formatting (0a344fa)
- Fix cursor rendering (aaa27e8)
- Small code review fixes (49aecb9)
- Use appropriate tree view when listing entries (7244bac)
- Replace EntryData in EntryDataBundle with individual properties (f3b5d00)
- Implements glob search mode (df6a02c)
- Merge pull request #201 from Byron/dependabot/cargo/zerocopy-0.7.31 (b23e134)
- Bump zerocopy from 0.7.30 to 0.7.31 (3efc857)
- Merge branch 'add_missing_slash_in_root_dir' (9a15867)
- Make clear why roots were special cased, and try to restore that behaviour. (94c008f)
- Adds the missing '/' prefix for root directories (101a377)
- Merge branch 'app_state_init_refactor' (f23a57f)
- Minior refactor (6f09882)
- Refactors AppState initialization during app startup (238bc5f)
- Merge pull request #198 from cinerea0/fix-32bit-test (1b838f9)
v2.23.0
New Features
-
display the total count of entries-to-be-deleted in the mark pane.
This allows to better estimate how much work will be needed to perform
the deletion.For example, when marking 3 items for deletion, previously one would see
3 items marked, but now one will see all items and sub-items, like
120kitems marked`, which reflects the work that will be done much more
precisely. -
Add total size to header bar and change to aggregate, human-readable item count.
This changes the display from(2034 items)to
(2k items, 213 MB), providing an overview of the total amount
of storage used along with the total amount of files on a particular
hiearchy level.
Bug Fixes
- single files will not cause IO error
Runningdua <filename>will once again provide size information
about that filename.
Commit Statistics
- 16 commits contributed to the release over the course of 1 calendar day.
- 2 days passed between releases.
- 3 commits were understood as conventional.
- 1 unique issue was worked on: #194
Commit Details
view details
- #194
- Single files will not cause IO error (192460e)
- Uncategorized
- Merge branch 'main_windows_render_refactor' (2da2e2e)
- Refactor (49772d1)
- Display the total count of entries-to-be-deleted in the mark pane. (98d5b5a)
- Refactor (81eadf8)
- Calculates mark pane item count consistently with the rest of the app (2c69ea1)
- Refactors MainWindow render to make it more readable (8740d4b)
- Merge branch 'upgrades' (a9dd549)
- Upgrade to latest crossterm; switch to
ratatuifromtui(af2aa61) - Update all dependencies (852ee28)
- Merge branch 'total_item_count' (ba2efe4)
- Add total size to header bar and change to aggregate, human-readable item count. (3241022)
- Merge branch 'make_ready_pre_pr_checks' (606d60f)
- Adjust names of
make fmtandmake ready;fmtnow only checks (9135c18) - Adds new target that runs all the checks (to be used before creating a PR) (7fbc136)
- Displays total item count (7b7bad5)
v2.22.0
New Features
- Press
cto sort by count of entries in a directory.
That way it's easy to spot places that have a lot of (possibly small) files,
which otherwise would remain under the radar when sorting by size.
Commit Statistics
- 14 commits contributed to the release over the course of 3 calendar days.
- 3 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Press
cto sort by count of entries in a directory. (45ccb7c) - Assure sorting of entry-counts takes files into consideration. (8439ba7)
- Refactor (9fb3113)
- Adds keybinding for 'c' to toggle sorting by number of items (8df0b4c)
- Merge branch 'column_render' (bf4da4e)
- Run clippy locally just like on CI (645474c)
- Refactor (bbcd308)
- Fix visual changes (b8ad16b)
- Make clippy warnings fatal (1a46d8f)
- Refactors entries panel by moving code to separate functions (b5b6aba)
- Put release-build optimization back to level 3; remove windows GNU build. (917339f)
- Change optimization level back to 0 for hopefully more stable release builds. (2dced34)
- Assure package-size check isn't fatal anymore (3e509db)
- Pacify the package size checkf or a while. (09fd59f)
- Press
v2.21.0
New Features
-
With a single path provided as root, pretend it's the current working dir
This makes it seem like the user started the directory walk directly in the given directory,
which is more intuitive than the previous approach only showed the given directory as
top-level directory.Note that this change only affects invocations like
dua <dir>ordua i <dir>. -
press
mto sort by modification date, ascending and descending.
Bug Fixes
- slightly faster (0.5ms) startup times of the binary on MacOS and maybe Linux.
Commit Statistics
- 13 commits contributed to the release over the course of 11 calendar days.
- 14 days passed between releases.
- 3 commits were understood as conventional.
- 5 unique issues were worked on: #110, #141, #179, #185, #186
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #110
- #141
- Press
mto sort by modification date, ascending and descending. (dd523e3)
- Press
- #179
- Press
mto sort by modification date, ascending and descending. (dd523e3)
- Press
- #185
- Slightly faster (0.5ms) startup times of the binary on MacOS and maybe Linux. (72fd6d1)
- #186
- Assure
device_idis taken from the final CWD (74e6d42)
- Assure
- Uncategorized
- Manually set the desired version as
cargo smart-releasefails to see that 2.20.3 is available (f5bd870) - Prepare changelog (6ff009a)
- Thanks clippy (0c4d31b)
- Skip through single root directory (e9fb2fd)
- Increase optimization level (3d270bd)
- Fix tests on Windows (1b7457e)
- Hide mtime column by default, unless enabled (0f8377a)
- Adds keybinding 'm' to toggle sorting by modified time (2bd06be)
- Add test to assure memory consumption of EntryData doesn't change unexpectedly. (adebd00)
- Manually set the desired version as
v2.20.3
Bug Fixes
- mark-pane now doesn't double-count sizes anymore.
Commit Statistics
- 2 commits contributed to the release.
- 1 day passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
v2.20.2
Bug Fixes
- alignment when in interactive mode and -f binary
Commit Statistics
- 8 commits contributed to the release over the course of 32 calendar days.
- 198 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #177
Commit Details
view details
- #177
- Alignment when in interactive mode and -f binary (49c3e3d)
- Uncategorized
- Update dependencies (12fa54a)
- Upgrade journey-test expectations (doesn't run on CI for some reason) (5498040)
- Upgrade
itertools(0c8b6f2) - Upgrade
open(192420e) - Fixes alignment when in interactive mode and -f binary (b3bb851)
- Make clear which windows toolchain is used on CI (8c02612)
- Update all dependencies (1bbee14)
v2.20.1
### Bug Fixes
- release definition to use a more recent ubuntu, to get linux binaries.
Otherwise there are no linux runners who can satisfy the request, and they hang forever,
instead of saying something useful.
### Commit Statistics
- 1 commit contributed to the release.
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: #160
### Commit Details
* **#160**
- Release definition to use a more recent ubuntu, to get linux binaries. (3e8509d)
v2.20.0
New Features
- TUI now shows performance metrics while scanning and after.
This is in preparation for themoonwalkupgrade. - improve CLI help provided with the
--formatflag.
It's now possible to see what possible values are without reading a swath
of text. Now the default is shown as well which is more important now that
it changes depending on the platform. - use metric byte format only on MacOS.
That way, on linux the binary format is used by default which is more common
on that platform.
Bug Fixes
- Improve documentation for
Marked Itemspane to make clearer how to delete items.
Commit Statistics
- 13 commits contributed to the release over the course of 71 calendar days.
- 71 days passed between releases.
- 4 commits were understood as conventional.
- 3 unique issues were worked on: #157, #33, #85
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #157
- Share
cargoinvocation to help install on more platforms (7ef48ad)
- Share
- #33
- Improve documentation for
Marked Itemspane to make clearer how to delete items. (b61ec97)
- Improve documentation for
- #85
- Use metric byte format only on MacOS. (22f54dd)
- Uncategorized
- TUI now shows performance metrics while scanning and after. (13bfe45)
- Thanks clippy (565581f)
- Simplify GUI refreshes by using a throttle (c921dc7)
- Generalize the throttle implementation to allow usagein UI (e03c560)
- Added additional clarification for deleting help files. (fcc8be9)
- Dependency update (032747d)
- Improve CLI help provided with the
--formatflag. (d0e85fe) - Refactor (b474b81)
- Use binary format by default (except on macOS) (3ccf204)
- Merge pull request #147 from nyurik/patch-1 (658c676)
v2.19.2
Bug Fixes
-
-xis applied to traversal as well.
Previouslyduawould cross filesystems for traversal and simply not
yield them, which somewhat defeated the purpose.Now it will avoid traversing into filesystem entries that are on a different
filesystem, which should improve its performance visibly whenever multiple
filesystems are involved.
Other
- don't recurse on cross-device filesystems
Like it says in the title. Right now, if you pass-x, dua doesn't
count files on other devices, but it still enumerates them. However, a
good reason to use-xis if you have network mounts that are slow, so
this fixes that.
Commit Statistics
- 3 commits contributed to the release.
- 17 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages