All Versions
69
Latest Version
Avg Release Cycle
45 days
Latest Release
553 days ago

Changelog History
Page 6

  • v1.3.5 Changes

    March 17, 2016

    โž• Added

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

  • v1.3.4 Changes

    March 17, 2016

    โž• Added

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

  • v1.3.3 Changes

    January 04, 2016

    โž• Added

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  zendframework/zend-diactoros#135 fixes the behavior of ServerRequestFactory::marshalHeaders() to no longer omit Cookie headers from the aggregated headers. While the values are parsed and injected into the cookie params, it's useful to have access to the raw headers as well.
  • v1.3.2 Changes

    December 22, 2015

    โž• Added

    • zendframework/zend-diactoros#124 adds four more optional arguments to the ServerRequest constructor:
      • array $cookies
      • array $queryParams
      • null|array|object $parsedBody
      • string $protocolVersion ServerRequestFactory was updated to pass values for each of these parameters when creating an instance, instead of using the related with*() methods on an instance.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • โšก๏ธ zendframework/zend-diactoros#122 updates the ServerRequestFactory to retrieve the HTTP protocol version and inject it in the generated ServerRequest, which previously was not performed.
  • v1.3.1 Changes

    December 16, 2015

    โž• Added

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  zendframework/zend-diactoros#113 fixes an issue in the response serializer, ensuring that the status code in the deserialized response is an integer.
    • ๐Ÿ›  zendframework/zend-diactoros#115 fixes an issue in the various text-basd response types (TextResponse, HtmlResponse, and JsonResponse); due to the fact that the constructor was not rewinding the message body stream, getContents() was thus returning null, as the pointer was at the end of the stream. The constructor now rewinds the stream after populating it in the constructor.
  • v1.3.0 Changes

    December 15, 2015

    โž• Added

    • zendframework/zend-diactoros#110 adds Laminas\Diactoros\Response\SapiEmitterTrait, which provides the following private method definitions:
      • injectContentLength()
      • emitStatusLine()
      • emitHeaders()
      • flush()
      • filterHeader() The SapiEmitter implementation has been updated to remove those methods and instead compose the trait.
    • zendframework/zend-diactoros#111 adds a new emitter implementation, SapiStreamEmitter; this emitter type will loop through the stream instead of emitting it in one go, and supports content ranges.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • Nothing.
  • v1.2.1 Changes

    December 15, 2015

    โž• 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.
  • v1.2.0 Changes

    November 24, 2015

    โž• Added

    • โšก๏ธ zendframework/zend-diactoros#88 updates the SapiEmitter to emit a Content-Length header with the content length as reported by the response body stream, assuming that StreamInterface::getSize() returns an integer.
    • zendframework/zend-diactoros#77 adds a new response type, Laminas\Diactoros\Response\TextResponse, for returning plain text responses. By default, it sets the content type to text/plain; charset=utf-8; per the other response types, the signature is new TextResponse($text, $status = 200, array $headers = []).
    • zendframework/zend-diactoros#90 adds a new Laminas\Diactoros\CallbackStream, allowing you to back a stream with a PHP callable (such as a generator) to generate the message content. Its constructor accepts the callable: $stream = new CallbackStream($callable);

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • โšก๏ธ zendframework/zend-diactoros#77 updates the HtmlResponse to set the charset to utf-8 by default (if no content type header is provided at instantiation).
  • v1.1.4 Changes

    October 16, 2015

    โž• Added

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

  • v1.1.3 Changes

    August 10, 2015

    โž• Added

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  zendframework/zend-diactoros#71 fixes the docblock of the JsonResponse constructor to typehint the $data argument as mixed.
    • zendframework/zend-diactoros#73 changes the behavior in Request such that if it marshals a stream during instantiation, the stream is marked as writeable (specifically, mode wb+).
    • โšก๏ธ zendframework/zend-diactoros#85 updates the behavior of Laminas\Diactoros\Uri's various with*() methods that are documented as accepting strings to raise exceptions on non-string input. Previously, several simply passed non-string input on verbatim, others normalized the input, and a few correctly raised the exceptions. Behavior is now consistent across each.
    • ๐Ÿ›  zendframework/zend-diactoros#87 fixes UploadedFile to ensure that moveTo() works correctly in non-SAPI environments when the file provided to the constructor is a path.