Releases: conneg/mimeparse-php
Releases · conneg/mimeparse-php
2.2.0
- Remove namespaced folder in accordance with PSR-4
This does not change functionality or affect code using this library in any way. - Update test runner on Travis CI to use latest testing tools
- Add rules for Scrutinizer
- Update documentation and add contributing documentation
- Add .gitattributes file to restrict exported files
2.1.2
- Changed repository ownership to https://github.com/conneg and updated Packagist and URLs accordingly
2.1.1
2.1.0
2.0.0
- Rename
fitnessAndQualityParsed
toqualityAndFitnessParsed
to represent order of returned array - Simplify process of rejecting unacceptable types
- Use order of $supported array instead of $tieBreaker to break ties
- Clarify exception message
- Make difference between
parseMediaRange
andparseMimeType
more clear - More accurately differentiate between media-ranges and mime-types
- Various documentation updates
1.1.1
- Change visibility for for
parseMimeType
to public - Parse subtype for data format
- Improved
parseMediaType()
logic for setting quality to one (1
) - Adding tie-breaker functionality
- Fixed bug when quality for a type was set to zero
- Fixed wrong ordering of candidates
- Improved test suite
- Support running tests on Travis CI
- Various documentation updates
1.0.0
- Initial release of port of mimeparse.php script