Skip to content

Releases: conneg/mimeparse-php

2.3.0

30 Mar 21:11
2.3.0
1530734

Choose a tag to compare

  • Set the minimum supported version of PHP to 7.4
  • Certify support for PHP up to version 8.4
  • Define type declarations for all parameters and return values

2.2.0

09 Feb 18:46

Choose a tag to compare

  • 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

25 Apr 17:28

Choose a tag to compare

2.1.1

20 Mar 20:36

Choose a tag to compare

  • Added CHANGELOG to project
  • Updated Travis CI build to include testing on PHP 7
  • Updated Travis CI build to lint and check for coding standards
  • Coding standards fixes

2.1.0

20 Mar 20:22

Choose a tag to compare

  • Make type/subtype matches only add fitness when they aren't "*"
  • Upgraded package to use PSR-4 autoloading
  • Various documentation updates

2.0.0

20 Mar 20:22

Choose a tag to compare

  • Rename fitnessAndQualityParsed to qualityAndFitnessParsed 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 and parseMimeType more clear
  • More accurately differentiate between media-ranges and mime-types
  • Various documentation updates

1.1.1

20 Mar 20:22

Choose a tag to compare

  • 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

20 Mar 20:23

Choose a tag to compare