Skip to content

Latest commit

 

History

History
147 lines (87 loc) · 4.33 KB

CHANGELOG.md

File metadata and controls

147 lines (87 loc) · 4.33 KB

Changelog

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.

[Unreleased]

3.0.0 - 2023-02-22

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 - 2021-04-20

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 - 2020-10-03

Fixed

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

1.7.1 - 2020-04-24

Fixed

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

1.7.0 - 2020-04-20

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 - 2020-04-12

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 - 2020-03-29

Added

  • Display file number near filename

1.4.2 - 2020-03-14

Changed

  • Update dependencies

1.4.1 - 2019-10-04

Fixed

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

1.4.0 - 2019-09-16

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

1.3.0 - 2019-09-01

Added

  • Allow selecting files to delete

1.2.0 - 2019-01-09

Added

  • Add magnet URI and info hash support

Added

  • Delete empty directories
  • Limit filenames list output length to 20. Can be disabled by --verbose parameter
  • Add colors using chalk
  • Implement errors catching

1.0.0 - 2019-01-07

Added

  • Basic implementation for deleting files not listed in the torrent