#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.
Deprecated
Nothing.
Removed
Nothing.
Fixed
Nothing.
zend-diactoros 2.2.0
Added
#376 adds support for using the X-Forwarded-Host header for determining the originally requested host name when marshaling the server request.
Changed
#378 updates the UploadedFile class to extend SplFileInfo, allowing developers to make use of those features in their applications.
#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.
Deprecated
Nothing.
Removed
Nothing.
Fixed
Nothing.
2.2.0 - 2019-11-12
Added
#376 adds support for using the X-Forwarded-Host header for determining the originally requested host name when marshaling the server request.
Changed
#378 updates the UploadedFile class to extend SplFileInfo, allowing developers to make use of those features in their applications.
Deprecated
Nothing.
Removed
Nothing.
Fixed
Nothing.
2.2.0 - 2019-11-08
Added
#377 enables UploadedFile to stand in and be used as an SplFileInfo object.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Vonage/vonage-php-code-snippets/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps zendframework/zend-diactoros from 1.6.1 to 2.2.1.
Release notes
Sourced from zendframework/zend-diactoros's releases.
... (truncated)
Changelog
Sourced from zendframework/zend-diactoros's changelog.
... (truncated)
Commits
de5847b
docs: adds CHANGELOG entry for #3794d9905e
revert: Reverts changes from #3786ef7906
Bumps version to 2.2.166eded9
Merging develop to master in preparation for 2.2.0 release.15af09f
docs: prepare 2.2.0 CHANGELOG for releaseb6d4ed1
docs: adds CHANGELOG entry for #378f38c319
qa: adds tests for #378d4dec99
Changelog + doc changesbfe7a22
Making UploadedFile extend SplFileInfo8db5e63
docs: adds CHANGELOG entry for #376You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Vonage/vonage-php-code-snippets/network/alerts).