Releases: laminas/laminas-diactoros
Releases · laminas/laminas-diactoros
2.9.0
Release Notes for 2.9.0
2.9.0
- Total issues resolved: 1
- Total pull requests resolved: 4
- Total contributors: 4
Enhancement
- 80: Prepare for Renovate with reusable workflows thanks to @ghostwriter
- 78: Change HTTP Reason phrases according to the iana update thanks to @marcelthole
- 75: [QA] Using php >= 7.3 syntax, where possible thanks to @samsonasik
Documentation,Enhancement,hacktoberfest-accepted
2.8.0
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
- 73: fix build status badge url thanks to @sasezaki
- 68: Update readme to point to updated contribution guideline pages thanks to @settermjd
Enhancement
2.7.0
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
- 70: PHP 8.1 support thanks to @boesing
Documentation,Enhancement
2.6.0
Release Notes for 2.6.0
Added
- The default behavior when marshalling request headers from the
$_SERVER
superglobal is to map all entries starting withHTTP_
orCONTENT_
to HTTP headers. However, this behavior is a bit aggressive with regards to theCONTENT_
keys; PHP only mapsCONTENT_LENGTH
,CONTENT_MD5
, andCONTENT_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 variableLAMINAS_DIACTOROS_STRICT_CONTENT_HEADER_LOOKUP
. When present, the logic for marshalling headers will only consider exact matches on those threeCONTENT_
keys, and ignore any others it identifies. (Behavior forHTTP_
prefixed headers remains the same.)
2.6.0
- Total issues resolved: 1
- Total pull requests resolved: 3
- Total contributors: 4
Bug
Enhancement
- 64: Remove file headers thanks to @ghostwriter
- 59: psalm integration thanks to @snapshotpl
2.5.1
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
- 61: Add GHA CI workflow thanks to @internalsystemerror
2.5.0
2.5.0 - 2020-11-18
Added
Changed
- #46 changes the exception thrown by
Laminas\Diactoros\Stream::setStream()
when an error occurs opening a stream resource. Previously, it would throw aLaminas\Diactoros\Exception\InvalidArgumentException
; it now throwsLaminas\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
- 56: Update documentation example about ServerRequestFactory::fromGlobals(). thanks to @maurobonfietti
Enhancement
- 46: Allow installation on PHP 8. thanks to @ADmad
2.4.1
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
- 50: gd is used by test suite thanks to @remicollet
2.4.0
2.4.0 - 2020-09-02
Release Notes for 2.4.0
Feature release (minor)
2.4.0
-
Total issues resolved: 0
-
Total pull requests resolved: 2
-
Total contributors: 2
-
49: Merge release 2.3.2 into 2.4.x thanks to @github-actions[bot]
Enhancement
2.3.2
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 indicateLaminas\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
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.