Laminas Diactoros v1.8.3 Release Notes
Release Date: 2018-07-24 // over 5 years ago-
โ Added
- Nothing.
๐ Changed
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
โก๏ธ zendframework/zend-diactoros#321 updates the logic in
Uri::withPort()
to ensure that it checks that the value provided is either an integer or a string integer, as only those values may be cast to integer without data loss.zendframework/zend-diactoros#320 adds checking within
Response
to ensure that the provided reason phrase is a string; anInvalidArgumentException
is now raised if it is not. This change ensures the class adheres strictly to the PSR-7 specification.zendframework/zend-diactoros#319 provides a fix to
Laminas\Diactoros\Response
that ensures that the status code returned is always an integer (and never a string containing an integer), thus ensuring it strictly adheres to the PSR-7 specification.