Skip to content

Releases: willdurand/Negotiation

3.1.0 (2022-01-30)

30 Jan 20:16
68e9ea0
Compare
Choose a tag to compare

This new release should be fully compatible with PHP 8.1.

What's Changed

  • Added: add missed fallback to generic language (in LanguageNegotiator) by @rtm-ctrlz in #113
  • Fixed: invalid PHPDocs return comment by @michalbundyra in #112
  • Fixed: incompatibilities with some null values for PHP 8.1 by @W0rma in #114
  • Fixed: switch from travis to github actions by @willdurand in #116

New Contributors

Full Changelog:

See 3.0.0...3.1.0

3.0.0 (2020-11-26)

26 Nov 21:45
04e14f3
Compare
Choose a tag to compare

👋 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!

3.0.0-alpha3 (2017-05-14)

14 May 17:26
69e1885
Compare
Choose a tag to compare
Pre-release
  • Fixed: do not compare + segments unless wildcards in either accept or priority (cf. #93 / #94)

2.3.1 (2017-05-14)

14 May 17:23
Compare
Choose a tag to compare

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

3.0.0-alpha2 (2017-05-04)

04 May 12:25
9556d08
Compare
Choose a tag to compare
Pre-release
  • Added: handle wildcard "+" segments (cf. #92)

2.3.0 (2017-05-04)

04 May 12:18
2ba90aa
Compare
Choose a tag to compare
  • Added: handle wildcard "+" segments (cf. #92)

3.0.0-alpha1 (2017-03-04)

04 Mar 16:37
2c6b6bc
Compare
Choose a tag to compare
Pre-release

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).

2.2.1 (2016-10-14)

14 Oct 09:21
1f210db
Compare
Choose a tag to compare

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

2.2.0 (2016-10-14)

14 Oct 07:31
348c740
Compare
Choose a tag to compare

⚠️ 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 😕

2.1.0 (2016-09-21)

21 Sep 11:28
bc81429
Compare
Choose a tag to compare
  • Added: support for quality-of-source factor (cf. #77)