Nyholm PSR-7 v1.0.0 Release Notes

Release Date: 2018-08-02 // about 5 years ago
  • โž• Added

    • ๐Ÿ‘Œ Support for final PSR-17 (HTTP factories). (Psr17Factory)
    • ๐Ÿ‘Œ Support for numeric header values.
    • ๐Ÿ‘Œ Support for empty header values.
    • All classes are final
    • HttplugFactory that implements factory interfaces from HTTPlug.

    ๐Ÿ”„ Changed

    • ServerRequest does not extend Request.

    โœ‚ Removed

    • ๐Ÿšš The HTTPlug discovery strategy was removed since it is included in php-http/discovery 1.4.
    • ๐Ÿšš UploadedFileFactory() was removed in favor for Psr17Factory.
    • ๐Ÿšš ServerRequestFactory() was removed in favor for Psr17Factory.
    • StreamFactory, UriFactory, abd MessageFactory. Use HttplugFactory instead.
    • ServerRequestFactory::createServerRequestFromArray, ServerRequestFactory::createServerRequestFromArrays and ServerRequestFactory::createServerRequestFromGlobals. Please use the new nyholm/psr7-server instead.