Release notes
*Sourced from [guzzlehttp/psr7's releases](https://github.com/guzzle/psr7/releases).*
> ## 1.5.0
> After a really long waiting period, 1.5.0 is finally here with the following changes:
>
> ### Added
>
> - Response first-line to response string exception (fixes [#145](https://github-redirect.dependabot.com/guzzle/psr7/issues/145))
> - A test for [#129](https://github-redirect.dependabot.com/guzzle/psr7/issues/129) behavior
> - `get_message_body_summary` function in order to get the message summary
> - `3gp` and `mkv` mime types
>
> ### Changed
>
> - Clarify exception message when stream is detached
>
> ### Deprecated
>
> - Deprecated parsing folded header lines as per RFC 7230
>
> ### Fixed
>
> - Fix `AppendStream::detach` to not close streams
> - `InflateStream` preserves `isSeekable` attribute of the underlying stream
> - `ServerRequest::getUriFromGlobals` to support URLs in query parameters
>
>
> Several other fixes and improvements.
>
> ## 1.4.0
> - Fix `Stream::read` when length parameter <= 0.
> - `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory.
> - Fix `ServerRequest::getUriFromGlobals` when `Host` header contains port.
> - Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form.
> - Allow `parse_response` to parse a response without delimiting space and reason.
> - Ensure each URI modification results in a valid URI according to PSR-7 discussions.
> Invalid modifications will throw an exception instead of returning a wrong URI or
> doing some magic.
> - `(new Uri)->withPath('foo')->withHost('example.com')` will throw an exception
> because the path of a URI with an authority must start with a slash "/" or be empty
> - `(new Uri())->withScheme('http')` will return `'http://localhost'`
> - Fix compatibility of URIs with `file` scheme and empty host.
> - Added common URI utility methods based on RFC 3986 (see documentation in the readme):
> - `Uri::isDefaultPort`
> - `Uri::isAbsolute`
> - `Uri::isNetworkPathReference`
> - `Uri::isAbsolutePathReference`
> - `Uri::isRelativePathReference`
> - `Uri::isSameDocumentReference`
> - `Uri::composeComponents`
> - `UriNormalizer::normalize`
> - `UriNormalizer::isEquivalent`
> ... (truncated)
Changelog
*Sourced from [guzzlehttp/psr7's changelog](https://github.com/guzzle/psr7/blob/master/CHANGELOG.md).*
> ## [1.5.2] - 2018-12-04
>
> ### Fixed
>
> - Check body size when getting the message summary
>
>
> ## [1.5.1] - 2018-12-04
>
> ### Fixed
>
> - Get the summary of a body only if it is readable
>
>
> ## [1.5.0] - 2018-12-03
>
> ### Added
>
> - Response first-line to response string exception (fixes [#145](https://github-redirect.dependabot.com/guzzle/psr7/issues/145))
> - A test for [#129](https://github-redirect.dependabot.com/guzzle/psr7/issues/129) behavior
> - `get_message_body_summary` function in order to get the message summary
> - `3gp` and `mkv` mime types
>
> ### Changed
>
> - Clarify exception message when stream is detached
>
> ### Deprecated
>
> - Deprecated parsing folded header lines as per RFC 7230
>
> ### Fixed
>
> - Fix `AppendStream::detach` to not close streams
> - `InflateStream` preserves `isSeekable` attribute of the underlying stream
> - `ServerRequest::getUriFromGlobals` to support URLs in query parameters
>
>
> Several other fixes and improvements.
>
>
> ## [1.4.2] - 2017-03-20
>
> ### Fixed
>
> - Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing
> calls to `trigger_error` when deprecated methods are invoked.
>
>
> ## [1.4.1] - 2017-02-27
> ... (truncated)
Commits
- [`9f83dde`](https://github.com/guzzle/psr7/commit/9f83dded91781a01c63574e387eaa769be769115) Prepare release
- [`fceffe4`](https://github.com/guzzle/psr7/commit/fceffe4f679f3798f99e9dc3ee0278fff2c54029) Merge pull request [#234](https://github-redirect.dependabot.com/guzzle/psr7/issues/234) from gmponos/check_when_body_is_empty
- [`cec376c`](https://github.com/guzzle/psr7/commit/cec376c74fcfab509b8a70f2f0b3723e8e7a6de7) When body size is zero return null on get_message_body_summary function
- [`9b809aa`](https://github.com/guzzle/psr7/commit/9b809aa5fcc7c6bddf35bea6cec77e86b8485a5c) Update changelog
- [`7d42f69`](https://github.com/guzzle/psr7/commit/7d42f6966ccc12b4744a186383f8ee950ec1ea46) Merge pull request [#232](https://github-redirect.dependabot.com/guzzle/psr7/issues/232) from gmponos/readonly_summary
- [`7f9c73c`](https://github.com/guzzle/psr7/commit/7f9c73c6bc96fec612581ca2599e5f6c670422df) Get the summary of a body only if it is readable
- [`53662d6`](https://github.com/guzzle/psr7/commit/53662d6688033a5eccde987bdd5a4a98ebe2d952) Prepare release
- [`0fe4162`](https://github.com/guzzle/psr7/commit/0fe41626ff6e0dc45b330c82aae99b523d3ee278) Update travis
- [`14a7e3c`](https://github.com/guzzle/psr7/commit/14a7e3c8109c512998a36141ed4091d00f38a0a0) Merge pull request [#229](https://github-redirect.dependabot.com/guzzle/psr7/issues/229) from guzzle/3gp
- [`0945bfb`](https://github.com/guzzle/psr7/commit/0945bfb0a52f89081d7a482f9534cdbb087345ad) Add 3gp extension to mime types
- Additional commits viewable in [compare view](https://github.com/guzzle/psr7/compare/1.1.0...1.5.2)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps guzzlehttp/psr7 from 1.1.0 to 1.5.2.
Release notes
*Sourced from [guzzlehttp/psr7's releases](https://github.com/guzzle/psr7/releases).* > ## 1.5.0 > After a really long waiting period, 1.5.0 is finally here with the following changes: > > ### Added > > - Response first-line to response string exception (fixes [#145](https://github-redirect.dependabot.com/guzzle/psr7/issues/145)) > - A test for [#129](https://github-redirect.dependabot.com/guzzle/psr7/issues/129) behavior > - `get_message_body_summary` function in order to get the message summary > - `3gp` and `mkv` mime types > > ### Changed > > - Clarify exception message when stream is detached > > ### Deprecated > > - Deprecated parsing folded header lines as per RFC 7230 > > ### Fixed > > - Fix `AppendStream::detach` to not close streams > - `InflateStream` preserves `isSeekable` attribute of the underlying stream > - `ServerRequest::getUriFromGlobals` to support URLs in query parameters > > > Several other fixes and improvements. > > ## 1.4.0 > - Fix `Stream::read` when length parameter <= 0. > - `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory. > - Fix `ServerRequest::getUriFromGlobals` when `Host` header contains port. > - Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form. > - Allow `parse_response` to parse a response without delimiting space and reason. > - Ensure each URI modification results in a valid URI according to PSR-7 discussions. > Invalid modifications will throw an exception instead of returning a wrong URI or > doing some magic. > - `(new Uri)->withPath('foo')->withHost('example.com')` will throw an exception > because the path of a URI with an authority must start with a slash "/" or be empty > - `(new Uri())->withScheme('http')` will return `'http://localhost'` > - Fix compatibility of URIs with `file` scheme and empty host. > - Added common URI utility methods based on RFC 3986 (see documentation in the readme): > - `Uri::isDefaultPort` > - `Uri::isAbsolute` > - `Uri::isNetworkPathReference` > - `Uri::isAbsolutePathReference` > - `Uri::isRelativePathReference` > - `Uri::isSameDocumentReference` > - `Uri::composeComponents` > - `UriNormalizer::normalize` > - `UriNormalizer::isEquivalent` > ... (truncated)Changelog
*Sourced from [guzzlehttp/psr7's changelog](https://github.com/guzzle/psr7/blob/master/CHANGELOG.md).* > ## [1.5.2] - 2018-12-04 > > ### Fixed > > - Check body size when getting the message summary > > > ## [1.5.1] - 2018-12-04 > > ### Fixed > > - Get the summary of a body only if it is readable > > > ## [1.5.0] - 2018-12-03 > > ### Added > > - Response first-line to response string exception (fixes [#145](https://github-redirect.dependabot.com/guzzle/psr7/issues/145)) > - A test for [#129](https://github-redirect.dependabot.com/guzzle/psr7/issues/129) behavior > - `get_message_body_summary` function in order to get the message summary > - `3gp` and `mkv` mime types > > ### Changed > > - Clarify exception message when stream is detached > > ### Deprecated > > - Deprecated parsing folded header lines as per RFC 7230 > > ### Fixed > > - Fix `AppendStream::detach` to not close streams > - `InflateStream` preserves `isSeekable` attribute of the underlying stream > - `ServerRequest::getUriFromGlobals` to support URLs in query parameters > > > Several other fixes and improvements. > > > ## [1.4.2] - 2017-03-20 > > ### Fixed > > - Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing > calls to `trigger_error` when deprecated methods are invoked. > > > ## [1.4.1] - 2017-02-27 > ... (truncated)Commits
- [`9f83dde`](https://github.com/guzzle/psr7/commit/9f83dded91781a01c63574e387eaa769be769115) Prepare release - [`fceffe4`](https://github.com/guzzle/psr7/commit/fceffe4f679f3798f99e9dc3ee0278fff2c54029) Merge pull request [#234](https://github-redirect.dependabot.com/guzzle/psr7/issues/234) from gmponos/check_when_body_is_empty - [`cec376c`](https://github.com/guzzle/psr7/commit/cec376c74fcfab509b8a70f2f0b3723e8e7a6de7) When body size is zero return null on get_message_body_summary function - [`9b809aa`](https://github.com/guzzle/psr7/commit/9b809aa5fcc7c6bddf35bea6cec77e86b8485a5c) Update changelog - [`7d42f69`](https://github.com/guzzle/psr7/commit/7d42f6966ccc12b4744a186383f8ee950ec1ea46) Merge pull request [#232](https://github-redirect.dependabot.com/guzzle/psr7/issues/232) from gmponos/readonly_summary - [`7f9c73c`](https://github.com/guzzle/psr7/commit/7f9c73c6bc96fec612581ca2599e5f6c670422df) Get the summary of a body only if it is readable - [`53662d6`](https://github.com/guzzle/psr7/commit/53662d6688033a5eccde987bdd5a4a98ebe2d952) Prepare release - [`0fe4162`](https://github.com/guzzle/psr7/commit/0fe41626ff6e0dc45b330c82aae99b523d3ee278) Update travis - [`14a7e3c`](https://github.com/guzzle/psr7/commit/14a7e3c8109c512998a36141ed4091d00f38a0a0) Merge pull request [#229](https://github-redirect.dependabot.com/guzzle/psr7/issues/229) from guzzle/3gp - [`0945bfb`](https://github.com/guzzle/psr7/commit/0945bfb0a52f89081d7a482f9534cdbb087345ad) Add 3gp extension to mime types - Additional commits viewable in [compare view](https://github.com/guzzle/psr7/compare/1.1.0...1.5.2)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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 cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.