Skip to content

Releases: wapmorgan/FileTypeDetector

1.1.2: New formats

13 May 11:49
Compare
Choose a tag to compare

Added categories and formats:

  • DISK_IMAGE category: ISO, NRG, VHD
  • SCENARIO category: REG
  • ICO in IMAGE
  • ARC, DAR in ARCHIVE
  • ACCDB, SQLITE in DATABASE
  • XAP in APPLICATION

1.1.1: Bugs fixed

21 Apr 18:28
Compare
Choose a tag to compare

Fixed two bugs:

  • Bug in getMimeType() leading to error in any case
  • Bug in detectByContent() when passing a stream. Now it will not be closed after type detection.

Added tests.

1.1.0: Changes in API

18 Apr 21:15
Compare
Choose a tag to compare
  • Both detectByFilename() and detectByContent() now return an array with 3 elements: type, format and mimetype.
  • getMimeType() now works with file names and streams, not with formats.

1.0.5: New formats

01 Apr 14:03
Compare
Choose a tag to compare
  • Added new formats (arj, midi, tsv, swf, webm)

1.0.4: Fixed bug

04 Mar 13:48
Compare
Choose a tag to compare

Fixed bug, presented in 1.0.3.

1.0.3: New formats and refactoring

04 Mar 13:30
Compare
Choose a tag to compare
  • Added new formats (csv, yaml, json, markdown, atom, iso)
  • Refactored code to make additional of new formats easier

1.0.2: Updates and new formats

03 Mar 21:22
Compare
Choose a tag to compare
Add mimetype info

1.0.1: Updated binary

09 Feb 16:07
Compare
Choose a tag to compare

Update format of binary output.

1.0.0

09 Jan 16:53
Compare
Choose a tag to compare

First version.