# Release history for stack-clean-old-work ## 0.4.4 (2022-01-04) - handle .stack-work/ consistently for --subdir and --recursive - remind user to use '--delete' for removal - purge-older: output is now sorted by ghc versions ## 0.4.3 (2021-11-23) - 'delete-work' now prints ".stack-work" would be deleted - prompts now print what would be deleted - '--recursive' now prints dirs with '/' appended ## 0.4.2 (2021-11-22) - add optional --os-system to fix #7 - list/size snapshots before compilers for --global ## 0.4.1 (2021-10-05) - --help now mentions --delete and a link to README ## 0.4 (2021-09-26) - dryrun is now default: use --delete for actual removal (suggested by @andreasabel #6) - new --subdirs and --recursive options - various output improvements - purge-older now also says "would be removed" when dryrun ## 0.3.1 (2021-08-01) - 'delete-work': use find -prune and ignore inaccessible files (@petrem, #4) ## 0.3 (2021-01-08) - drop subsubcommands to simplify UI - default to project if there is a .stack-work/ dir, otherwise global ~/.stack - rename commands: - remove-version -> remove - remove-earlier-minor -> keep-minor - remove-older -> purge-older - remove-work -> delete-work - fix handling of partially installed ghc compiler temp dirs (#2) - rename --dryrun to --dry-run (#1) - drop --dir option - delete-work: use --all to run from a non-project dir ## 0.2.2 (2002-12-31) - add 'project remove-work' to recursively remove .stack-work from projects ## 0.2.1 (2020-11-14) - remove-earlier-minor can now take a major version - major internal refactors with VersionSnapshots type - split code into modules ## 0.2 (2020-10-26) - add --dryrun to all remove commands - remove-earlier-minor subcommands to purge for previous ghc minor versions - allow major ghc X.Y versions (prompts for removal) - 'ghc list' is now sorted ## 0.1 (2020-09-22) - initial release with project and snapshots subcommands