3.0.0
Release Notes for 3.0.0
Added
This 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.
3.0.0
- Total issues resolved: 7
- Total pull requests resolved: 8
- Total contributors: 3
BC Break,Bug,Documentation
- 157: Filter integer header names during SAPI discovery thanks to @weierophinney
- 148: Remove support for GD images in Stream implementation thanks to @weierophinney and @boesing
Documentation
- 156: Document PSR-7 v2 impact thanks to @weierophinney
Bug
BC Break,Documentation
- 154: Remove PhpInputStream thanks to @weierophinney and @Xerkus
BC Break,Documentation,Enhancement
- 152: Remove marshalUriFromSapi function thanks to @weierophinney and @Xerkus
BC Break,Feature Removal
BC Break,Enhancement
- 136: Allow usage with PSR-7 v2 thanks to @weierophinney
Enhancement
- 132: Update to PSR-7 1.1/2.0 thanks to @weierophinney