Laminas Diactoros v1.7.0 Release Notes

Release Date: 2018-01-04 // about 6 years ago
  • ➕ Added

    • zendframework/zend-diactoros#285 adds a new custom response type, Laminas\Diactoros\Response\XmlResponse, for generating responses representing XML. Usage is the same as with the HtmlResponse or TextResponse; the response generated will have a Content-Type: application/xml header by default.

    • zendframework/zend-diactoros#280 adds the response status code/phrase pairing "103 Early Hints" to the Response::$phrases property. This is a new status proposed via RFC 8297.

    • zendframework/zend-diactoros#279 adds explicit support for PHP 7.2; previously, we'd allowed build failures, though none occured; we now require PHP 7.2 builds to pass.

    🔄 Changed

    • Nothing.

    🗄 Deprecated

    • Nothing.

    ✂ Removed

    • Nothing.

    🛠 Fixed

    • Nothing.