Releases: wapmorgan/FileTypeDetector
Releases · wapmorgan/FileTypeDetector
1.1.2: New formats
1.1.1: Bugs fixed
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
- Both
detectByFilename()
anddetectByContent()
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
- Added new formats (
arj, midi, tsv, swf, webm
)
1.0.4: Fixed bug
Fixed bug, presented in 1.0.3.
1.0.3: New formats and refactoring
- 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
Add mimetype info
1.0.1: Updated binary
Update format of binary output.