Skip to content

Releases: nikolay-borzov/torrent-clean

3.0.0

22 Feb 18:40
Compare
Choose a tag to compare

Added

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

20 Apr 18:59
Compare
Choose a tag to compare

Changed

  • deleteFiles callback is always set. It does nothing when dryRun 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 to directoryPath

1.7.2

03 Oct 19:35
Compare
Choose a tag to compare

Fixed

  • Ignore filename path case when comparing files in torrent with files on the file system

1.7.1

24 Apr 17:50
Compare
Choose a tag to compare

Fixed

  • Fix infinite loop when a config file is at the root

1.7.0

20 Apr 19:18
Compare
Choose a tag to compare

Added

  • Make package scoped. Use @nikolay-borzov/torrent-clean instead of torrent-clean
  • Implement remembering last torrent ID for the specified directory. Setting rememberLastTorrent: true in config file makes torrent-clean save last torrent ID value to lastTorrent property inside config file. lastTorrent value is used when --torrent argument is not set.

Changed

  • Make --torrent and torrentId optional. Throw error when torrentId cannot be received from lastTorrent property
  • Return "Parsed TORRENT_NAME" CLI output

1.6.0

12 Apr 14:22
Compare
Choose a tag to compare

Added

  • Add Node API. Add dryRun options to postpone deleting files
  • Set tc as alias for torrent-clean
  • Add tests

Changed

  • Replace recursive-readdir with readdirp

1.5.0

28 Mar 20:14
Compare
Choose a tag to compare

Added

  • Display file number near filename

1.4.2

14 Mar 06:53
Compare
Choose a tag to compare

Changed

  • Update dependencies

1.4.1

04 Oct 19:41
Compare
Choose a tag to compare

Fixed

  • Fix config loader for the case when ignore isn't set

1.4.0

15 Sep 20:35
Compare
Choose a tag to compare

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