Releases: rushsteve1/trash-d
Version 20
This is a minor maintenance release focused on improving the tooling and build process.
I apologize to any package maintainers that are affected, and hope you agree with some of the changes!
Tooling changes
- Copyright info was updated
- The Rakefile has been replaced with a Justfile
- Ronn-ng has been replaced with scdoc
With these the build dependency on Ruby is now gone!
The package.rb file remains to build DEBs and RPMs with FPM. However I will no longer be providing these myself. I don't think users should be relying on these.
Code changes
- Functions were all annotated with @safe or
https://github.com/trusted as applicable - Version name information is again in dub.json
My hope is that by relying on D's safety features we can make stronger guarantees about the program, which helps long-term maintenance.
The version is now 20 and the version name is now "Annette Birkin" from Resident Evil 2.
Full Changelog: 19...20
Version 19
No real changes in this release, but Dub made a breaking change requiring SemVer for packages, so I have updated to pretend to comply with that. Trash-D's versioning has not changed.
Full Changelog: 18...19
Version 18
This release is a smaller one for end-users, but contains a lot of code style and build system changes that should hopefully help developers and packagers.
Keeping the same version name since I've been playing a lot of SFV lately.
What's Changed
- Don't stop deleting on an exception by @ninedotnine in #20
- Replace Pandoc with Ronn-ng and use Rake for build tasks. This increases our reliance on Ruby, but Pandoc is a HUGE dependency so it's nice to drop it.
- Enable DIP 1000 project-wide in preparation of that becoming the new default in D
- Convert project from Spaces to Tabs. Yes, I made a life decision.
- Use CTFE for all the version information, so now only the info in
dub.json
matters.
Full Changelog: 17...18
Version 17 'M. Bison'
A whole host of bugfixes and improvements, and our first external contributor @ninedotnine!
Code coverage remains around the 85% mark, which is where I hope to keep it.
This shaped up to be a nice series of improvements to trash-d
, and it really feels like the project is starting to reach maturity!
This release is named after M. Bison from the Street Fighter franchise.
What's Changed
- Handle symlinks better, including broken symlinks and not traversing into directories.
- Improve error message when trashing an irregular file (like a
fifo
) across devices. - Minor documentation improvements to the README and MANUAL.
- Stop execution on unrecognized flags, support arg terminator (
--
) by @ninedotnine in #10 - Prepend program name to prompts, help text by @ninedotnine in #17
- Reuse prompt function by @ninedotnine in #18
- Exit with success when using
-I
by @ninedotnine in #15 - Exit with success on
--help
or--version
by @ninedotnine in #16 - Don't stop deleting on a failure by @ninedotnine in #14
Full Changelog: 16...17
Version 16
This release has a breaking change
- Add the
-I
flag to prompt only when there are more than 3 things being deleted - Disable flag pass-through trash-d will now throw an error on an unknown flag
This release marks the point in rm
compatibility where I am now comfortable saying it's "good enough" and that it won't break workflows too bad. So I made the breaking change that unknown flags will no longer be ignored.
No release name change, because I like Mithrix 🙃
Version 15 'Mithrix'
Version 14
This release has no improvements to trash-d
itself, but to everything around it. The tool now has a full man
page, and we now offer both DEB and RPM packages for your convenience. These are just the same static binary packaged up with a bow.
Both the man page and packages are built from the GitHub action, same as the binary.
Version 13
This version fixes some bugs and improves the test cases to catch them, as well as added a new --orphans
flag which will list files in the trash bin that don't have matching .trashinfo
files and are therefore "orphaned". See #3 and #4 for more info.
This release does not have a new codename, because "orphans" fits Cliff pretty well.
Version 12 'Clifford Unger'
This release includes a number of minor improvements, as well as a workaround for issue #2
- Added support for a new environment variable
TRASH_D_DIR
which can be used to explicitly set the trash directory. This can be used in a number of ways, including as a workaround for issue #2. - Refactored code-base into multiple files with various small improvements
- Ran the D linter and fixed a number of smaller code issues. The linter is now part of the CI test suite.
- Removed unnecessary in-lining
--restore
now properly checks for write access
This release is named after Clifford Unger from Death Stranding.
Version 11
This is a bugfix release fixing an couple of issues...
- Options and flags now follow the correct precedence that minimizes accidental deletion and data loss
- Directory sizes are now calculated correctly
- Folders are removed from the
directorysizes
file when appropriate --rm
can now delete folders that are not empty when given-r