Releases: nikolay-borzov/torrent-clean
Releases · nikolay-borzov/torrent-clean
3.0.0
Added
CHANGELOG.md
according to Keep a Changelog- Russian
README
. Follow https://github.com/jonatasemidio/multilanguage-readme-pattern --no-warnings
to thebin
script to suppress "ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time" warning (caused bywebtorrent
code)
Changed
- Update dependencies
- Update GitHub Actions' workflows
Fixed
- Exception when
--version
(-v
) argument is set
BREAKING CHANGES
- Require node version 18 and higher
2.0.0
Changed
deleteFiles
callback is always set. It does nothing whendryRun
is falsy- When creating config file set
.yaml
extension
BREAKING CHANGES
- Switch to ECMAScript modules
- Require node version 12 and higher
- Rename main function to
cleanTorrentDirectory
- Rename
dirPath
parameter todirectoryPath
1.7.2
Fixed
- Ignore filename path case when comparing files in torrent with files on the file system
1.7.1
Fixed
- Fix infinite loop when a config file is at the root
1.7.0
Added
- Make package scoped. Use
@nikolay-borzov/torrent-clean
instead oftorrent-clean
- Implement remembering last torrent ID for the specified directory. Setting
rememberLastTorrent: true
in config file makestorrent-clean
save last torrent ID value tolastTorrent
property inside config file.lastTorrent
value is used when--torrent
argument is not set.
Changed
- Make
--torrent
andtorrentId
optional. Throw error whentorrentId
cannot be received fromlastTorrent
property - Return "Parsed TORRENT_NAME" CLI output
1.6.0
Added
- Add Node API. Add
dryRun
options to postpone deleting files - Set
tc
as alias fortorrent-clean
- Add tests
Changed
- Replace
recursive-readdir
withreaddirp
1.5.0
Added
- Display file number near filename
1.4.2
Changed
- Update dependencies
1.4.1
Fixed
- Fix config loader for the case when
ignore
isn't set
1.4.0
Added
- Allow specifying ignore globs via config files
- Load and merge config files up to root directory using
cosmiconfig
- Add
--version
(-v
) CLI argument
Changed
- Limit extra files display count to 20. You can scroll down using arrows
- Change file select indicator to
■