Skip to content

1.7.1

@weierophinney weierophinney tagged this 26 Feb 15:44
Based on https://github.com/zendframework/zend-diactoros/releases/tag/1.7.1 (commit 61d1617e2aadd87eaceb581aad89b1af609bfc21 in this repo)

Added
-----

- Nothing.

Changed
-------

- [zendframework/zend-diactoros#293](https://github.com/zendframework/zend-diactoros/pull/293) updates
  `Uri::getHost()` to cast the value via `strtolower()` before returning it.
  While this represents a change, it is fixing a bug in our implementation:
  the PSR-7 specification for the method, which follows IETF RFC 3986 section
  3.2.2, requires that the host name be normalized to lowercase.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework/zend-diactoros#290](https://github.com/zendframework/zend-diactoros/pull/290) fixes
  `Stream::getSize()` such that it checks that the result of `fstat` was
  succesful before attempting to return its `size` member; in the case of an
  error, it now returns `null`.
Assets 2
Loading