Warning, /webapps/ocs-webserver/library/vendor/guzzlehttp/psr7/CHANGELOG.md is written in an unsupported language. File is not indexed.
0001 # CHANGELOG 0002 0003 ## 1.4.2 - 2017-03-20 0004 0005 * Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing 0006 calls to `trigger_error` when deprecated methods are invoked. 0007 0008 ## 1.4.1 - 2017-02-27 0009 0010 * Reverted BC break by reintroducing behavior to automagically fix a URI with a 0011 relative path and an authority by adding a leading slash to the path. It's only 0012 deprecated now. 0013 * Added triggering of silenced deprecation warnings. 0014 0015 ## 1.4.0 - 2017-02-21 0016 0017 * Fix `Stream::read` when length parameter <= 0. 0018 * `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory. 0019 * Fix `ServerRequest::getUriFromGlobals` when `Host` header contains port. 0020 * Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form. 0021 * Allow `parse_response` to parse a response without delimiting space and reason. 0022 * Ensure each URI modification results in a valid URI according to PSR-7 discussions. 0023 Invalid modifications will throw an exception instead of returning a wrong URI or 0024 doing some magic. 0025 - `(new Uri)->withPath('foo')->withHost('example.com')` will throw an exception 0026 because the path of a URI with an authority must start with a slash "/" or be empty 0027 - `(new Uri())->withScheme('http')` will return `'http://localhost'` 0028 * Fix compatibility of URIs with `file` scheme and empty host. 0029 * Added common URI utility methods based on RFC 3986 (see documentation in the readme): 0030 - `Uri::isDefaultPort` 0031 - `Uri::isAbsolute` 0032 - `Uri::isNetworkPathReference` 0033 - `Uri::isAbsolutePathReference` 0034 - `Uri::isRelativePathReference` 0035 - `Uri::isSameDocumentReference` 0036 - `Uri::composeComponents` 0037 - `UriNormalizer::normalize` 0038 - `UriNormalizer::isEquivalent` 0039 - `UriResolver::relativize` 0040 * Deprecated `Uri::resolve` in favor of `UriResolver::resolve` 0041 * Deprecated `Uri::removeDotSegments` in favor of `UriResolver::removeDotSegments` 0042 0043 ## 1.3.1 - 2016-06-25 0044 0045 * Fix `Uri::__toString` for network path references, e.g. `//example.org`. 0046 * Fix missing lowercase normalization for host. 0047 * Fix handling of URI components in case they are `'0'` in a lot of places, 0048 e.g. as a user info password. 0049 * Fix `Uri::withAddedHeader` to correctly merge headers with different case. 0050 * Fix trimming of header values in `Uri::withAddedHeader`. Header values may 0051 be surrounded by whitespace which should be ignored according to RFC 7230 0052 Section 3.2.4. This does not apply to header names. 0053 * Fix `Uri::withAddedHeader` with an array of header values. 0054 * Fix `Uri::resolve` when base path has no slash and handling of fragment. 0055 * Fix handling of encoding in `Uri::with(out)QueryValue` so one can pass the 0056 key/value both in encoded as well as decoded form to those methods. This is 0057 consistent with withPath, withQuery etc. 0058 * Fix `ServerRequest::withoutAttribute` when attribute value is null. 0059 0060 ## 1.3.0 - 2016-04-13 0061 0062 * Added remaining interfaces needed for full PSR7 compatibility 0063 (ServerRequestInterface, UploadedFileInterface, etc.). 0064 * Added support for stream_for from scalars. 0065 * Can now extend Uri. 0066 * Fixed a bug in validating request methods by making it more permissive. 0067 0068 ## 1.2.3 - 2016-02-18 0069 0070 * Fixed support in `GuzzleHttp\Psr7\CachingStream` for seeking forward on remote 0071 streams, which can sometimes return fewer bytes than requested with `fread`. 0072 * Fixed handling of gzipped responses with FNAME headers. 0073 0074 ## 1.2.2 - 2016-01-22 0075 0076 * Added support for URIs without any authority. 0077 * Added support for HTTP 451 'Unavailable For Legal Reasons.' 0078 * Added support for using '0' as a filename. 0079 * Added support for including non-standard ports in Host headers. 0080 0081 ## 1.2.1 - 2015-11-02 0082 0083 * Now supporting negative offsets when seeking to SEEK_END. 0084 0085 ## 1.2.0 - 2015-08-15 0086 0087 * Body as `"0"` is now properly added to a response. 0088 * Now allowing forward seeking in CachingStream. 0089 * Now properly parsing HTTP requests that contain proxy targets in 0090 `parse_request`. 0091 * functions.php is now conditionally required. 0092 * user-info is no longer dropped when resolving URIs. 0093 0094 ## 1.1.0 - 2015-06-24 0095 0096 * URIs can now be relative. 0097 * `multipart/form-data` headers are now overridden case-insensitively. 0098 * URI paths no longer encode the following characters because they are allowed 0099 in URIs: "(", ")", "*", "!", "'" 0100 * A port is no longer added to a URI when the scheme is missing and no port is 0101 present. 0102 0103 ## 1.0.0 - 2015-05-19 0104 0105 Initial release. 0106 0107 Currently unsupported: 0108 0109 - `Psr\Http\Message\ServerRequestInterface` 0110 - `Psr\Http\Message\UploadedFileInterface`