Releases: Byron/trash-rs
Releases · Byron/trash-rs
v3.2.1
Bug Fixes
- find best-possible trash dir, e.g. use
/run/foo/.trash
instead of/run/.trash
when deleting/run/foo/bar
.
Commit Statistics
- 9 commits contributed to the release over the course of 1 calendar day.
- 5 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Find best-possible trash dir, e.g. use
/run/foo/.trash
instead of/run/.trash
when deleting/run/foo/bar
. (bb868d6) - Refactor (8cb3f75)
- Cargo fmt (0b42fc0)
- Use unstable sort (18dadef)
- Fixing method os (8ba855e)
- Sort mount points first (b2e4cf2)
- Refactor (da8ce63)
- Fix clippy error (8f74b17)
- Fixing sometimes choosing incorrect mount point if substring of each other (1e9df03)
- Find best-possible trash dir, e.g. use
v3.2.0
New Features
- provide
os_limited::metadata()
.
Metadata is currently limited to the amount of things, like bytes or entries,
in the metadata item, but there is potential for adding more later.
Other
- update ci job to use cargo-cross
Commit Statistics
- 13 commits contributed to the release over the course of 82 calendar days.
- 83 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Provide
os_limited::metadata()
. (aa8e504) - Refactor (8dad3df)
- Address review comments (63639c3)
- Stub for get_mount_points on unsupported targets (fd89ea5)
- Windows implementation (1a1f75e)
- Add metadata function, implement for freedesktop (3bea3e2)
- Merge pull request #92 from TD-Sky/unknown-to-fs-error (916d769)
- Accepting generic type instead of
&Path
(17411be) - Be consistent with the style of the project (7ee2617)
- Keep error converter function and rename it
fs_error
(a08118c) - More precise file system error (c51aa78)
- Merge pull request #90 from fujiapple852/build-add-cargo-cross-ci (695af32)
- Update ci job to use cargo-cross (be43b09)
- Provide
v3.1.2
This release fixes compile errors on DragonFly, a fork of FreeBSD.
Commit Statistics
- 3 commits contributed to the release.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
v3.1.1
Bug Fixes
- compilation on FreeBSD should work now. #(86)
Commit Statistics
- 4 commits contributed to the release over the course of 9 calendar days.
- 9 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
v3.1.0
New Features
- compatibility with OpenBSD and NetBSD
- allow passing in items' ownership or reference
Other
- describe how to retry restoring when encountering
RestoreCollision
error
Commit Statistics
- 9 commits contributed to the release over the course of 65 calendar days.
- 88 days passed between releases.
- 3 commits were understood as conventional.
- 1 unique issue was worked on: #84
Commit Details
view details
- #84
- Compatibility with OpenBSD and NetBSD (24e0cb6)
- Uncategorized
- Bump minor version to indicate a feature change (ddb9917)
- Merge pull request #81 from TD-Sky/re-restore (c87a946)
- Test edition bump (b77bd6d)
- Bump version (75cc270)
- Update dependencies (7d1e2bb)
- One step closer (aee3dce)
- Allow passing in items' ownership or reference (0789b23)
- Describe how to retry restoring when encountering
RestoreCollision
error (554c273)
v3.0.6
Bug Fixes
- don't recurse into symlink when trashing a directory on windows.
Commit Statistics
- 3 commits contributed to the release.
- 5 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
v3.0.5
Bug Fixes
- On windows,
delete()
will now delete recursively like on the other platforms.
Note that the current implementation may consume a lot of memory as it will traverse the
entire directory structure once while storing each path for later trashing.
Commit Statistics
- 8 commits contributed to the release over the course of 1 calendar day.
- 4 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Upgrade serial-test crate (0354d36)
- On windows,
delete()
will now delete recursively like on the other platforms. (c1feece) - Refactor (41edcdf)
- Removed self as parameter only used in recurssion. (a7619c1)
- Reorganized code for cross-platform compatibility. (1c09e48)
- Use recursive deletion on Windows by default. (46e0697)
- Removed Windows only restriction for recursive deletion test. (d363dd8)
- Merge branch 'Byron:master' into bug/windows_nonempty_folder (0f4b2c8)
v3.0.4
Bug Fixes
- Don't use 'oldtime' feature of
chrono
by controlling exactly which features are enabled.
That particular feature has a rustsec advisory up
against it.
Commit Statistics
- 2 commits contributed to the release over the course of 1 calendar day.
- 19 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #75
Commit Details
v3.0.3
Bug Fixes
- disallow empty paths from being deleted.
Previously passing "" for deletion wuold delete the current working directory
as it would canonicalize any input path without validating the path is non-empty.
Commit Statistics
- 1 commit contributed to the release.
- 25 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #73
Commit Details
v3.0.2
Bug Fixes
- broken symlinks won't cause failure anymore on freedesktop platforms.
Commit Statistics
- 3 commits contributed to the release.
- 106 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages