WyriHaximus / react-guzzle-http-client

Meta package for ReactPHP HttpClient adapters/handles for Guzzle 4, 5, and 6.
MIT License
10 stars 8 forks source link

Bump clue/buzz-react from 2.1.0 to 2.5.0 #20

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps clue/buzz-react from 2.1.0 to 2.5.0.

Release notes *Sourced from [clue/buzz-react's releases](https://github.com/clue/php-buzz-react/releases).* > ## v2.5.0 > * Feature: Add HTTP timeout option. > ([#114](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/114) by [**Rakdar**](https://github.com/Rakdar) and [**clue**](https://github.com/clue)) > > This now respects PHP's `default_socket_timeout` setting (default 60s) as a > timeout for sending the outgoing HTTP request and waiting for a successful > response and will otherwise cancel the pending request and reject its value > with an Exception. You can now use the [`timeout` option](https://github.com/clue/php-buzz-react/#withoptions) to > pass a custom timeout value in seconds like this: > > ```php > $browser = $browser->withOptions(array( > 'timeout' => 10.0 > )); > > $browser->get($uri)->then(function (ResponseInterface $response) { > // response received within 10 seconds maximum > var_dump($response->getHeaders()); > }); > ``` > > Similarly, you can use a negative timeout value to not apply a timeout at > all or use a `null` value to restore the default handling. > > * Improve documentation for `withOptions()` and > add documentation and example for HTTP CONNECT proxy. > ([#111](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/111) and [#115](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/115) by [**clue**](https://github.com/clue)) > > * Refactor `Browser` to reuse single `Transaction` instance internally > which now accepts sending individual requests and their options. > ([#113](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/113) by [**clue**](https://github.com/clue)) > > ## v2.4.0 > * Feature / Fix: Support cancellation forwarding and cancelling redirected requests. > ([#110](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/110) by [**clue**](https://github.com/clue)) > > * Feature / Fix: Remove `Authorization` request header for redirected cross-origin requests > and add documentation for HTTP redirects. > ([#108](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/108) by [**clue**](https://github.com/clue)) > > * Improve API documentation and add documentation for HTTP authentication and `Authorization` header. > ([#104](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/104) and [#109](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/109) by [**clue**](https://github.com/clue)) > > * Update project homepage. > ([#100](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/100) by [**clue**](https://github.com/clue)) > > ## v2.3.0 > * Feature / Fix: Pass custom request headers when following redirects > ([#91](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/91) by [**seregazhuk**](https://github.com/seregazhuk) and [#96](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/96) by [**clue**](https://github.com/clue)) > > ... (truncated)
Changelog *Sourced from [clue/buzz-react's changelog](https://github.com/clue/reactphp-buzz/blob/master/CHANGELOG.md).* > ## 2.5.0 (2018-10-24) > > * Feature: Add HTTP timeout option. > ([#114](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/114) by [**Rakdar**](https://github.com/Rakdar) and [**clue**](https://github.com/clue)) > > This now respects PHP's `default_socket_timeout` setting (default 60s) as a > timeout for sending the outgoing HTTP request and waiting for a successful > response and will otherwise cancel the pending request and reject its value > with an Exception. You can now use the [`timeout` option](https://github.com/clue/reactphp-buzz/blob/master/#withoptions) to > pass a custom timeout value in seconds like this: > > ```php > $browser = $browser->withOptions(array( > 'timeout' => 10.0 > )); > > $browser->get($uri)->then(function (ResponseInterface $response) { > // response received within 10 seconds maximum > var_dump($response->getHeaders()); > }); > ``` > > Similarly, you can use a negative timeout value to not apply a timeout at > all or use a `null` value to restore the default handling. > > * Improve documentation for `withOptions()` and > add documentation and example for HTTP CONNECT proxy. > ([#111](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/111) and [#115](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/115) by [**clue**](https://github.com/clue)) > > * Refactor `Browser` to reuse single `Transaction` instance internally > which now accepts sending individual requests and their options. > ([#113](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/113) by [**clue**](https://github.com/clue)) > > ## 2.4.0 (2018-10-02) > > * Feature / Fix: Support cancellation forwarding and cancelling redirected requests. > ([#110](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/110) by [**clue**](https://github.com/clue)) > > * Feature / Fix: Remove `Authorization` request header for redirected cross-origin requests > and add documentation for HTTP redirects. > ([#108](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/108) by [**clue**](https://github.com/clue)) > > * Improve API documentation and add documentation for HTTP authentication and `Authorization` header. > ([#104](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/104) and [#109](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/109) by [**clue**](https://github.com/clue)) > > * Update project homepage. > ([#100](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/100) by [**clue**](https://github.com/clue)) > > ## 2.3.0 (2018-02-09) > > ... (truncated)
Commits - [`758a731`](https://github.com/clue/reactphp-buzz/commit/758a731c626eac2b88bad5359431650ef7384a55) Prepare v2.5.0 release - [`9f54c5b`](https://github.com/clue/reactphp-buzz/commit/9f54c5bf3fffebeaef4d72db992066394b1b034f) Merge pull request [#115](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/115) from clue-labs/http-proxy - [`0707f62`](https://github.com/clue/reactphp-buzz/commit/0707f6289195519d1f0ccc31340c42e9d4cd9ba3) Documentation and example for HTTP CONNECT proxy - [`0b316c9`](https://github.com/clue/reactphp-buzz/commit/0b316c922004110a92a10aad4f41e2f7d51acbd7) Merge pull request [#114](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/114) from clue-labs/timeouts - [`32de457`](https://github.com/clue/reactphp-buzz/commit/32de45790aec4277876a2515e554c62966631b02) Make timeout optional and add documentation - [`ce29538`](https://github.com/clue/reactphp-buzz/commit/ce29538e1c8dac3f84d567e66a0f138596e134b6) Merge pull request [#113](https://github-redirect.dependabot.com/clue/php-buzz-react/issues/113) from clue-labs/refactor-transaction - [`bd2d898`](https://github.com/clue/reactphp-buzz/commit/bd2d8982eaa5325eeabda6a0ea233d61c32e4b99) Added Timeout-Promise to Transaction::send() - [`4d296fb`](https://github.com/clue/reactphp-buzz/commit/4d296fbd3ac89069f51df7730dbbc5db8b17c580) Refactor Browser to reuse single Transaction instance - [`0202f3a`](https://github.com/clue/reactphp-buzz/commit/0202f3a1dcf381ebe43cd4231c75d755aff2cb61) Refactor Sender to accept MessageFactory during constructor - [`e661a4c`](https://github.com/clue/reactphp-buzz/commit/e661a4cb7e101aeeb0040a663e8b3f75bd7a0964) Prepare Transaction to accept options from Browser - Additional commits viewable in [compare view](https://github.com/clue/php-buzz-react/compare/v2.1.0...v2.5.0)


Dependabot compatibility score

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.