Skip to content

Releases: laminas/laminas-diactoros

2.8.0

22 Sep 03:55
2.8.0
0c26ef1
Compare
Choose a tag to compare

Release Notes for 2.8.0

Feature release (minor)

2.8.0

  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 3

Documentation

Enhancement

2.7.0

15 Sep 08:42
2.7.0
8b5792b
Compare
Choose a tag to compare

Release Notes for 2.7.0

Feature release (minor)

2.7.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Enhancement

Documentation,Enhancement

2.6.0

18 May 14:42
2.6.0
7d20341
Compare
Choose a tag to compare

Release Notes for 2.6.0

Added

  • The default behavior when marshalling request headers from the $_SERVER superglobal is to map all entries starting with HTTP_ or CONTENT_ to HTTP headers. However, this behavior is a bit aggressive with regards to the CONTENT_ keys; PHP only maps CONTENT_LENGTH, CONTENT_MD5, and CONTENT_LENGTH in this way. To remain backwards compatible, we are not changing that behavior. However, users who are experiencing conflicts with env variables they have declared (as an example, CONTENT_API_KEY) can define the env variable LAMINAS_DIACTOROS_STRICT_CONTENT_HEADER_LOOKUP. When present, the logic for marshalling headers will only consider exact matches on those three CONTENT_ keys, and ignore any others it identifies. (Behavior for HTTP_ prefixed headers remains the same.)

2.6.0

  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 4

Bug

Enhancement

2.5.1

13 Apr 19:40
2.5.1
53df7b7
Compare
Choose a tag to compare

Release Notes for 2.5.1

2.5.x bugfix release (patch)

2.5.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.5.0

18 Nov 18:39
2.5.0
4ff7400
Compare
Choose a tag to compare

2.5.0 - 2020-11-18

Added

  • #46 adds the class Laminas\Diactoros\Exception\RuntimeException.

  • #46 adds support for PHP 8.

Changed

  • #46 changes the exception thrown by Laminas\Diactoros\Stream::setStream() when an error occurs opening a stream resource. Previously, it would throw a Laminas\Diactoros\Exception\InvalidArgumentException; it now throws Laminas\Diactoros\Exception\RuntimeException. This was done to comply with PSR-7 integration test suites, which test behavior of PSR-7 implementations against the specification.

Removed

  • #46 removes support for PHP versions prior to 7.3.

Release Notes for 2.5.0

Feature release (minor)

2.5.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Documentation,Enhancement,hacktoberfest-accepted

Enhancement

2.4.1

03 Sep 14:29
2.4.1
Compare
Choose a tag to compare

2.4.1 - 2020-09-03


Release Notes for 2.4.1

2.4.x bugfix release (patch)

2.4.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

2.4.0

02 Sep 13:59
2.4.0
Compare
Choose a tag to compare

2.4.0 - 2020-09-02


Release Notes for 2.4.0

Feature release (minor)

2.4.0

Enhancement

2.3.2

02 Sep 13:51
2.3.2
Compare
Choose a tag to compare

2.3.2 - 2020-09-02

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #47 corrects the documented exception type thrown by Laminas\Diactoros\Response\ArraySerializer::fromArray() to indicate Laminas\Diactoros\Exception\DeserializationException is thrown by the method.

Release Notes for 2.3.2

2.3.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug,Documentation

laminas-diactoros 2.3.1

07 Jul 15:37
2.3.1
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #44 fixes an issue whereby the uploaded file size was being provided as an integer string, and causing type errors. The value is now cast to integer before creating an UploadedFile instance.

laminas-diactoros 2.3.0

27 Apr 17:07
2.3.0
Compare
Choose a tag to compare

Added

  • #37 adds a ConfigProvider and Module, allowing the package to be autoregistered within Mezzio and MVC applications. Each provides configuration mapping PSR-17 HTTP message factory interfaces to the Diactoros implementations of them.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.