Skip to content

Releases: sindresorhus/file-type

v20.0.0

15 Jan 21:42
Compare
Choose a tag to compare

Breaking

  • Drop MIME-type and extension enumeration in types (#693) 0ff11c6
  • Remove NodeFileTypeParser in favor of using FileTypeParser on all platforms (#707) ff8eed8

Improvements

  • Give API access to FileTypeParser#detectors (#704) 7e72bbc
  • Improve Nikon RAW NEF (Tiff) format detection (#670) cf6fc1e
  • Add support for Java archive (.jar) (#719) 8651809
  • Add support for MSOffice macro-enabled docs and templates (#720) 7fe5667
  • Add support for OpenDocument graphics and templates (#718) 4db407d
  • Add support for Microsoft Excel template with macros (.xltm) (#714) 1fe621a
  • Add support for Microsoft Word template (.dotx) (#713) 643ef78
  • Add support for Microsoft Excel template (.xltx) (#712) 0dab3e0
  • Add support for Microsoft PowerPoint template ( .potx) (#710) f978619
  • Add support for ZIP decompression using @tokenizer/inflate (#695) 399b0f1
  • Add support for .lz4 file format (#706) 74acf94
  • Add support for format .drc, Google's Draco 3D Data Compression (#702) e99257d

Fixes

  • Fix code sequence "File Type Box" detection (#705) 7d4dd8d

v19.6.0...v20.0.0

v19.6.0

13 Oct 20:07
Compare
Choose a tag to compare

v19.5.0...v19.6.0

v19.5.0

07 Sep 17:16
Compare
Choose a tag to compare

v19.4.1...v19.5.0

v19.4.1

14 Aug 12:12
Compare
Choose a tag to compare
  • Fix passing options to fileTypeStream in default entry point (#653) ea314a4

v19.4.0...v19.4.1

v19.4.0

02 Aug 14:40
Compare
Choose a tag to compare
  • Add support for web streams for fileTypeStream() (#649) 2000141
  • Fix options in combination with fileTypeStream() (#650) bd3b5a4

v19.3.0...v19.4.0

v19.3.0

22 Jul 11:55
Compare
Choose a tag to compare

v19.2.0...v19.3.0

v19.2.0

17 Jul 15:36
Compare
Choose a tag to compare

v19.1.1...v19.2.0

v19.1.1

10 Jul 13:20
Compare
Choose a tag to compare
  • Fix Node.js entry point export fileTypeFromTokenizer (#639) 20fdba7

v19.1.0...v19.1.1

v19.1.0

08 Jul 11:39
Compare
Choose a tag to compare
  • Replace Buffer usage with Uint8Array (#633) 00e051b
  • Add support for reading from a web stream (#635) b815b5e

v19.0.0...v19.1.0

Release notes

  • Please note that fileTypeFromBlob(blob) is streaming the Blob instead of buffering, which require at least Node.js β‰₯ 20.

v19.0.0

07 Jan 16:03
Compare
Choose a tag to compare

Breaking

  • Require Node.js 18 7f4b30b
  • Use mime type audio/wav instead of audio/vnd.wave for .wav files (#620) c7c923c

v18.7.0...v19.0.0