Laminas Diactoros v1.7.1 Release Notes
Release Date: 2018-02-26 // about 6 years ago-
โ Added
- Nothing.
๐ Changed
- โก๏ธ zendframework/zend-diactoros#293 updates
Uri::getHost()
to cast the value viastrtolower()
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 fixes
Stream::getSize()
such that it checks that the result offstat
was succesful before attempting to return itssize
member; in the case of an error, it now returnsnull
.