Skip to content

[HttpClient] Deprecate using amphp/http-client < 5 #21063

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

Open
wants to merge 1 commit into
base: 8.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions http_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -995,9 +995,13 @@
~~~~~~~~~~~~~~~~~~~~~

This component can make HTTP requests using native PHP streams and the
``amphp/http-client`` and cURL libraries. Although they are interchangeable and
provide the same features, including concurrent requests, HTTP/2 is only supported
when using cURL or ``amphp/http-client``.
``amphp/http-client`` (version 5.0 or higher) and cURL libraries. Although they
are interchangeable and provide the same features, including concurrent requests,
HTTP/2 is only supported when using cURL or ``amphp/http-client``.

.. versionadded:: 8.0

Check failure on line 1002 in http_client.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

You are not allowed to use version "8.0". Only major version "7" is allowed.

Symfony started requiring ``amphp/http-client`` version 5.0 or higher in Symfony 8.0.

.. note::

Expand Down