Skip to content

Releases: Byron/trash-rs

v3.2.1

15 Jan 18:45
d7abb5b
Compare
Choose a tag to compare

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)

v3.2.0

10 Jan 06:27
03aa7ac
Compare
Choose a tag to compare

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)

v3.1.2

18 Oct 15:02
609f6b3
Compare
Choose a tag to compare

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

view details
  • Uncategorized
    • Prepare changelog (c81d4dd)
    • Merge pull request #89 from jbeich/dragonfly (ad26100)
    • Add DragonFly support via FreeBSD codepath (ed1984b)

v3.1.1

18 Oct 05:48
aa6fd20
Compare
Choose a tag to compare

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

view details
  • Uncategorized
    • Compilation on FreeBSD should work now. #(86) (1a5bc2d)
    • Update freedesktop.rs (aa7b7fd)
    • Restore statfs for FreeBSD & OpenBSD (1562113)
    • Update version in README so it matches the latest published one (50e8030)

v3.1.0

08 Oct 07:05
be17cd2
Compare
Choose a tag to compare

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

12 Jul 06:38
450edc1
Compare
Choose a tag to compare

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

view details
  • Uncategorized
    • Merge branch 'fix-symlink-traversal' (43d44cb)
    • Don't recurse into symlink when trashing a directory on windows. (3f5e842)
    • Inform about reason for yanking v3.0.5 (112e99e)

v3.0.5

06 Jul 06:48
4655a07
Compare
Choose a tag to compare

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

01 Jul 06:59
a2343c2
Compare
Choose a tag to compare

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

view details
  • #75
    • Don't use 'oldtime' feature of chrono by controlling exactly which features are enabled. (55b0d5c)
  • Uncategorized
    • Don't use oldtime feature of chrono (fad81a4)

v3.0.3

11 Jun 13:27
841bc13
Compare
Choose a tag to compare

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

view details
  • #73
    • Disallow empty paths from being deleted. (aa8cd7b)

v3.0.2

17 May 08:02
e20fe6a
Compare
Choose a tag to compare

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

Commit Details

view details
  • Uncategorized
    • Broken symlinks won't cause failure anymore on freedesktop platforms. (75daea6)
    • Make virtually_exists private (454a77e)
    • Operate broken symbolic links is safe now (9198013)