Skip to content

Releases: hhvm/hack-http-request-response-interfaces

Support new hsl-experimental

30 Mar 21:54
Compare
Choose a tag to compare

This release adjusts to the renamed namespaces in the latest release of hsl-experimental; it does not contain other significant changes.

Support HHVM 4

13 Feb 00:13
Compare
Choose a tag to compare
Support HHVM 4 Pre-release
Pre-release

This release contains no significant changes, but has updated dependency information.

Initial release

14 Nov 20:06
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

This release is derived from PSR-7, however many significant changes have been made. Highlights include:

  • all implementation-defined objects have been removed; if these are required, an is check is expected. This removes the need for mixed types on methods such as getParsedBody()
  • similarly, removed getAttribute
  • StreamInterface has been removed, in favor of HH\Lib\Experimental\IO\ReadHandle and WriteHandle
  • This means that Message does not expose the body - requests have a read handle, responses have a write handle
  • replace ?string with string where there is not a meaningful distinction (in HTTP) between 'empty string' and 'not provided'
  • form variables are accessible via flat dict<string, string> structures, not arbitrarily nested trees