Skip to content

Releases: CorpusPHP/HttpMessageUtils

Adds psr/http-message support

02 Sep 07:14
e18ffdb
Compare
Choose a tag to compare

What's Changed

Dependency Update

  • Update php-mock/php-mock-phpunit requirement from ^2.6 to ^2.7 by @dependabot in #19

Full Changelog: v0.4.1...v0.5.0

v0.4.1

29 Dec 02:54
10a7d61
Compare
Choose a tag to compare

What's Changed

  • ResponseSender - Replace default headers by @donatj in #18

Fixes a bug where ResponseSender could not overwrite default headers set by PHP/Apache/etc.


  • Update friendsofphp/php-cs-fixer requirement from ^3.0 to ^3.1 by @dependabot in #7
  • Update friendsofphp/php-cs-fixer requirement from ^3.1 to ^3.3 by @dependabot in #10
  • Update corpus/coding-standard requirement from ^0.4.0 to ^0.6.0 by @dependabot in #14
  • Update guzzlehttp/psr7 requirement from ^1.8 to ^1.9 by @dependabot in #13
  • Update squizlabs/php_codesniffer requirement from ^3.6 to ^3.7 by @dependabot in #12
  • Bump actions/checkout from 2 to 3 by @dependabot in #16

Full Changelog: v0.4.0...v0.4.1

Adds AuthorizationHeaderParser

20 Jul 15:25
e058fa1
Compare
Choose a tag to compare

Adds

  • AuthorizationHeaderParser

The new AuthorizationHeaderParser parses an RFC conforming Authorization header into type and credentials.

Adds Port Detection

19 Apr 20:43
0931d80
Compare
Choose a tag to compare

Adds

  • ProxyAwareSchemer::withDetectedPort

Updates

Adds forwarded port detection to

  • ProxyAwareSchemer::withDetectedScheme
  • ProxyAwareSchemer::withUriWithDetectedScheme

⚠️ Warning - Minor Compatibility Break

ProxyAwareSchemer constructor argument order changed. This is leaning on the semantic versioning allowing 0.x to have breaking changes - and the fact that this library is only 22 days old. I'm not a fan of breaking changes but this became necessary to keep the library orderly.

I thoroughly apologize if this gives anyone grief.

Removes By-Ref $_SERVER Usage

29 Mar 18:04
98a3611
Compare
Choose a tag to compare

Using $_SERVER by reference is apparently problematic and breaks \phpinfo

Support PHP 7.2

26 Mar 23:34
c13b209
Compare
Choose a tag to compare

PHP version requirement lowered from 7.3 to 7.2

Initial Release

26 Mar 22:18
67c0aea
Compare
Choose a tag to compare

First HttpMessageUtils release!

Includes:

  • \Corpus\HttpMessageUtils\ProxyAwareSchemer
  • \Corpus\HttpMessageUtils\ResponseSender