Skip to content

Releases: CorpusPHP/HttpMessageUtils

v0.6.0 - Docs + Testing

26 Jan 22:42
62fe74d

Choose a tag to compare

What's Changed

Largely just docs and testing. No significant changes.

  • Bump actions/checkout from 3 to 4 by @dependabot[bot] in #26
  • Update friendsofphp/php-cs-fixer requirement from ^3.3 to ^3.4 by @dependabot[bot] in #24
  • Add PHPStan to CI by @donatj in #27
  • Update phpunit/phpunit requirement from ^6.5 || ^9.3 to ^9.6.13 by @dependabot[bot] in #28
  • Update donatj/mddoc requirement from ^0.7.0 to ^0.8.0 by @dependabot[bot] in #25
  • Update php-mock/php-mock-phpunit requirement from ^2.7 to ^2.8 by @dependabot[bot] in #29
  • Update PHP to 8.3 - ci.yml by @donatj in #30
  • Update donatj/mddoc requirement from ^0.8.0 to ^0.10.0 by @dependabot[bot] in #33
  • Update phpunit/phpunit requirement from ^9.6.13 to ^9.6.15 by @dependabot[bot] in #31
  • Update php-mock/php-mock-phpunit requirement from ^2.8 to ^2.9 by @dependabot[bot] in #32
  • Update squizlabs/php_codesniffer requirement from ^3.7 to ^3.8 by @dependabot[bot] in #34
  • Update donatj/mddoc requirement from ^0.10.0 to ^0.10.1 by @dependabot[bot] in #35
  • Update phpunit/phpunit requirement from ^9.6.15 to ^9.6.16 by @dependabot[bot] in #36
  • Update phpunit/phpunit requirement from ^9.6.16 to ^9.6.18 by @dependabot[bot] in #40
  • Update squizlabs/php_codesniffer requirement from ^3.8 to ^3.9 by @dependabot[bot] in #37
  • Update php-mock/php-mock-phpunit requirement from ^2.9 to ^2.10 by @dependabot[bot] in #39
  • Update phpunit/phpunit requirement from ^9.6.18 to ^9.6.19 by @dependabot[bot] in #41
  • Update squizlabs/php_codesniffer requirement from ^3.9 to ^3.10 by @dependabot[bot] in #43
  • Update phpstan/phpstan requirement from ^1.10 to ^1.11 by @dependabot[bot] in #42
  • Update donatj/drop requirement from ^1.0 to ^1.1 by @dependabot[bot] in #45
  • Update phpstan/phpstan requirement from ^1.11 to ^1.12 by @dependabot[bot] in #46
  • Update squizlabs/php_codesniffer requirement from ^3.10 to ^3.11 by @dependabot[bot] in #48
  • Test in PHP 8.4 by @donatj in #47
  • Update squizlabs/php_codesniffer requirement from ^3.11 to ^3.12 by @dependabot[bot] in #51
  • Update php-mock/php-mock-phpunit requirement from ^2.10 to ^2.13 by @dependabot[bot] in #52
  • Update squizlabs/php_codesniffer requirement from ^3.12 to ^3.13 by @dependabot[bot] in #53
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #54
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #58
  • Update php-mock/php-mock-phpunit requirement from ^2.13 to ^2.14 by @dependabot[bot] in #57

Full Changelog: v0.5.0...v0.6.0

Adds psr/http-message support

02 Sep 07:14
e18ffdb

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

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

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

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

Choose a tag to compare

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

Support PHP 7.2

26 Mar 23:34
c13b209

Choose a tag to compare

PHP version requirement lowered from 7.3 to 7.2

Initial Release

26 Mar 22:18
67c0aea

Choose a tag to compare

First HttpMessageUtils release!

Includes:

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