The headline or this release is ~30% better traversal performance on macOS due to the usage of bulk-metadata APIs on supported filesytems.
Bug Fixes
-
sanitize control characters in marked path output
dua-cli's interactive TUI is built on ratatui, which protects the
paths it renders on screen. But marking a file for deletion and then
quitting prints that file's path directly to the terminal after the
TUI has already released terminal control, bypassing ratatui's
protective rendering entirely. A scanned file's name has no character
restrictions, so a crafted file name can inject terminal escape
sequences into the printed path.Add sanitize_for_display (src/main.rs), replacing control characters
with the Unicode replacement character, applied at the sole print site
for marked paths.
Commit Statistics
- 8 commits contributed to the release over the course of 9 calendar days.
- 10 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Merge pull request #367 from tamird/macos-native-traversal (e68868c)
- Review (872b6be)
- Avoid per-entry macOS metadata queries (7d115c0)
- Merge pull request #366 from carfeii/fix/sanitize-marked-path-output (f515d36)
- Review (8521d0d)
- Sanitize control characters in marked path output (a2d375d)
- Merge pull request #362 from Byron/dua-lib (b6e7caf)
- Extract filesystem walker into dua-lib (3b1c8cf)