Laminas Diactoros v1.2.1 Release Notes

Release Date: 2015-12-15 // over 6 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.