Skip to content

Releases: CyberShadow/btdu

v0.7.2

05 Jan 21:18
de8f6d3

Choose a tag to compare

  • Compatibility improvements:
    • Bake in some terminals' definitions into the static binaries, allowing btdu to work even with no terminfo database on the host system
    • Improve locale initialization, improving behavior when the system default locale is broken
  • Deletion improvements:
    • Fix segmentation fault when deleting files
    • Update deletion logic with new internal representation, making simulated retroactive deletion precise
    • Discard samples and subvolumes from before deletion operations complete, preventing re-ingestion of stale samples with deleted paths
    • Fix cursor disappearing when deleting marks while a marked item is also selected

Full Changelog: v0.7.1...v0.7.2

v0.7.1

02 Jan 11:02
ebe3c2a

Choose a tag to compare

  • Fix static binaries failing to find terminfo database

Only prebuilt static binaries were affected. Source builds and distribution packages do not require updating.

v0.7.0

01 Jan 14:17
93fbcb7

Choose a tag to compare

  • New internal in-memory representation, improving performance by up to 35% and memory usage by up to 60%
  • Add new compact, lossless binary export format, reducing export size by ~×25 while fully preserving all data
  • Add --compare mode for comparing against a baseline export, to help understand disk usage changes over time
  • Add --auto-mount flag to automatically mount a non-top-level mount or block device in a temporary namespace
  • Add ⇧ ShiftP, ⇧ ShiftI keys to interactively edit path preference rules (--prefer / --ignore)
  • Add y key to copy the selected path to the clipboard
  • Add Tab ↹ key to toggle the info panels
  • Add human-readable output summarizing the disk usage, printed by default in --headless mode
  • Add sharing groups counter and Good-Turing coverage estimate to status bar
  • Add Chao1 estimate of undiscovered items in directories
  • Replace normal approximation with Wilson score interval for calculating object size confidence bounds
  • Add disk map visualization
  • Add --version
  • Add smart abbreviation algorithm for "Shares data with" paths
  • Ring the terminal bell when a stop condition is reached in interactive mode
  • Interactive export now suggests a default file name based on the filesystem ID (fsid)
  • Make --max-samples stop precisely at the requested limit
  • Make --max-samples=0 and --max-time=0 do what is expected (pause or stop before ingesting any samples)
  • Improve error message printed when given a non-top-level mount with structured guidance
  • Use toasts for transient messages
  • Scale info panel width on wide terminals
  • Remember the selection and scroll position when navigating away and back to a node
  • Clarify effects of deleting directories in deletion confirmation pop-up
  • Change * behavior to only toggle selection of visible items
  • Fix visual UI freeze while deleting
  • Switch to Nix for deterministic, reproducible static builds
  • Use musl for static builds on all platforms
  • Build more dependencies with LTO for improved file size

Full Changelog: v0.6.1...v0.7.0

btdu is now feature complete, as far as it was initially envisioned. This is the last major release before 1.0.

v0.6.1

02 Nov 18:27
ea5ba32

Choose a tag to compare

  • Add --prefer and --ignore options
  • Add Nix flake
  • Fix some size calculations in expert mode
  • Fix loading exports created with --physical
  • Fix "Unknown inode root" on I/O errors
  • Fix rendering wide characters
  • Fix CI builds
  • Improve documentation
  • Add test suite

Full Changelog: v0.6.0...v0.6.1

v0.6.0

01 Jan 14:12
a9eee49

Choose a tag to compare

  • New user interface
  • 32-bit ARM support
  • Marking
  • Confidence visualization in the file browser
  • Improved UI responsiveness
  • Various small improvements and bug fixes

Full Changelog: v0.5.1...v0.6.0

v0.5.1

30 Apr 20:47
48f1831

Choose a tag to compare

  • Delete subvolumes in whole (when deleting hierarchies containing subvolumes)
    • Fix deleting read-only subvolumes
  • Don't descend into other filesystems when deleting
  • Fix division by zero with --min-resolution
  • Fix offset calculations in physical mode
  • Fix compilation for 32-bit systems
  • Fix compilation on non-GNU C runtimes
  • Fix flickering pop-ups
  • Improve documentation

Full Changelog: v0.5.0...v0.5.1

v0.5.0

02 Jan 21:26
629e991

Choose a tag to compare

  • Add --physical mode (sample physical/device space)
  • In --expert mode, show how much deletion will free up
  • Rename <SLACK> to <UNUSED> to match official btrfs terminology
  • Show any actual slack as <SLACK> in --physical mode
  • Minor fixes and improvements

Full Changelog: v0.4.1...v0.5.0

v0.4.1

03 Jul 16:22
c5dc72d

Choose a tag to compare

  • Move <ERROR>/logical ino/ENOENT results to <SLACK>
  • Allow choosing size metric in --expert mode
  • Allow sorting by and display of average query duration
  • Don't suggest mounting filesystems under /tmp
  • Don't freeze when data is collected faster than it is ingested (#12)
  • Add and improve explanations for various error nodes
  • Improve display of file/directory sizes

Full Changelog: v0.4.0...v0.4.1

v0.4.0

01 Jun 19:52
116d190

Choose a tag to compare

  • Add deletion (press d, then ShiftY to confirm)
  • Add --import, --export, headless execution, and stop conditions
  • Add --du to output du-compatible output
  • Improve explanation of ENOENT
  • Improve error message when given non-top-level subvolume paths
  • Try to find a TTY even when standard input/output are redirected

Full Changelog: v0.3.1...v0.4.0

v0.3.1

27 Jan 23:17
2f763f4

Choose a tag to compare

Full Changelog: v0.3.0...v0.3.1