Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency guzzlehttp/guzzle to v7 - autoclosed #9

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 9, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
guzzlehttp/guzzle (source) require major 4.2.4 -> 7.4.2

Release Notes

guzzle/guzzle

v7.4.2

Compare Source

Fixed
  • Remove curl auth on cross-domain redirects to align with the Authorization HTTP header
  • Reject non-HTTP schemes in StreamHandler
  • Set a default ssl.peer_name context in StreamHandler to allow force_ip_resolve

v7.4.1

Compare Source

Changed
  • Replaced implicit URI to string coercion #​2946
  • Allow symfony/deprecation-contracts version 3 #​2961
Fixed
  • Only close curl handle if it's done #​2950

v7.4.0

Compare Source

Added
Fixed
  • Make sure we always call restore_error_handler() #​2915
  • Fix progress parameter type compatibility between the cURL and stream handlers #​2936
  • Throw InvalidArgumentException when an incorrect headers array is provided #​2916, #​2942
Changed

v7.3.0

Compare Source

Added
  • Support for DER and P12 certificates #​2413
  • Support the cURL (http://) scheme for StreamHandler proxies #​2850
  • Support for guzzlehttp/psr7:^2.0 #​2878
Fixed
  • Handle exceptions on invalid header consistently between PHP versions and handlers #​2872

v7.2.0

Compare Source

Added
Fixed
  • Handle exceptions during response creation #​2591
  • Fix CURLOPT_ENCODING not to be overwritten #​2595
  • Make sure the Request always has a body object #​2804
Changed
  • The TooManyRedirectsException has a response #​2660
  • Avoid "functions" from dependencies #​2712
Deprecated
  • Using environment variable GUZZLE_CURL_SELECT_TIMEOUT #​2786

v7.1.1

Compare Source

Fixed
  • Incorrect EOF detection for response body streams on Windows.
Changed
  • We dont connect curl sink on HEAD requests.
  • Removed some PHP 5 workarounds

v7.1.0

Compare Source

Added
  • GuzzleHttp\MessageFormatterInterface
Fixed
  • Fixed issue that caused cookies with no value not to be stored.
  • On redirects, we allow all safe methods like GET, HEAD and OPTIONS.
  • Fixed logging on empty responses.
  • Make sure MessageFormatter::format returns string
Deprecated
  • All functions in GuzzleHttp has been deprecated. Use static methods on Utils instead.
  • ClientInterface::getConfig()
  • Client::getConfig()
  • Client::__call()
  • Utils::defaultCaBundle()
  • CurlFactory::LOW_CURL_VERSION_NUMBER

v7.0.1

Compare Source

  • Fix multiply defined functions fatal error #​2699

v7.0.0

Compare Source

No changes since 7.0.0-rc1.

v6.5.5

Compare Source

v6.5.4

Compare Source

v6.5.3

Compare Source

v6.5.2

Compare Source

  • idn_to_ascii() fix for old PHP versions #​2489

v6.5.1

Compare Source

  • Better defaults for PHP installations with old ICU lib #​2454
  • IDN support for redirects #​2424

v6.5.0

Compare Source

  • Improvement: Added support for reset internal queue in MockHandler. #​2143
  • Improvement: Added support to pass arbitrary options to curl_multi_init. #​2287
  • Fix: Gracefully handle passing null to the header option. #​2132
  • Fix: RetryMiddleware did not do exponential delay between retires due unit mismatch. #​2132
  • Fix: Prevent undefined offset when using array for ssl_key options. #​2348
  • Deprecated ClientInterface::VERSION

v6.4.1

Compare Source

  • No guzzle.phar was created in 6.4.0 due expired API token. This release will fix that
  • Added parent::__construct() to FileCookieJar and SessionCookieJar

v6.4.0

Compare Source

  • Improvement: Improved error messages when using curl < 7.21.2 #​2108
  • Fix: Test if response is readable before returning a summary in RequestException::getResponseBodySummary() #​2081
  • Fix: Add support for GUZZLE_CURL_SELECT_TIMEOUT environment variable #​2161
  • Improvement: Added GuzzleHttp\Exception\InvalidArgumentException #​2163
  • Improvement: Added GuzzleHttp\_current_time() to use hrtime() if that function exists. #​2242
  • Improvement: Added curl's appconnect_time in TransferStats #​2284
  • Improvement: Make GuzzleException extend Throwable wherever it's available #​2273
  • Fix: Prevent concurrent writes to file when saving CookieJar #​2335
  • Improvement: Update MockHandler so we can test transfer time #​2362

v6.3.3

Compare Source

  • Fix: Default headers when decode_content is specified

v6.3.2

Compare Source

  • Fix: Release process

v6.3.1

Compare Source

  • Bug fix: Parsing 0 epoch expiry times in cookies #​2014
  • Improvement: Better ConnectException detection #​2012
  • Bug fix: Malformed domain that contains a "/" #​1999
  • Bug fix: Undefined offset when a cookie has no first key-value pair #​1998
  • Improvement: Support PHPUnit 6 #​1953
  • Bug fix: Support empty headers #​1915
  • Bug fix: Ignore case during header modifications #​1916
  • Minor code cleanups, documentation fixes and clarifications.

v6.3.0

Compare Source

  • Feature: force IP resolution (ipv4 or ipv6) #​1608, #​1659
  • Improvement: Don't include summary in exception message when body is empty #​1621
  • Improvement: Handle on_headers option in MockHandler #​1580
  • Improvement: Added SUSE Linux CA path #​1609
  • Improvement: Use class reference for getting the name of the class instead of using hardcoded strings #​1641
  • Feature: Added read_timeout option #​1611
  • Bug fix: PHP 7.x fixes #​1685, #​1686, #​1811
  • Deprecation: BadResponseException instantiation without a response #​1642
  • Feature: Added NTLM auth #​1569
  • Feature: Track redirect HTTP status codes #​1711
  • Improvement: Check handler type during construction #​1745
  • Improvement: Always include the Content-Length if there's a body #​1721
  • Feature: Added convenience method to access a cookie by name #​1318
  • Bug fix: Fill CURLOPT_CAPATH and CURLOPT_CAINFO properly #​1684
  • Improvement: Use \GuzzleHttp\Promise\rejection_for function instead of object init #​1827
  • Minor code cleanups, documentation fixes and clarifications.

v6.2.3

Compare Source

  • Fix deprecations with guzzle/psr7 version 1.4

v6.2.2

Compare Source

  • Allow to pass nullable Response to delay callable
  • Only add scheme when host is present
  • Fix drain case where content-length is the literal string zero
  • Obfuscate in-URL credentials in exceptions

v6.2.1

Compare Source

v6.2.0

Compare Source

v6.1.1

Compare Source

v6.1.0

Compare Source

v6.0.2

Compare Source

  • Fixed a memory leak in the curl handlers in which references to callbacks
    were not being removed by curl_reset.
  • Cookies are now extracted properly before redirects.
  • Cookies now allow more character ranges.
  • Decoded Content-Encoding responses are now modified to correctly reflect
    their state if the encoding was automatically removed by a handler. This
    means that the Content-Encoding header may be removed an the
    Content-Length modified to reflect the message size after removing the
    encoding.
  • Added a more explicit error message when trying to use form_params and
    multipart in the same request.
  • Several fixes for HHVM support.
  • Functions are now conditionally required using an additional level of
    indirection to help with global Composer installations.

v6.0.1

Compare Source

  • Fixed a bug with serializing the query request option where the &
    separator was missing.
  • Added a better error message for when body is provided as an array. Please
    use form_params or multipart instead.
  • Various doc fixes.

v6.0.0

Compare Source

  • See the UPGRADING.md document for more information.
  • Added multipart and form_params request options.
  • Added synchronous request option.
  • Added the on_headers request option.
  • Fixed expect handling.
  • No longer adding default middlewares in the client ctor. These need to be
    present on the provided handler in order to work.
  • Requests are no longer initiated when sending async requests with the
    CurlMultiHandler. This prevents unexpected recursion from requests completing
    while ticking the cURL loop.
  • Removed the semantics of setting default to true. This is no longer
    required now that the cURL loop is not ticked for async requests.
  • Added request and response logging middleware.
  • No longer allowing self signed certificates when using the StreamHandler.
  • Ensuring that sink is valid if saving to a file.
  • Request exceptions now include a "handler context" which provides handler
    specific contextual information.
  • Added GuzzleHttp\RequestOptions to allow request options to be applied
    using constants.
  • $maxHandles has been removed from CurlMultiHandler.
  • MultipartPostBody is now part of the guzzlehttp/psr7 package.

v5.3.4

Compare Source

v5.3.3

Compare Source

v5.3.2

Compare Source

v5.3.1

Compare Source

v5.3.0

Compare Source

  • Mock now supports save_to
  • Marked AbstractRequestEvent::getTransaction() as public.
  • Fixed a bug in which multiple headers using different casing would overwrite
    previous headers in the associative array.
  • Added Utils::getDefaultHandler()
  • Marked GuzzleHttp\Client::getDefaultUserAgent as deprecated.
  • URL scheme is now always lowercased.

v5.2.0

Compare Source

  • Added AppliesHeadersInterface to make applying headers to a request based
    on the body more generic and not specific to PostBodyInterface.
  • Reduced the number of stack frames needed to send requests.
  • Nested futures are now resolved in the client rather than the RequestFsm
  • Finishing state transitions is now handled in the RequestFsm rather than the
    RingBridge.
  • Added a guard in the Pool class to not use recursion for request retries.

v5.1.0

Compare Source

v5.0.3

Compare Source

This change updates query strings so that they are treated as un-encoded values
by default where the value represents an un-encoded value to send over the
wire. A Query object then encodes the value before sending over the wire. This
means that even value query string values (e.g., ":") are url encoded. This
makes the Query class match PHP's http_build_query function. However, if you
want to send requests over the wire using valid query string characters that do
not need to be encoded, then you can provide a string to Url::setQuery() and
pass true as the second argument to specify that the query string is a raw
string that should not be parsed or encoded (unless a call to getQuery() is
subsequently made, forcing the query-string to be converted into a Query
object).

v5.0.2

Compare Source

v5.0.1

Compare Source

Bugfix release.

v5.0.0

Compare Source

Adding support for non-blocking responses and some minor API cleanup.

New Features
  • Added support for non-blocking responses based on guzzlehttp/guzzle-ring.
  • Added a public API for creating a default HTTP adapter.
  • Updated the redirect plugin to be non-blocking so that redirects are sent
    concurrently. Other plugins like this can now be updated to be non-blocking.
  • Added a "progress" event so that you can get upload and download progress
    events.
  • Added GuzzleHttp\Pool which implements FutureInterface and transfers
    requests concurrently using a capped pool size as efficiently as possible.
  • Added hasListeners() to EmitterInterface.
  • Removed GuzzleHttp\ClientInterface::sendAll and marked
    GuzzleHttp\Client::sendAll as deprecated (it's still there, just not the
    recommended way).
Breaking changes

The breaking changes in this release are relatively minor. The biggest thing to
look out for is that request and response objects no longer implement fluent
interfaces.

  • Removed the fluent interfaces (i.e., return $this) from requests,
    responses, GuzzleHttp\Collection, GuzzleHttp\Url,
    GuzzleHttp\Query, GuzzleHttp\Post\PostBody, and
    GuzzleHttp\Cookie\SetCookie. This blog post provides a good outline of
    why I did this: https://ocramius.github.io/blog/fluent-interfaces-are-evil/.
    This also makes the Guzzle message interfaces compatible with the current
    PSR-7 message proposal.
  • Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except
    for the HTTP request functions from function.php, these functions are now
    implemented in GuzzleHttp\Utils using camelCase. GuzzleHttp\json_decode
    moved to GuzzleHttp\Utils::jsonDecode. GuzzleHttp\get_path moved to
    GuzzleHttp\Utils::getPath. GuzzleHttp\set_path moved to
    GuzzleHttp\Utils::setPath. GuzzleHttp\batch should now be
    GuzzleHttp\Pool::batch, which returns an objectStorage. Using functions.php
    caused problems for many users: they aren't PSR-4 compliant, require an
    explicit include, and needed an if-guard to ensure that the functions are not
    declared multiple times.
  • Rewrote adapter layer.
    • Removing all classes from GuzzleHttp\Adapter, these are now
      implemented as callables that are stored in GuzzleHttp\Ring\Client.
    • Removed the concept of "parallel adapters". Sending requests serially or
      concurrently is now handled using a single adapter.
    • Moved GuzzleHttp\Adapter\Transaction to GuzzleHttp\Transaction. The
      Transaction object now exposes the request, response, and client as public
      properties. The getters and setters have been removed.
  • Removed the "headers" event. This event was only useful for changing the
    body a response once the headers of the response were known. You can implement
    a similar behavior in a number of ways. One example might be to use a
    FnStream that has access to the transaction being sent. For example, when the
    first byte is written, you could check if the response headers match your
    expectations, and if so, change the actual stream body that is being
    written to.
  • Removed the asArray parameter from
    GuzzleHttp\Message\MessageInterface::getHeader. If you want to get a header
    value as an array, then use the newly added getHeaderAsArray() method of
    MessageInterface. This change makes the Guzzle interfaces compatible with
    the PSR-7 interfaces.
  • GuzzleHttp\Message\MessageFactory no longer allows subclasses to add
    custom request options using double-dispatch (this was an implementation
    detail). Instead, you should now provide an associative array to the
    constructor which is a mapping of the request option name mapping to a
    function that applies the option value to a request.
  • Removed the concept of "throwImmediately" from exceptions and error events.
    This control mechanism was used to stop a transfer of concurrent requests
    from completing. This can now be handled by throwing the exception or by
    cancelling a pool of requests or each outstanding future request individually.
  • Updated to "GuzzleHttp\Streams" 3.0.
    • GuzzleHttp\Stream\StreamInterface::getContents() no longer accepts a
      maxLen parameter. This update makes the Guzzle streams project
      compatible with the current PSR-7 proposal.
    • GuzzleHttp\Stream\Stream::__construct,
      GuzzleHttp\Stream\Stream::factory, and
      GuzzleHttp\Stream\Utils::create no longer accept a size in the second
      argument. They now accept an associative array of options, including the
      "size" key and "metadata" key which can be used to provide custom metadata.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Aug 9, 2020

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: docker run --rm --name=renovate_composer --label=renovate_child -v "/mnt/renovate/gh/lceberg/Gistr":"/mnt/renovate/gh/lceberg/Gistr" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/lceberg/Gistr" docker.io/renovate/composer:1.10.21 bash -l -c "composer update guzzlehttp/guzzle --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package laravel/framework (locked at v5.1.24, required as 5.8.38) is satisfiable by laravel/framework[v5.1.24] but these conflict with your requirements or minimum-stability.
  Problem 2
    - The requested package graham-campbell/github (locked at v4.4.2, required as 9.4.0) is satisfiable by graham-campbell/github[v4.4.2] but these conflict with your requirements or minimum-stability.
  Problem 3
    - laravel/socialite v2.0.4 requires guzzlehttp/guzzle ~4.0|~5.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.0-rc.1, 4.0.0-rc.2, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.x-dev, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - laravel/socialite v2.0.4 requires guzzlehttp/guzzle ~4.0|~5.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.0-rc.1, 4.0.0-rc.2, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.x-dev, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - Installation request for laravel/socialite 2.0.4 -> satisfiable by laravel/socialite[v2.0.4].


@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 6e0d7ae to 33d9943 Compare August 31, 2020 13:44
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 33d9943 to 18d6e64 Compare September 22, 2020 09:49
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 18d6e64 to f934aa2 Compare September 30, 2020 09:36
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from f934aa2 to 2f254c3 Compare October 10, 2020 12:44
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 2f254c3 to 61898f0 Compare April 26, 2021 17:36
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 61898f0 to b09d017 Compare October 19, 2021 00:24
@renovate
Copy link
Author

renovate bot commented Oct 19, 2021

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/lceberg/Gistr":"/mnt/renovate/gh/lceberg/Gistr" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/lceberg/Gistr" docker.io/renovate/php:8.1.4 bash -l -c "install-tool composer 1.10.25 && composer update guzzlehttp/guzzle --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Info from https://repo.packagist.org: �[37;44m#StandWith�[30;43mUkraine�[0m
Updating dependencies (including require-dev)
Deprecation Notice: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in phar:///home/ubuntu/composer/1.10.25/bin/composer/src/Composer/DependencyResolver/SolverProblemsException.php:80
Deprecation Notice: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in phar:///home/ubuntu/composer/1.10.25/bin/composer/src/Composer/DependencyResolver/SolverProblemsException.php:80
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package laravel/framework (locked at v5.1.24, required as 5.8.38) is satisfiable by laravel/framework[v5.1.24] but these conflict with your requirements or minimum-stability.
  Problem 2
    - The requested package graham-campbell/github (locked at v4.4.2, required as 9.4.0) is satisfiable by graham-campbell/github[v4.4.2] but these conflict with your requirements or minimum-stability.
  Problem 3
    - laravel/socialite v2.0.4 requires guzzlehttp/guzzle ~4.0|~5.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.0-rc.1, 4.0.0-rc.2, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.x-dev, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - laravel/socialite v2.0.4 requires guzzlehttp/guzzle ~4.0|~5.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.0-rc.1, 4.0.0-rc.2, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.x-dev, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - Installation request for laravel/socialite 2.0.4 -> satisfiable by laravel/socialite[v2.0.4].


@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from b09d017 to 9b28fca Compare March 7, 2022 17:13
@renovate renovate bot force-pushed the renovate/guzzlehttp-guzzle-7.x branch from 9b28fca to 9a3208b Compare March 26, 2022 14:34
@renovate renovate bot changed the title Update dependency guzzlehttp/guzzle to v7 Update dependency guzzlehttp/guzzle to v7 - autoclosed Jun 18, 2022
@renovate renovate bot closed this Jun 18, 2022
@renovate renovate bot deleted the renovate/guzzlehttp-guzzle-7.x branch June 18, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant