Upgrading psr/http-message 0.10 to 0.11
Review needed0.10.1 → 0.11.0New1Changed3Other4
Review neededUpgrade verdict
3 behavior changes.
In plain terms
- Clarifications to RequestInterface::withUri() specifying that changes MUST also update the Host header unless the $preserverHost flag is true.
- Removal of the various getHeader*() method overrides in RequestInterface, as they are irrelevant with the above change.
- ResponseInterface::withStatus() now sets the default value of the $reasonPhrase parameter to an empty string (to correspond to the above change).
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- removed:
method RequestInterface.getHeader($name) - removed:
method RequestInterface.getHeaderLine($name) - removed:
method RequestInterface.getHeaders() - removed:
method UploadedFileInterface.move($path) - added:
method UploadedFileInterface.moveTo($targetPath)