Releases: smurftyy/devklean
Releases · smurftyy/devklean
Release list
v1.1.0 — Compression, Analyze & Explain
Compressed trash, and a first look at devklean's intelligence layer: knowing not just what to delete, but why.
Added
--compressflag/config option: compresses artifacts into an archive, verifies it's
intact, then trashes the archive instead of the raw directory — meaningfully smaller
disk footprint for things likenode_modules. Default format is gzip (no new
required dependency); optional zstd viapip install devklean[zstd].devklean explain <path>: looks up a path against a signature registry of known
build/dependency artifacts and explains what generated it, how to regenerate it,
and the risk involved in removing it.devklean analyze: scans your workspace, reports reclaimable space per artifact,
and flags simple structural issues (e.g. conflicting lockfiles in the same project).
Fixed
- Hardlink-heavy directories (npm/pnpm-style installs) could fail
--compress
verification due to a file-count mismatch — fixed with hardlink-aware counting. - Non-
OSErrorfailures during compression could previously escape and abort an
entireclean --compressbatch instead of failing just the one item. - A configured default path wasn't being applied to
analyze/explain. - Clearer error message when an original directory can't be removed after its
compressed archive was already sent to trash.
Install
pipx install --upgrade devklean
Full Changelog: v1.0.2...v1.1.0
v1.0.2 — UX & Compatibility Patch
Patch release — improved terminal compatibility and internal cleanup.
Changed
- Console output now uses
click.echo()instead ofprint()for better Unicode and Windows terminal handling clickadded as a runtime dependency__main__.pyfixed to correctly callmainfromdevklean.cli.main—python -m devkleannow works correctly- Package
__init__.pyimports made lazy —send2trashno longer loads during unrelated imports - Windows guard test updated to run correctly in subprocesses with
PYTHONPATH=src
Install
pipx install --upgrade devkleanFull Changelog: v1.0.1...v1.0.2
v1.0.1
Patch release — two bug fixes.
Fixed
- Ctrl+C at any prompt now exits cleanly with
Aborted.and exit code 130 instead of dumping aKeyboardInterrupttraceback doctornow correctly flags records with unrecognizedstrategyvalues (e.g. legacy"recording","rec") as corrupt instead of reporting them as healthy
Install
pipx install --upgrade devklean
Full Changelog: v1.0.0...v1.0.1
v1.0.0
First stable release. The CLI API and behavior are now stable.
What's included
devklean scan— discover cleanable directories with size reporting; supports--jsondevklean clean— moves items to your OS trash (neverrm -rf), with confirmation and interactive selection (-i)devklean history— lists past cleanup operationsdevklean doctor— detects and removes corrupt metadatadevklean <path>with no subcommand defaults toscan- Safety layer blocks deletion of root, home, system dirs, and symlinks
- Large deletions (≥ 1 GiB) require typing
DELETE - TOML config with project + global precedence
- Supports Node.js, Next.js, Python, Rust, and more
Known limitations
- Interactive mode (
-i) is Linux/macOS only — depends oncurses, unavailable on Windows
Install
pipx install devklean
Full Changelog: v0.1.0...v1.0.0