Releases: PhpGt/Http
October 2024 release
What's Changed
Full Changelog: v1.3.0...v1.3.1
"Await" methods and bug fixes
July 2023 patch release
Full Changelog: v1.2.1...v1.2.2
FormData representing file uploads
This change is to help php.gt/fetch upload files using FormData, to closely match the HTTP spec.
What's Changed
Full Changelog: v1.2.0...v1.2.1
Asynchronous response body functions
When you have a Response
object, you can now call the standard text()
, json()
, etc. functions, which return a Promise
that will resolve with the appropriate type. When set up with an async loop, this can achieve multiple concurrent response streaming.
This was implemented for usage within https://www.php.gt/fetch
What's Changed
Full Changelog: v1.1.10...v1.2.0
May 2023 release (PSR-7 v2)
This minor patch release introduces compatibility changes for PSR-7 v2, which defines type safety throughout the HTTP classes.
CI and QA improvements
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
Full Changelog: v1.1.8...v1.1.9
February 2023
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
What's Changed
Full Changelog: v1.1.6...v1.1.7
September 2022 release
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