Laminas Diactoros v1.2.1 Release Notes
Release Date: 2015-12-15 // over 8 years ago-
โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ zendframework/zend-diactoros#101 fixes the
withHeader()
implementation to ensure that if the header existed previously but using a different casing strategy, the previous version will be removed in the cloned instance. - ๐ zendframework/zend-diactoros#103 fixes the
constructor of
Response
to ensure that null status codes are not possible. - ๐ zendframework/zend-diactoros#99 fixes
validation of header values submitted via request and response constructors as
follows:
- numeric (integer and float) values are now properly allowed (this solves some reported issues with setting Content-Length headers)
- invalid header names (non-string values or empty strings) now raise an exception.
- invalid individual header values (non-string, non-numeric) now raise an exception.