laminas/laminas-diactoros
### [`v3.0.0`](https://togithub.com/laminas/laminas-diactoros/releases/tag/3.0.0)
[Compare Source](https://togithub.com/laminas/laminas-diactoros/compare/2.25.2...3.0.0)
##### Release Notes for [3.0.0](https://togithub.com/laminas/laminas-diactoros/milestone/4)
##### 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](https://togithub.com/laminas/laminas-diactoros/pull/157) thanks to [@weierophinney](https://togithub.com/weierophinney)
- [148: Remove support for GD images in Stream implementation](https://togithub.com/laminas/laminas-diactoros/pull/148) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@boesing](https://togithub.com/boesing)
##### Documentation
- [156: Document PSR-7 v2 impact](https://togithub.com/laminas/laminas-diactoros/pull/156) thanks to [@weierophinney](https://togithub.com/weierophinney)
##### Bug
- [155: Ensure fromGlobals does not use superglobals when passed empty arrays](https://togithub.com/laminas/laminas-diactoros/pull/155) thanks to [@Xerkus](https://togithub.com/Xerkus)
##### BC Break,Documentation
- [154: Remove PhpInputStream](https://togithub.com/laminas/laminas-diactoros/pull/154) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@Xerkus](https://togithub.com/Xerkus)
##### BC Break,Documentation,Enhancement
- [152: Remove marshalUriFromSapi function](https://togithub.com/laminas/laminas-diactoros/pull/152) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@Xerkus](https://togithub.com/Xerkus)
##### BC Break,Feature Removal
- [146: Drop legacy helper functions in Zend namespace](https://togithub.com/laminas/laminas-diactoros/pull/146) thanks to [@Xerkus](https://togithub.com/Xerkus)
##### BC Break,Enhancement
- [136: Allow usage with PSR-7 v2](https://togithub.com/laminas/laminas-diactoros/pull/136) thanks to [@weierophinney](https://togithub.com/weierophinney)
##### Enhancement
- [132: Update to PSR-7 1.1/2.0](https://togithub.com/laminas/laminas-diactoros/issues/132) thanks to [@weierophinney](https://togithub.com/weierophinney)
##### BC Break,Bug
- [12: `ServerRequestFactory::fromGlobals()` checks if args are truthy rather than set](https://togithub.com/laminas/laminas-diactoros/issues/12) thanks to [@weierophinney](https://togithub.com/weierophinney)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^2.25.2
->^3.0.0
Release Notes
laminas/laminas-diactoros
### [`v3.0.0`](https://togithub.com/laminas/laminas-diactoros/releases/tag/3.0.0) [Compare Source](https://togithub.com/laminas/laminas-diactoros/compare/2.25.2...3.0.0) ##### Release Notes for [3.0.0](https://togithub.com/laminas/laminas-diactoros/milestone/4) ##### 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](https://togithub.com/laminas/laminas-diactoros/pull/157) thanks to [@weierophinney](https://togithub.com/weierophinney) - [148: Remove support for GD images in Stream implementation](https://togithub.com/laminas/laminas-diactoros/pull/148) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@boesing](https://togithub.com/boesing) ##### Documentation - [156: Document PSR-7 v2 impact](https://togithub.com/laminas/laminas-diactoros/pull/156) thanks to [@weierophinney](https://togithub.com/weierophinney) ##### Bug - [155: Ensure fromGlobals does not use superglobals when passed empty arrays](https://togithub.com/laminas/laminas-diactoros/pull/155) thanks to [@Xerkus](https://togithub.com/Xerkus) ##### BC Break,Documentation - [154: Remove PhpInputStream](https://togithub.com/laminas/laminas-diactoros/pull/154) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@Xerkus](https://togithub.com/Xerkus) ##### BC Break,Documentation,Enhancement - [152: Remove marshalUriFromSapi function](https://togithub.com/laminas/laminas-diactoros/pull/152) thanks to [@weierophinney](https://togithub.com/weierophinney) and [@Xerkus](https://togithub.com/Xerkus) ##### BC Break,Feature Removal - [146: Drop legacy helper functions in Zend namespace](https://togithub.com/laminas/laminas-diactoros/pull/146) thanks to [@Xerkus](https://togithub.com/Xerkus) ##### BC Break,Enhancement - [136: Allow usage with PSR-7 v2](https://togithub.com/laminas/laminas-diactoros/pull/136) thanks to [@weierophinney](https://togithub.com/weierophinney) ##### Enhancement - [132: Update to PSR-7 1.1/2.0](https://togithub.com/laminas/laminas-diactoros/issues/132) thanks to [@weierophinney](https://togithub.com/weierophinney) ##### BC Break,Bug - [12: `ServerRequestFactory::fromGlobals()` checks if args are truthy rather than set](https://togithub.com/laminas/laminas-diactoros/issues/12) thanks to [@weierophinney](https://togithub.com/weierophinney)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Read more information about the use of Renovate Bot within Laminas.