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

Commit d4dec99

Browse files
mattsahweierophinney
authored andcommitted
Changelog + doc changes
1 parent bfe7a22 commit d4dec99

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

CHANGELOG.md

Lines changed: 24 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.2.0 - TBD
5+
## 2.2.1 - TBD
66

77
### Added
88

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

2525
- Nothing.
2626

27+
## 2.2.0 - 2019-11-08
28+
29+
### Added
30+
31+
- [#377](https://github.com/zendframework/zend-diactoros/issues/377) enables UploadedFile to stand in and be used as an SplFileInfo object.
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+
2749
## 2.1.6 - TBD
2850

2951
### Added
@@ -641,7 +663,7 @@ All notable changes to this project will be documented in this file, in reverse
641663

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

docs/book/v2/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,6 @@ In most cases, you will not interact with the Stream object directly.
194194
and provides abstraction around a single uploaded file, including behavior for interacting with it
195195
as a stream or moving it to a filesystem location.
196196

197+
Additionally, it extends PHP's build in `SplFileInfo` object in order to provide a compatible interface wherever such an object is needed.
198+
197199
In most cases, you will only use the methods defined in the `UploadedFileInterface`.

0 commit comments

Comments
 (0)