All Versions
11
Latest Version
Avg Release Cycle
229 days
Latest Release
332 days ago

Changelog History
Page 1

  • v3.0.0 Changes

    November 26, 2020

    ๐Ÿฑ ๐Ÿ‘‹ Hi! It's been a long time.

    This new major version is very similar to the 2.x version. In fact, the only main benefit is to support PHP 8, which required some changes that might be considered backward incompatible (see #106).

    Upgrade should be safe and it's recommended. This library has been very stable over the years so we didn't change a lot of things between the versions 2 and 3. Have fun!

  • v3.0.0-alpha3 Changes

    May 14, 2017
    • ๐Ÿ›  Fixed: do not compare + segments unless wildcards in either accept or priority (cf. #93 / #94)
  • v3.0.0-alpha2 Changes

    May 04, 2017
    • โž• Added: handle wildcard "+" segments (cf. #92)
  • v3.0.0-alpha1 Changes

    March 04, 2017

    ๐Ÿš€ This is the very first alpha release of the next major version of this library. This version works almost like the current major version (v2) but fixes a sort of regression for some users that could not be merged into the v2 (cf. version 2.2.1).

    ๐Ÿฑ ๐Ÿ’ฌ Everyone is encouraged to migrate to the v3.


    • โž• Added: Implement getOrderedElements() (cf. #90)
    • โž• Added: a third optional (boolean) parameter is now available in the getBest($header, array $priorities, $strict = false) method. This parameter allows to throw exceptions if the Accept header is incorrect (default behavior is to silently ignore this case, cf. release 2.0.3).
  • v2.3.1 Changes

    May 14, 2017

    ๐Ÿ›  Fixed: do not compare + segments unless wildcards in either accept or priority (cf. #93 / #94)

  • v2.3.0 Changes

    May 04, 2017
    • โž• Added: handle wildcard "+" segments (cf. #92)
  • v2.2.1 Changes

    October 14, 2016

    ๐Ÿš€ I revert the code introduced in version 2.2.0 about 2 hours after having released it because the code changed the public API, and therefore introduced a BC break. This version fixes the issue and I am going to publish a new major version for the code previously introduced in 2.2.0.

    Please use this version and not 2.2.0

  • v2.2.0 Changes

    October 14, 2016

    ๐Ÿš€ โš ๏ธ PLEASE DO NOT USE THIS VERSION, USE 2.2.1 INSTEAD. SORRY ๐Ÿ˜•

    โž• Added: a third optional (boolean) parameter is now available in the getBest($header, array $priorities, $strict = false) method. This parameter allows to throw exceptions if the Accept header is incorrect (default behavior is to silently ignore this case, cf. release 2.0.3).

    ๐Ÿš€ โš ๏ธ PLEASE DO NOT USE THIS VERSION, USE 2.2.1 INSTEAD. SORRY ๐Ÿ˜•

  • v2.1.0 Changes

    September 21, 2016
    • โž• Added: support for quality-of-source factor (cf. #77)
  • v2.0.3 Changes

    August 30, 2016
    • ๐Ÿ›  Fixed: silently skip invalid header values coming in from a client (cf. #81 and #84)