Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../vendor/guzzleht.../psr7
File: CHANGELOG.md
# Change Log
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
All notable changes to this project will be documented in this file.
[3] Fix | Delete
[4] Fix | Delete
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
[5] Fix | Delete
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
[6] Fix | Delete
[7] Fix | Delete
[8] Fix | Delete
## Unreleased
[9] Fix | Delete
[10] Fix | Delete
## 1.8.3 - 2021-10-05
[11] Fix | Delete
[12] Fix | Delete
### Fixed
[13] Fix | Delete
[14] Fix | Delete
- Return `null` in caching stream size if remote size is `null`
[15] Fix | Delete
[16] Fix | Delete
## 1.8.2 - 2021-04-26
[17] Fix | Delete
[18] Fix | Delete
### Fixed
[19] Fix | Delete
[20] Fix | Delete
- Handle possibly unset `url` in `stream_get_meta_data`
[21] Fix | Delete
[22] Fix | Delete
## 1.8.1 - 2021-03-21
[23] Fix | Delete
[24] Fix | Delete
### Fixed
[25] Fix | Delete
[26] Fix | Delete
- Issue parsing IPv6 URLs
[27] Fix | Delete
- Issue modifying ServerRequest lost all its attributes
[28] Fix | Delete
[29] Fix | Delete
## 1.8.0 - 2021-03-21
[30] Fix | Delete
[31] Fix | Delete
### Added
[32] Fix | Delete
[33] Fix | Delete
- Locale independent URL parsing
[34] Fix | Delete
- Most classes got a `@final` annotation to prepare for 2.0
[35] Fix | Delete
[36] Fix | Delete
### Fixed
[37] Fix | Delete
[38] Fix | Delete
- Issue when creating stream from `php://input` and curl-ext is not installed
[39] Fix | Delete
- Broken `Utils::tryFopen()` on PHP 8
[40] Fix | Delete
[41] Fix | Delete
## 1.7.0 - 2020-09-30
[42] Fix | Delete
[43] Fix | Delete
### Added
[44] Fix | Delete
[45] Fix | Delete
- Replaced functions by static methods
[46] Fix | Delete
[47] Fix | Delete
### Fixed
[48] Fix | Delete
[49] Fix | Delete
- Converting a non-seekable stream to a string
[50] Fix | Delete
- Handle multiple Set-Cookie correctly
[51] Fix | Delete
- Ignore array keys in header values when merging
[52] Fix | Delete
- Allow multibyte characters to be parsed in `Message:bodySummary()`
[53] Fix | Delete
[54] Fix | Delete
### Changed
[55] Fix | Delete
[56] Fix | Delete
- Restored partial HHVM 3 support
[57] Fix | Delete
[58] Fix | Delete
[59] Fix | Delete
## [1.6.1] - 2019-07-02
[60] Fix | Delete
[61] Fix | Delete
### Fixed
[62] Fix | Delete
[63] Fix | Delete
- Accept null and bool header values again
[64] Fix | Delete
[65] Fix | Delete
[66] Fix | Delete
## [1.6.0] - 2019-06-30
[67] Fix | Delete
[68] Fix | Delete
### Added
[69] Fix | Delete
[70] Fix | Delete
- Allowed version `^3.0` of `ralouphie/getallheaders` dependency (#244)
[71] Fix | Delete
- Added MIME type for WEBP image format (#246)
[72] Fix | Delete
- Added more validation of values according to PSR-7 and RFC standards, e.g. status code range (#250, #272)
[73] Fix | Delete
[74] Fix | Delete
### Changed
[75] Fix | Delete
[76] Fix | Delete
- Tests don't pass with HHVM 4.0, so HHVM support got dropped. Other libraries like composer have done the same. (#262)
[77] Fix | Delete
- Accept port number 0 to be valid (#270)
[78] Fix | Delete
[79] Fix | Delete
### Fixed
[80] Fix | Delete
[81] Fix | Delete
- Fixed subsequent reads from `php://input` in ServerRequest (#247)
[82] Fix | Delete
- Fixed readable/writable detection for certain stream modes (#248)
[83] Fix | Delete
- Fixed encoding of special characters in the `userInfo` component of an URI (#253)
[84] Fix | Delete
[85] Fix | Delete
[86] Fix | Delete
## [1.5.2] - 2018-12-04
[87] Fix | Delete
[88] Fix | Delete
### Fixed
[89] Fix | Delete
[90] Fix | Delete
- Check body size when getting the message summary
[91] Fix | Delete
[92] Fix | Delete
[93] Fix | Delete
## [1.5.1] - 2018-12-04
[94] Fix | Delete
[95] Fix | Delete
### Fixed
[96] Fix | Delete
[97] Fix | Delete
- Get the summary of a body only if it is readable
[98] Fix | Delete
[99] Fix | Delete
[100] Fix | Delete
## [1.5.0] - 2018-12-03
[101] Fix | Delete
[102] Fix | Delete
### Added
[103] Fix | Delete
[104] Fix | Delete
- Response first-line to response string exception (fixes #145)
[105] Fix | Delete
- A test for #129 behavior
[106] Fix | Delete
- `get_message_body_summary` function in order to get the message summary
[107] Fix | Delete
- `3gp` and `mkv` mime types
[108] Fix | Delete
[109] Fix | Delete
### Changed
[110] Fix | Delete
[111] Fix | Delete
- Clarify exception message when stream is detached
[112] Fix | Delete
[113] Fix | Delete
### Deprecated
[114] Fix | Delete
[115] Fix | Delete
- Deprecated parsing folded header lines as per RFC 7230
[116] Fix | Delete
[117] Fix | Delete
### Fixed
[118] Fix | Delete
[119] Fix | Delete
- Fix `AppendStream::detach` to not close streams
[120] Fix | Delete
- `InflateStream` preserves `isSeekable` attribute of the underlying stream
[121] Fix | Delete
- `ServerRequest::getUriFromGlobals` to support URLs in query parameters
[122] Fix | Delete
[123] Fix | Delete
[124] Fix | Delete
Several other fixes and improvements.
[125] Fix | Delete
[126] Fix | Delete
[127] Fix | Delete
## [1.4.2] - 2017-03-20
[128] Fix | Delete
[129] Fix | Delete
### Fixed
[130] Fix | Delete
[131] Fix | Delete
- Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing
[132] Fix | Delete
calls to `trigger_error` when deprecated methods are invoked.
[133] Fix | Delete
[134] Fix | Delete
[135] Fix | Delete
## [1.4.1] - 2017-02-27
[136] Fix | Delete
[137] Fix | Delete
### Added
[138] Fix | Delete
[139] Fix | Delete
- Rriggering of silenced deprecation warnings.
[140] Fix | Delete
[141] Fix | Delete
### Fixed
[142] Fix | Delete
[143] Fix | Delete
- Reverted BC break by reintroducing behavior to automagically fix a URI with a
[144] Fix | Delete
relative path and an authority by adding a leading slash to the path. It's only
[145] Fix | Delete
deprecated now.
[146] Fix | Delete
[147] Fix | Delete
[148] Fix | Delete
## [1.4.0] - 2017-02-21
[149] Fix | Delete
[150] Fix | Delete
### Added
[151] Fix | Delete
[152] Fix | Delete
- Added common URI utility methods based on RFC 3986 (see documentation in the readme):
[153] Fix | Delete
- `Uri::isDefaultPort`
[154] Fix | Delete
- `Uri::isAbsolute`
[155] Fix | Delete
- `Uri::isNetworkPathReference`
[156] Fix | Delete
- `Uri::isAbsolutePathReference`
[157] Fix | Delete
- `Uri::isRelativePathReference`
[158] Fix | Delete
- `Uri::isSameDocumentReference`
[159] Fix | Delete
- `Uri::composeComponents`
[160] Fix | Delete
- `UriNormalizer::normalize`
[161] Fix | Delete
- `UriNormalizer::isEquivalent`
[162] Fix | Delete
- `UriResolver::relativize`
[163] Fix | Delete
[164] Fix | Delete
### Changed
[165] Fix | Delete
[166] Fix | Delete
- Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form.
[167] Fix | Delete
- Allow `parse_response` to parse a response without delimiting space and reason.
[168] Fix | Delete
- Ensure each URI modification results in a valid URI according to PSR-7 discussions.
[169] Fix | Delete
Invalid modifications will throw an exception instead of returning a wrong URI or
[170] Fix | Delete
doing some magic.
[171] Fix | Delete
- `(new Uri)->withPath('foo')->withHost('example.com')` will throw an exception
[172] Fix | Delete
because the path of a URI with an authority must start with a slash "/" or be empty
[173] Fix | Delete
- `(new Uri())->withScheme('http')` will return `'http://localhost'`
[174] Fix | Delete
[175] Fix | Delete
### Deprecated
[176] Fix | Delete
[177] Fix | Delete
- `Uri::resolve` in favor of `UriResolver::resolve`
[178] Fix | Delete
- `Uri::removeDotSegments` in favor of `UriResolver::removeDotSegments`
[179] Fix | Delete
[180] Fix | Delete
### Fixed
[181] Fix | Delete
[182] Fix | Delete
- `Stream::read` when length parameter <= 0.
[183] Fix | Delete
- `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory.
[184] Fix | Delete
- `ServerRequest::getUriFromGlobals` when `Host` header contains port.
[185] Fix | Delete
- Compatibility of URIs with `file` scheme and empty host.
[186] Fix | Delete
[187] Fix | Delete
[188] Fix | Delete
## [1.3.1] - 2016-06-25
[189] Fix | Delete
[190] Fix | Delete
### Fixed
[191] Fix | Delete
[192] Fix | Delete
- `Uri::__toString` for network path references, e.g. `//example.org`.
[193] Fix | Delete
- Missing lowercase normalization for host.
[194] Fix | Delete
- Handling of URI components in case they are `'0'` in a lot of places,
[195] Fix | Delete
e.g. as a user info password.
[196] Fix | Delete
- `Uri::withAddedHeader` to correctly merge headers with different case.
[197] Fix | Delete
- Trimming of header values in `Uri::withAddedHeader`. Header values may
[198] Fix | Delete
be surrounded by whitespace which should be ignored according to RFC 7230
[199] Fix | Delete
Section 3.2.4. This does not apply to header names.
[200] Fix | Delete
- `Uri::withAddedHeader` with an array of header values.
[201] Fix | Delete
- `Uri::resolve` when base path has no slash and handling of fragment.
[202] Fix | Delete
- Handling of encoding in `Uri::with(out)QueryValue` so one can pass the
[203] Fix | Delete
key/value both in encoded as well as decoded form to those methods. This is
[204] Fix | Delete
consistent with withPath, withQuery etc.
[205] Fix | Delete
- `ServerRequest::withoutAttribute` when attribute value is null.
[206] Fix | Delete
[207] Fix | Delete
[208] Fix | Delete
## [1.3.0] - 2016-04-13
[209] Fix | Delete
[210] Fix | Delete
### Added
[211] Fix | Delete
[212] Fix | Delete
- Remaining interfaces needed for full PSR7 compatibility
[213] Fix | Delete
(ServerRequestInterface, UploadedFileInterface, etc.).
[214] Fix | Delete
- Support for stream_for from scalars.
[215] Fix | Delete
[216] Fix | Delete
### Changed
[217] Fix | Delete
[218] Fix | Delete
- Can now extend Uri.
[219] Fix | Delete
[220] Fix | Delete
### Fixed
[221] Fix | Delete
- A bug in validating request methods by making it more permissive.
[222] Fix | Delete
[223] Fix | Delete
[224] Fix | Delete
## [1.2.3] - 2016-02-18
[225] Fix | Delete
[226] Fix | Delete
### Fixed
[227] Fix | Delete
[228] Fix | Delete
- Support in `GuzzleHttp\Psr7\CachingStream` for seeking forward on remote
[229] Fix | Delete
streams, which can sometimes return fewer bytes than requested with `fread`.
[230] Fix | Delete
- Handling of gzipped responses with FNAME headers.
[231] Fix | Delete
[232] Fix | Delete
[233] Fix | Delete
## [1.2.2] - 2016-01-22
[234] Fix | Delete
[235] Fix | Delete
### Added
[236] Fix | Delete
[237] Fix | Delete
- Support for URIs without any authority.
[238] Fix | Delete
- Support for HTTP 451 'Unavailable For Legal Reasons.'
[239] Fix | Delete
- Support for using '0' as a filename.
[240] Fix | Delete
- Support for including non-standard ports in Host headers.
[241] Fix | Delete
[242] Fix | Delete
[243] Fix | Delete
## [1.2.1] - 2015-11-02
[244] Fix | Delete
[245] Fix | Delete
### Changes
[246] Fix | Delete
[247] Fix | Delete
- Now supporting negative offsets when seeking to SEEK_END.
[248] Fix | Delete
[249] Fix | Delete
[250] Fix | Delete
## [1.2.0] - 2015-08-15
[251] Fix | Delete
[252] Fix | Delete
### Changed
[253] Fix | Delete
[254] Fix | Delete
- Body as `"0"` is now properly added to a response.
[255] Fix | Delete
- Now allowing forward seeking in CachingStream.
[256] Fix | Delete
- Now properly parsing HTTP requests that contain proxy targets in
[257] Fix | Delete
`parse_request`.
[258] Fix | Delete
- functions.php is now conditionally required.
[259] Fix | Delete
- user-info is no longer dropped when resolving URIs.
[260] Fix | Delete
[261] Fix | Delete
[262] Fix | Delete
## [1.1.0] - 2015-06-24
[263] Fix | Delete
[264] Fix | Delete
### Changed
[265] Fix | Delete
[266] Fix | Delete
- URIs can now be relative.
[267] Fix | Delete
- `multipart/form-data` headers are now overridden case-insensitively.
[268] Fix | Delete
- URI paths no longer encode the following characters because they are allowed
[269] Fix | Delete
in URIs: "(", ")", "*", "!", "'"
[270] Fix | Delete
- A port is no longer added to a URI when the scheme is missing and no port is
[271] Fix | Delete
present.
[272] Fix | Delete
[273] Fix | Delete
[274] Fix | Delete
## 1.0.0 - 2015-05-19
[275] Fix | Delete
[276] Fix | Delete
Initial release.
[277] Fix | Delete
[278] Fix | Delete
Currently unsupported:
[279] Fix | Delete
[280] Fix | Delete
- `Psr\Http\Message\ServerRequestInterface`
[281] Fix | Delete
- `Psr\Http\Message\UploadedFileInterface`
[282] Fix | Delete
[283] Fix | Delete
[284] Fix | Delete
[285] Fix | Delete
[1.6.0]: https://github.com/guzzle/psr7/compare/1.5.2...1.6.0
[286] Fix | Delete
[1.5.2]: https://github.com/guzzle/psr7/compare/1.5.1...1.5.2
[287] Fix | Delete
[1.5.1]: https://github.com/guzzle/psr7/compare/1.5.0...1.5.1
[288] Fix | Delete
[1.5.0]: https://github.com/guzzle/psr7/compare/1.4.2...1.5.0
[289] Fix | Delete
[1.4.2]: https://github.com/guzzle/psr7/compare/1.4.1...1.4.2
[290] Fix | Delete
[1.4.1]: https://github.com/guzzle/psr7/compare/1.4.0...1.4.1
[291] Fix | Delete
[1.4.0]: https://github.com/guzzle/psr7/compare/1.3.1...1.4.0
[292] Fix | Delete
[1.3.1]: https://github.com/guzzle/psr7/compare/1.3.0...1.3.1
[293] Fix | Delete
[1.3.0]: https://github.com/guzzle/psr7/compare/1.2.3...1.3.0
[294] Fix | Delete
[1.2.3]: https://github.com/guzzle/psr7/compare/1.2.2...1.2.3
[295] Fix | Delete
[1.2.2]: https://github.com/guzzle/psr7/compare/1.2.1...1.2.2
[296] Fix | Delete
[1.2.1]: https://github.com/guzzle/psr7/compare/1.2.0...1.2.1
[297] Fix | Delete
[1.2.0]: https://github.com/guzzle/psr7/compare/1.1.0...1.2.0
[298] Fix | Delete
[1.1.0]: https://github.com/guzzle/psr7/compare/1.0.0...1.1.0
[299] Fix | Delete
[300] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function