0.207 2023-11-21 Released-By: PERLANCAR; Urgency: high
- [bugfix] Fix bug since 0.204+, recover() should by default accept
original path, not filename.
0.206 2023-11-21 Released-By: PERLANCAR; Urgency: medium
- Update module name: File::MoreUtil -> File::Util::Test.
0.205 2023-08-07 Released-By: PERLANCAR; Urgency: medium
- Add constructor option: home_only (related RT issue: RT#149306).
0.204 2023-07-31 Released-By: PERLANCAR; Urgency: medium
- Allow erase() and recover() to accept multiple files via
{filename,path}_{wildcard,re} options.
0.203 2023-07-29 Released-By: PERLANCAR; Urgency: medium
- Use globstar option when matching with wildcard.
0.202 2023-07-29 Released-By: PERLANCAR; Urgency: medium
- list_contents(): rename (undocumented) filtering option
search_path to path, add other filtering options path_re,
path_wildcard, filename, filename_re, filename_wildcard.
- When parsing .trashinfo files, make DeletionDate parameter optional.
- [doc] Add description of trash directory structure.
0.201 2023-07-28 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [doc] Mention App::TrashUtils, App::trash::u, trash-cli (Python
CLIs).
0.200 2022-05-06 Released-By: PERLANCAR; Urgency: medium
- [ux] Add more logging statement and a more useful error message,
observe PERL_FILE_TRASH_FREEDESKTOP_DEBUG.
- [internal] Replace List::MoreUtils with List::Util.
0.19 2017-07-10 Released-By: PERLANCAR
- No functional changes.
- [test] Replace File::Slurp::Tiny with File::Slurper.
- Replace Log::Any with Log::ger.
0.18 2015-08-17 Released-By: PERLANCAR
- No functional changes.
- Switch from Log::Any to Log::Any::IfLOG.
0.17 2014-12-05 Released-By: PERLANCAR
- No functional changes.
- Use new name of renamed module SHARYANTO::File::Util ->
File::MoreUtil.
0.16 2014-11-18 Released-By: PERLANCAR
- No functional changes.
- Use abs_path() first when comparing path, to avoid test failures
[CT].
0.15 2014-11-13 Released-By: PERLANCAR
- Instead of dying, warn+skip trashdir which does not have info/
[RT#100281].
0.14 2014-05-17 Released-By: SHARYANTO
- No functional changes.
- Replace File::Slurp with File::Slurp::Tiny.
0.13 2014-05-01 Released-By: SHARYANTO
- No functional changes.
- Remove debugging print (steven--).
0.12 2014-05-01 Released-By: SHARYANTO
- Also try file's mountpoint + /tmp for trash dir (providing it's still
under the same mountpoint as the file). This avoids failure when
trying to delete files in /tmp in typical situation (previously the
module tried to create /.Trash-1000).
0.11 2012-09-06 Released-By: SHARYANTO
- No functional changes.
[OPTIMIZATION]
- Delay loading Sys::Filesystem::MountPoint.
0.10 2012-09-05 Released-By: SHARYANTO
[ENHANCEMENTS]
- Handle incomplete trash directory (e.g. missing info/, happens from
time to time to trash in /tmp, causing test failures).
0.09 2012-08-30 Released-By: SHARYANTO
[ENHANCEMENTS]
- Add Synopsis and a couple of logging messages.
[BUG FIXES]
- Fix symlink handling when determining mountpoint.
0.08 2012-08-29 Released-By: SHARYANTO
[ENHANCEMENTS]
- Add option 'suffix' to trash() and recover(). Mark 'mtime' deprecated
(or, to be exact, not recommended since now).
0.07 2012-08-24 Released-By: SHARYANTO
[ENHANCEMENTS]
- Replace Cwd::abs_path() with SHARYANTO::File::Util::l_abs_path() which
allows us to trash symlink (instead of trashing the symlink's target).
0.06 2012-08-24 Released-By: SHARYANTO
[ENHANCEMENTS]
- recover(): Add option 'mtime'.
[BUG FIXES]
- Path was not recorded in absolute in .trashinfo
0.05 2012-07-27 Released-By: SHARYANTO
[ENHANCEMENTS]
- recover(): Add option 'on_target_exists'.
0.04 2012-07-27 Released-By: SHARYANTO
[ENHANCEMENTS]
- recover(): Check restore target first, die if restore target exists.
- recover(): Add option 'on_not_found'.
- trash(): Add option 'on_not_found'.
0.03 2012-07-26 Released-By: SHARYANTO
[ENHANCEMENTS]
- By default sort list_contents() result by deletion_date Released-By: older first
and file name.
0.02 2012-07-26 Released-By: SHARYANTO
[ENHANCEMENTS]
- trash() returns location of file in trash.
0.01 2012-07-12 Released-By: SHARYANTO
- First version.