Releases: php-fig/http-message
Releases · php-fig/http-message
2.0: Merge pull request #95 from Stilch/add-param-and-return-type-hints
1.1: Merge pull request #94 from Stilch/add-param-hints
Added parameters types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions
PSR-7 Acceptance
Merge pull request #42 from Maks3w/patch-2 Typo s/RFC3985/RFC3986/
Updates from Review-2
This tag contains all updates since entering the second review of PSR-7. These include:
- Clarifications to
RequestInterface::withUri()specifying that changes MUST also update theHostheader unless the$preserverHostflag istrue. - Removal of the various
getHeader*()method overrides inRequestInterface, as they are irrelevant with the above change. - Added verbiage to the
RequestInterfaceclass-level docblock indicating that constructors SHOULD attempt to set theHostheader in order to ensure the message is valid on initialization. RequestInterface::getHeaderLine()MUST return a string (nullwas allowed previously, which leads to ambiguity of return value).ResponseInterface::getReasonPhrase()MUST return a string(nullwas allowed previously, which leads to ambiguity of return value).ResponseInterface::withStatus()now sets the default value of the$reasonPhraseparameter to an empty string (to correspond to the above change).UploadedFileInterface::move()was renamed tomoveTo(), and the argument renamed to$targetPath; this clarifies intent for the method.UriInterface::withPath()has clarifications in the docblock to indicate the four possible path types (empty, root path, relative path, domain-relative — or absolute — path).
Clarify RequestInterface::getUri() return value
Merge pull request #39 from weierophinney/hotfix/psr7-uri-return Sync with php-fig/fig-standards#518
0.10.0: Merge pull request #38 from weierophinney/feature/post-draft-2
StreamableInterfacewas renamed toStreamInterface; typehints were updated accordingly.ServerRequestInterface::*FileParams()were renamed to*UploadedFiles(). They now expect and return array trees of a new interface,UploadedFileInterface.UploadedFileInterfacewas added to provide compatibility between SAPI and non-SAPI environments with regards to handling upload files.- A number of clarifications were made on
UriInterfacewith regards to URI component delimiters.
Interface clarifications
Merge pull request #10 from siwinski/pr-remove-doc-exec Remove documentation executable bits
URI path/query encoding and Request Host header clarifications
Merge pull request #27 from weierophinney/hotfix/uri-encoding Added language to withPath() regarding percent encoding
Use the verbiage 'parsed body' instead of 'body params'.
Merge pull request #23 from weierophinney/feature/parsed-body Body parameters are the parsed body.
Reference request-target only, not the request line
Merge pull request #19 from weierophinney/feature/request-line-refactor Only work with the request target, not the line