Skip to content

Releases: phpgt/Http

May 2023 release (PSR-7 v2)

03 May 10:44
8b2b6b9

Choose a tag to compare

This minor patch release introduces compatibility changes for PSR-7 v2, which defines type safety throughout the HTTP classes.

CI and QA improvements

10 Mar 15:05
05566d3

Choose a tag to compare

In this patch release, we introduce a CI build matrix. All supported PHP versions will be tested on PHPUnit, PHPStan, PHP Mess Detector and PHP Code Sniffer. Lovely!

What's Changed

  • CI & QA - introduce PHPMD and PHPCS by @g105b in #203

Full Changelog: v1.1.8...v1.1.9

February 2023

24 Feb 12:22
e3e4cf5

Choose a tag to compare

What's Changed

  • feature: reload and throw away query string by @g105b in #178
  • Bump phpstan/phpstan from 1.8.6 to 1.9.4 by @dependabot in #182
  • feature: request factory creates uri with all parts by @g105b in #183

Full Changelog: v1.1.7...v1.1.8

Readonly headers on HTTP messages

05 Nov 16:48
6d32a4c

Choose a tag to compare

What's Changed

  • feature: expose headers as public readonly property by @g105b in #176

Full Changelog: v1.1.6...v1.1.7

September 2022 release

26 Sep 19:56
ec7a74d

Choose a tag to compare

What's Changed

  • Bump phpunit/phpunit from 9.5.21 to 9.5.23 by @dependabot in #162
  • maintenance: dependabot by @g105b in #170
  • tweak: safely check presence of current protocol by @g105b in #171
  • tweak: pass request to response to redirect to current path by @g105b in #173
  • Update README.md by @g105b in #174

Full Changelog: v1.1.5...v1.1.6

Response redirect/reload functions

25 Jul 14:33
1b93fa9

Choose a tag to compare

Two new non-standard functions are added for convenience within WebEngine and other frameworks. Response::redirect and Response::reload.

What's Changed

New Contributors

Full Changelog: v1.1.4...v1.1.5

Global state factory

23 Jun 15:46
80ed726

Choose a tag to compare

Ready for the v4 release of WebEngine, there needed to be a way to produce a PSR-7 ServerRequest from the global state rather than by supplying a pre-populated RequestInterface. This release contains this the new functionality, along with many minor improvements.

CI improvements and PHP 8 compatibility

11 Jan 16:32
cd71eed

Choose a tag to compare

We're one step closer to a CI environment fully hosted within Github Actions now, with PHPUnit and PHPStan tests being run within Actions. Codesniffer is planned soon too.

PHP 8 compatibility is made possible thanks to an updated dependency tree.

Further organisation of Http exceptions

16 Jun 13:15
80683ce

Choose a tag to compare

This minor release simply adds an extra layer of organisation to the various HTTP exceptions relating to HTTP response statuses. The different exception types are now organised into Redirect (3XX), Client (4XX) and Server (5XX) namespaces.

Hotfix: change visibility to public for all HTTP exceptions' getStatusCode method

27 May 20:46
2d626b1

Choose a tag to compare

Http exception visibility (#37)

* Build up request URI in parts for greater compatibility

* Change visibility to public for all getStatusCode functions