Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 2d6a077

Browse files
authored
Merge branch 'develop' into add-csv-response-class
2 parents 1bd3919 + c0ebb95 commit 2d6a077

31 files changed

+450
-233
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ matrix:
4141
- php: 7.3
4242
env:
4343
- DEPS=latest
44+
- php: 7.4
45+
env:
46+
- DEPS=lowest
47+
- php: 7.4
48+
env:
49+
- DEPS=locked
50+
- php: 7.4
51+
env:
52+
- DEPS=latest
4453

4554
before_install:
4655
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

CHANGELOG.md

Lines changed: 114 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 2.1.6 - TBD
5+
## 2.3.0 - TBD
66

77
### Added
88

@@ -24,6 +24,94 @@ All notable changes to this project will be documented in this file, in reverse
2424

2525
- Nothing.
2626

27+
## 2.2.2 - TBD
28+
29+
### Added
30+
31+
- Nothing.
32+
33+
### Changed
34+
35+
- Nothing.
36+
37+
### Deprecated
38+
39+
- Nothing.
40+
41+
### Removed
42+
43+
- Nothing.
44+
45+
### Fixed
46+
47+
- Nothing.
48+
49+
## 2.2.1 - 2019-11-13
50+
51+
### Added
52+
53+
- Nothing.
54+
55+
### Changed
56+
57+
- [#379](https://github.com/zendframework/zend-diactoros/pull/379) removes extension of `SplFileInfo` by the `UploadedFile` class. The signatures of `getSize()` are potentially incompatible, and `UploadedFile` is intended to work with arbitrary PHP and PSR-7 streams, whereas `SplFileInfo` can only model files on the filesystem. While this is technically a BC break, we are treating it as a bugfix, as the class was broken for many use cases.
58+
59+
### Deprecated
60+
61+
- Nothing.
62+
63+
### Removed
64+
65+
- Nothing.
66+
67+
### Fixed
68+
69+
- Nothing.
70+
71+
## 2.2.0 - 2019-11-12
72+
73+
### Added
74+
75+
- [#376](https://github.com/zendframework/zend-diactoros/pull/376) adds support for using the X-Forwarded-Host header for determining the originally requested host name when marshaling the server request.
76+
77+
### Changed
78+
79+
- [#378](https://github.com/zendframework/zend-diactoros/pull/378) updates the `UploadedFile` class to extend `SplFileInfo`, allowing developers to make use of those features in their applications.
80+
81+
### Deprecated
82+
83+
- Nothing.
84+
85+
### Removed
86+
87+
- Nothing.
88+
89+
### Fixed
90+
91+
- Nothing.
92+
93+
## 2.2.0 - 2019-11-08
94+
95+
### Added
96+
97+
- [#377](https://github.com/zendframework/zend-diactoros/issues/377) enables UploadedFile to stand in and be used as an SplFileInfo object.
98+
99+
### Changed
100+
101+
- Nothing.
102+
103+
### Deprecated
104+
105+
- Nothing.
106+
107+
### Removed
108+
109+
- Nothing.
110+
111+
### Fixed
112+
113+
- Nothing.
114+
27115
## 2.1.5 - 2019-10-10
28116

29117
### Added
@@ -304,6 +392,30 @@ All notable changes to this project will be documented in this file, in reverse
304392

305393
- Nothing.
306394

395+
## 1.8.7 - 2019-08-06
396+
397+
### Added
398+
399+
- Nothing.
400+
401+
### Changed
402+
403+
- Nothing.
404+
405+
### Deprecated
406+
407+
- Nothing.
408+
409+
### Removed
410+
411+
- Nothing.
412+
413+
### Fixed
414+
415+
- [#364](https://github.com/zendframework/zend-diactoros/issues/364) modifies detection of HTTPS schemas via the `$_SERVER['HTTPS']` value
416+
such that an empty HTTPS-key will result in a scheme of `http` and not
417+
`https`.
418+
307419
## 1.8.6 - 2018-09-05
308420

309421
### Added
@@ -619,7 +731,7 @@ All notable changes to this project will be documented in this file, in reverse
619731

620732
- [#293](https://github.com/zendframework/zend-diactoros/pull/293) updates
621733
`Uri::getHost()` to cast the value via `strtolower()` before returning it.
622-
While this represents a change, it is fixing a bug in our implementation:
734+
While this represents a change, it is fixing a bug in our implementation:
623735
the PSR-7 specification for the method, which follows IETF RFC 3986 section
624736
3.2.2, requires that the host name be normalized to lowercase.
625737

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@
3636
"ext-libxml": "*",
3737
"http-interop/http-factory-tests": "^0.5.0",
3838
"php-http/psr7-integration-tests": "dev-master",
39-
"phpunit/phpunit": "^7.0.2",
39+
"phpunit/phpunit": "^7.5.18",
4040
"zendframework/zend-coding-standard": "~1.0.0"
4141
},
42+
"conflict": {
43+
"phpspec/prophecy": "<1.9.0"
44+
},
4245
"provide": {
4346
"psr/http-factory-implementation": "1.0",
4447
"psr/http-message-implementation": "1.0"

0 commit comments

Comments
 (0)