Skip to content

Releases: Byron/trash-rs

v4.1.1

01 May 14:45
c14d904
Compare
Choose a tag to compare

This release updates the windows dependency (on Windows) to v0.56.

Commit Statistics

  • 3 commits contributed to the release.
  • 43 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update changelog prior to release. (47baa0e)
    • Merge pull request #106 from YizhePKU/bump-windows (02f1e6c)
    • Bump windows crate to 0.56.0 (c0e0f7a)

v4.1.0

19 Mar 09:24
35b549f
Compare
Choose a tag to compare

New Features

  • add os_limited::trash_folders() for use on many unixes.

Commit Statistics

  • 4 commits contributed to the release.
  • 7 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Add os_limited::trash_folders() for use on many unixes. (eb659cb)
    • Fix lint on Windows (daad5b7)
    • trash_folders() is invalid on Windows (32719fb)
    • List valid trash bin paths (3eba5c3)

v4.0.0

12 Mar 08:30
b6acac9
Compare
Choose a tag to compare

Bug Fixes (BREAKING)

  • Assure directory deletions on Windows don't put the entire contents into the trash.
    Instead, like on other platforms, on Windows it will now put the folder into the trash instead.

    Please note that this is not a breaking change in terms of API, but a potentially breaking change with older Windows versions. It's unknown if there are side-effects, as it's unknown why Windows had special behaviour previously.

Commit Statistics

  • 4 commits contributed to the release.
  • 28 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Assure directory deletions on Windows don't put the entire contents into the trash. (146ea03)
    • Fix lint by removing unused code (d03934f)
    • Attempt to fix second argument issue (1435c3d)
    • Make delete_all not recursive (03ae59d)

v3.3.1

12 Feb 08:36
b6e2d6c
Compare
Choose a tag to compare

Bug Fixes

  • Use AtomicI32 instead of I64 for compatibility with armel

Commit Statistics

  • 1 commit contributed to the release.
  • 2 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #99

Commit Details

view details
  • #99
    • Use AtomicI32 instead of I64 for compatibility with armel (98049f1)

v3.3.0

10 Feb 07:56
d0d8f26
Compare
Choose a tag to compare

New Features

  • improved error granularity
    Inform about operating-system specific errors more clearly, thus avoid degenerating error information.

Bug Fixes

  • Use AtomicI32 in tests for compatibility with armel platform

Commit Statistics

  • 5 commits contributed to the release over the course of 5 calendar days.
  • 25 days passed between releases.
  • 2 commits were understood as conventional.
  • 1 unique issue was worked on: #99

Commit Details

view details
  • #99
    • Use AtomicI32 in tests for compatibility with armel platform (920ff0c)
  • Uncategorized

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)