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

Bump php-http/httplug-bundle from 1.34.3 to 2.0.0 #5251

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2024

Bumps php-http/httplug-bundle from 1.34.3 to 2.0.0.

Release notes

Sourced from php-http/httplug-bundle's releases.

2.0.0

  • Increased min PHP version to 8.1
  • Removed the deprecated httplug_markup twig filter. Use @Httplug/http_message.html.twig template instead.
  • Removed deprecated configuration options:
    • toolbar: Use profiling instead.
    • respect_cache_headers: Use respect_response_cache_directives instead.
  • Removed the deprecated Http\HttplugBundle\ClientFactory\PluginClientFactory. Use Http\Client\Common\PluginClientFactory instead.
  • Fixed a deprecation when creating a HttpMethodsClient via http_methods_client: true. Only PSR-17 factories are now passed as constructor arguments.
  • Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
  • Creating a client using the BuzzFactory no longer accepts verify_peer and verify_host config options. Only a boolean verify flag is accepted, covering both previous options.
  • Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.
  • Removed message_factory, uri_factory, and stream_factory classes config option. You can configure your own factories via psr17_*_factory classes config
  • Removed support for guzzle5-adapter
  • Removed support for Symfony versions <5.4
  • Changed the return type of ClientFactory to return a ClientInterface instead of ClientInterface|HttpClient
  • Changed the type of httplug.client.default to ClientInterface instead of HttpClient
  • Removed the DummyClient interface
  • Removed the Http\Client\HttpClient alias use the Psr\Http\Client\ClientInterface typehint in your services for autowiring.
  • Changed classes marked as @final to be actually final. If you extended any of those, instead implement interfaces or decorate the class rather than extending it. Open an issue if you think a class needs to be made non-final to discuss what we should do.
  • Added return type declaration to Http\HttplugBundle\ClientFactory\ClientFactory::createClient
  • Added interface name alias for the Http\Mock\Client and all PSR17 factories to help with autowiring.
Changelog

Sourced from php-http/httplug-bundle's changelog.

2.0.0 - 2024-09-16

  • Increased min PHP version to 8.1
  • Removed the deprecated httplug_markup twig filter. Use @Httplug/http_message.html.twig template instead.
  • Removed deprecated configuration options:
    • toolbar: Use profiling instead.
    • respect_cache_headers: Use respect_response_cache_directives instead.
  • Removed the deprecated Http\HttplugBundle\ClientFactory\PluginClientFactory. Use Http\Client\Common\PluginClientFactory instead.
  • Fixed a deprecation when creating a HttpMethodsClient via http_methods_client: true. Only PSR-17 factories are now passed as constructor arguments.
  • Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
  • Creating a client using the BuzzFactory no longer accepts verify_peer and verify_host config options. Only a boolean verify flag is accepted, covering both previous options.
  • Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.
  • Removed message_factory, uri_factory, and stream_factory classes config option. You can configure your own factories via psr17_*_factory classes config
  • Removed support for guzzle5-adapter
  • Removed support for Symfony versions <5.4
  • Changed the return type of ClientFactory to return a ClientInterface instead of ClientInterface|HttpClient
  • Changed the type of httplug.client.default to ClientInterface instead of HttpClient
  • Removed the DummyClient interface
  • Removed the Http\Client\HttpClient alias use the Psr\Http\Client\ClientInterface typehint in your services for autowiring.
  • Changed classes marked as @final to be actually final. If you extended any of those, instead implement interfaces or decorate the class rather than extending it. Open an issue if you think a class needs to be made non-final to discuss what we should do.
  • Added return type declaration to Http\HttplugBundle\ClientFactory\ClientFactory::createClient
  • Added interface name alias for the Http\Mock\Client and all PSR17 factories to help with autowiring.

Version 1

Commits
  • a8b5648 prepare release
  • f95097d Merge pull request #475 from php-http/alias
  • 34957a1 add autowiring alias
  • 2b25608 Merge pull request #472 from php-http/remove-deprecated-code
  • a561ace remove all deprecated code
  • b621fbd Merge pull request #473 from php-http/strict-typing
  • a996b9b Declare parameter and return types
  • ffeb988 make classes final for 2.0 (#321)
  • 4d1ca68 Merge pull request #471 from php-http/1-to-2
  • 9ddc2b4 Merge remote-tracking branch 'origin/1.x' into 1-to-2
  • Additional commits viewable in compare view

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.


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 squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)

Bumps [php-http/httplug-bundle](https://github.com/php-http/HttplugBundle) from 1.34.3 to 2.0.0.
- [Release notes](https://github.com/php-http/HttplugBundle/releases)
- [Changelog](https://github.com/php-http/HttplugBundle/blob/2.x/CHANGELOG.md)
- [Commits](php-http/HttplugBundle@1.34.3...2.0.0)

---
updated-dependencies:
- dependency-name: php-http/httplug-bundle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 17, 2024
@dependabot dependabot bot requested a review from dmetzner September 17, 2024 02:19
@dmetzner dmetzner merged commit 9775583 into develop Sep 17, 2024
49 of 50 checks passed
@dependabot dependabot bot deleted the dependabot/composer/php-http/httplug-bundle-2.0.0 branch September 17, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant