All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.0.0 - 2023-02-22
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)
- Update dependencies
- Update GitHub Actions' workflows
- Exception when
--version
(-v
) argument is set
- Require node version 18 and higher
2.0.0 - 2021-04-20
deleteFiles
callback is always set. It does nothing whendryRun
is falsy- When creating config file set
.yaml
extension
- Switch to ECMAScript modules
- Require node version 12 and higher
- Rename main function to
cleanTorrentDirectory
- Rename
dirPath
parameter todirectoryPath
1.7.2 - 2020-10-03
- Ignore filename path case when comparing files in torrent with files on the file system
1.7.1 - 2020-04-24
- Fix infinite loop when a config file is at the root
1.7.0 - 2020-04-20
- 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.
- Make
--torrent
andtorrentId
optional. Throw error whentorrentId
cannot be received fromlastTorrent
property - Return "Parsed TORRENT_NAME" CLI output
1.6.0 - 2020-04-12
- Add Node API. Add
dryRun
options to postpone deleting files - Set
tc
as alias fortorrent-clean
- Add tests
- Replace
recursive-readdir
withreaddirp
1.5.0 - 2020-03-29
- Display file number near filename
1.4.2 - 2020-03-14
- Update dependencies
1.4.1 - 2019-10-04
- Fix config loader for the case when
ignore
isn't set
1.4.0 - 2019-09-16
- Allow specifying ignore globs via config files
- Load and merge config files up to root directory using
cosmiconfig
- Add
--version
(-v
) CLI argument
- Limit extra files display count to 20. You can scroll down using arrows
- Change file select indicator to
■
1.3.0 - 2019-09-01
- Allow selecting files to delete
1.2.0 - 2019-01-09
- Add magnet URI and info hash support
1.1.0 -
- Delete empty directories
- Limit filenames list output length to 20. Can be disabled by
--verbose
parameter - Add colors using
chalk
- Implement errors catching
- Basic implementation for deleting files not listed in the torrent