PSR HTTP Message implementations
3.3.x bugfix release (patch)
Feature release (minor)
Feature release (minor)
Feature release (minor)
JSON_THROW_ON_ERROR
in JsonResponse
thanks to @TimWollaThis version adds support for PSR-7 v2.0. While we had previously added return type hints in Diactoros, there were a few cases where PSR-7 updated the interfaces to use void
returns where we had not. As a result, this release represents a BC break for anybody extending our classes, as defining an extension that uses one of these methods with a mixed return type (or omitting the return type entirely) will result in a type error.
The interfaces affected were Psr\Http\Message\StreamInterface
and Psr\Http\Message\UploadedFileInterface
.
For consumers, this version should be entirely backwards compatible in usage. For those extending our classes, you will only run into issues when extending implementations of the above interfaces.
ServerRequestFactory::fromGlobals()
checks if args are truthy rather than set thanks to @weierophinney2.25.x bugfix release (patch)
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
138: Merge release 2.24.1 into 2.25.x thanks to @github-actions[bot]
2.24.x bugfix release (patch)
X-Forwarded-Host
for additional port information thanks to @boesingAdds support for the PSR-7 v1.1 release.
Feature release (minor)