All Versions
15
Latest Version
Avg Release Cycle
109 days
Latest Release
-

Changelog History
Page 1

  • v1.4.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿšš Psr17Factory::createStreamFromFile, UploadedFile::moveTo, and UploadedFile::getStream no longer throw ValueError in PHP 8.
  • v1.4.0 Changes

    โœ‚ Removed

    The final keyword was replaced by @final annotation.

  • v1.3.2 Changes

    November 14, 2020

    ๐Ÿ›  Fixed

    • Stream::read() must not return boolean.
    • ๐Ÿ‘Œ Improved exception message when using wrong HTTP status code.
  • v1.3.1 Changes

    September 18, 2020

    ๐Ÿ‘ Allow this package to be installed on PHP8

  • v1.3.0 Changes

    May 23, 2020

    โž• Added

    • ๐Ÿ‘‰ Make Stream::__toString() compatible with throwing exceptions on PHP 7.4.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support for UTF-8 hostnames
    • ๐Ÿ‘Œ Support for numeric header names
  • v1.2.1 Changes

    September 05, 2019

    No code changes.

    ๐Ÿ‘€ See change log for changes.

  • v1.2.0 Changes

    August 22, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change minimal port number to 0 (unix socket)
    • โšก๏ธ Updated Psr17Factory::createResponse to respect the specification. If second argument is not used, a standard reason phrase. If an empty string is passed, then the reason phrase will be empty.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ Check for seekable on the stream resource.
    • ๐Ÿ›  Fixed the Response::$reason should never be null.
  • v1.1.0 Changes

    February 16, 2019

    โž• Added

    • ๐Ÿ‘Œ Improved performance
    • โœ… More tests for UploadedFile and HttplugFactory

    โœ‚ Removed

    • Dead code
  • v1.0.1 Changes

    September 02, 2018

    ๐Ÿ›  Fixed

    • โœ… Handle fopen failing in createStreamFromFile according to PSR-7.
    • ๐ŸŽ Reduce execution path to speed up performance.
    • ๐Ÿ›  Fixed typos.
    • ๐Ÿ’… Code style.
  • v1.0.0 Changes

    August 02, 2018

    โž• 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.