From dffbf9ac6b25cb56ad81a718aa0d664786227182 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 6 Jun 2025 17:19:01 +0200 Subject: [PATCH] [HttpClient] Deprecate using amphp/http-client < 5 --- http_client.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/http_client.rst b/http_client.rst index 7b1d403a83d..d3842e59b23 100644 --- a/http_client.rst +++ b/http_client.rst @@ -995,9 +995,13 @@ Enabling cURL Support ~~~~~~~~~~~~~~~~~~~~~ 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 + + Symfony started requiring ``amphp/http-client`` version 5.0 or higher in Symfony 8.0. .. note::