Skip to content

Releases: sindresorhus/trash

v5.2.0

01 Apr 09:03
Compare
Choose a tag to compare

v5.1.0...v5.2.0

v5.1.0

31 Mar 19:19
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#82) bdfbd07

v5.0.0...v5.1.0

v5.0.0

08 Mar 08:01
Compare
Choose a tag to compare

Breaking:

  • Drop support for Iterable as input, use string | string[] aa29749
  • Require Node.js 8 6cd7609

Enhancements:

v4.3.0...v5.0.0

3.0.0

22 Oct 17:07
Compare
Choose a tag to compare

The command-line tool was extracted into a separate module called trash-cli. (bb13704)
(Note that it now requires Node.js 4. Make sure to upgrade your Node.js install)

Run this to migrate to the new CLI tool package:

$ npm uninstall --global trash && npm install --global trash-cli

You still use it as $ trash.

2.0.0 - monkey-bin

03 Aug 20:43
Compare
Choose a tag to compare

We decided to change trash to not error on missing files. It was only in the way and made it harder to use trash in scripts. The --force flag was also removed as it's pretty moot now. #29 #26

v1.4.1...v2.0.0

1.4.0 much-mute

26 Jan 08:22
Compare
Choose a tag to compare

Removed the sound effect when trashing on OS X and made the trashing much faster by rewriting it as a native binary. Fixes #18.

v1.3.1...v1.4.0

1.2.0 - dull-junk

14 Oct 15:50
Compare
Choose a tag to compare

Got rid of the Python requirement for Linux as @kevva implemented xdg-trash which is now used.