release v3.3.0
[m6w6/ext-http] / package.xml
index 2f596ad58aabaa22111e4486798124aeb550dec1..321efdebc63a71f4a0d25e5baac8cd411cced082 100644 (file)
@@ -24,10 +24,6 @@ parallel requests.
 
 Documentation:
 https://mdref.m6w6.name/http
-
-Code Coverage:
-http://dev.iworks.at/ext-http/lcov/ext/http/
-
 ]]></description>
  <lead>
   <name>Michael Wallner</name>
@@ -35,26 +31,70 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2015-12-04</date>
+ <date>2022-06-10</date>
  <version>
-  <release>3.0.0RC1</release>
-  <api>3.0.0</api>
+  <release>3.3.0</release>
+  <api>3.3.0</api>
  </version>
  <stability>
-  <release>beta</release>
-  <api>beta</api>
+  <release>stable</release>
+  <api>stable</api>
  </stability>
  <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
  <notes><![CDATA[
-PHP7 compatible release based on the 2.5.x series with the following backwards incompatible changes:
-- removed http\Url::FROM_ENV from the default flags of the http\Url constructor, use http\Env\Url instead
-
+* Fix http\Client::requeue() not updating response callback
+* Backport bug fixes and features from v4:
+  * Fixed configure reliably finding the right libcurl features available
+  * Fixed cookie handling with libcurl 7.77+ and consistently across all
+    supported libcurl versions (follow-up to gh issue #116)
+  * Fixed cookies failing with libcurl >= 7.77 (see gh issue #116)
+  * Fixed tests using $_ENV instead of getenv() to find executables in PATH (see gh issue #113)
+  * Fixed configure on systems which do not provide icu-config
+  * Fixed gh-issue #89: Cookie handling cannot be disabled since v3.2.1
+  * Added http\Env::reset(): resets internal HTTP request cache (see gh issue #90)
+  * Added request options:
+    * http\Client\Curl::$abstract_unix_socket
+    * http\Client\Curl::$altsvc
+    * http\Client\Curl::$altsvc_ctrl
+    * http\Client\Curl::$aws_sigv4
+    * http\Client\Curl::$doh_url
+    * http\Client\Curl::$dns_shuffle_addresses
+    * http\Client\Curl::$haproxy_protocol
+    * http\Client\Curl::$hsts
+    * http\Client\Curl::$hsts_ctrl
+    * http\Client\Curl::$http09_allowed
+    * http\Client\Curl::$maxage_conn
+    * http\Client\Curl::$pinned_publickey
+    * http\Client\Curl::$proxy_ssl
+    * http\Client\Curl::$socks5_auth
+    * http\Client\Curl::$tcp_fastopen
+    * http\Client\Curl::$tls13_ciphers
+    * http\Client\Curl::$xoauth2_bearer
+  * Added request option constants:
+    * http\Client\Curl\AUTH_AWS_SIGV4
+    * http\Client\Curl\AUTH_BEARER
+    * http\Client\Curl\AUTH_NONE
+    * http\Client\Curl\HTTP_VERSION_2_PRIOR_KNOWLEDGE
+    * http\Client\Curl\HTTP_VERSION_3
+    * http\Client\Curl\SSL_VERSION_MAX_*
+    * http\Client\Curl\SSL_VERSION_TLSv1_3
+  * Added library version constants:
+    * http\Client\Curl\Versions\BROTLI
+    * http\Client\Curl\Versions\CAINFO
+    * http\Client\Curl\Versions\CAPATH
+    * http\Client\Curl\Versions\HYPER
+    * http\Client\Curl\Versions\ICONV
+    * http\Client\Curl\Versions\NGHTTP2
+    * http\Client\Curl\Versions\QUIC
+    * http\Client\Curl\Versions\ZSTD
 ]]></notes>
  <contents>
   <dir name="/">
    <file role="doc" name="AUTHORS"/>
    <file role="doc" name="BUGS"/>
+   <file role="doc" name="CHANGELOG.md"/>
    <file role="doc" name="CONTRIBUTING.md"/>
+   <file role="doc" name="CVE.md"/>
    <file role="doc" name="CREDITS"/>
    <file role="doc" name="LICENSE"/>
    <file role="doc" name="README.md"/>
@@ -65,6 +105,15 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
    <file role="src" name="config.w32"/>
    <file role="src" name="Makefile.frag"/>
    <file role="src" name="php_http.h"/>
+   <dir name="autoconf">
+    <dir name="pecl">
+        <file role="src" name="pecl.m4"/>
+        <file role="src" name="libbrotli.m4"/>
+        <file role="src" name="libcurl.m4"/>
+        <file role="src" name="libevent.m4"/>
+        <file role="src" name="zlib.m4"/>
+    </dir>
+   </dir>
    <dir name="src">
     <file role="src" name="php_http_api.h"/>
     <file role="src" name="php_http_buffer.c"/>
@@ -74,6 +123,10 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
     <file role="src" name="php_http_client.h"/>
     <file role="src" name="php_http_client_curl.c"/>
     <file role="src" name="php_http_client_curl.h"/>
+    <file role="src" name="php_http_client_curl_event.c"/>
+    <file role="src" name="php_http_client_curl_event.h"/>
+    <file role="src" name="php_http_client_curl_user.c"/>
+    <file role="src" name="php_http_client_curl_user.h"/>
     <file role="src" name="php_http_client_request.c"/>
     <file role="src" name="php_http_client_request.h"/>
     <file role="src" name="php_http_client_response.c"/>
@@ -84,6 +137,10 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
     <file role="src" name="php_http_curl.h"/>
     <file role="src" name="php_http_encoding.c"/>
     <file role="src" name="php_http_encoding.h"/>
+    <file role="src" name="php_http_encoding_zlib.c"/>
+    <file role="src" name="php_http_encoding_zlib.h"/>
+    <file role="src" name="php_http_encoding_brotli.c"/>
+    <file role="src" name="php_http_encoding_brotli.h"/>
     <file role="src" name="php_http_env.c"/>
     <file role="src" name="php_http_env.h"/>
     <file role="src" name="php_http_env_request.c"/>
@@ -130,6 +187,7 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
    <dir name="tests">
     <file role="test" name="skipif.inc"/>
      <dir name="data">
+      <file role="test" name="bug71719.bin"/>
       <file role="test" name="message_r_content_range.txt"/>
       <file role="test" name="message_r_multipart_put.txt"/>
       <file role="test" name="message_rr_empty.txt"/>
@@ -140,7 +198,10 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      </dir>
      <dir name="helper">
       <file role="test" name="cookie.inc"/>
+      <file role="test" name="cookie1.inc"/>
+      <file role="test" name="cookie2.inc"/>
       <file role="test" name="dump.inc"/>
+      <file role="test" name="env.inc"/>
       <file role="test" name="http2.crt"/>
       <file role="test" name="http2.key"/>
       <file role="test" name="pipeline.inc"/>
@@ -159,6 +220,8 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="bug69076.phpt"/>
      <file role="test" name="bug69313.phpt"/>
      <file role="test" name="bug69357.phpt"/>
+     <file role="test" name="bug71719.phpt"/>
+     <file role="test" name="bug73055.phpt"/>
      <file role="test" name="client001.phpt"/>
      <file role="test" name="client002.phpt"/>
      <file role="test" name="client003.phpt"/>
@@ -185,6 +248,12 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="client024.phpt"/>
      <file role="test" name="client025.phpt"/>
      <file role="test" name="client026.phpt"/>
+     <file role="test" name="client027.phpt"/>
+     <file role="test" name="client028.phpt"/>
+     <file role="test" name="client029.phpt"/>
+     <file role="test" name="client030.phpt"/>
+     <file role="test" name="client031.phpt"/>
+     <file role="test" name="client032.phpt"/>
      <file role="test" name="clientrequest001.phpt"/>
      <file role="test" name="clientrequest002.phpt"/>
      <file role="test" name="clientrequest003.phpt"/>
@@ -213,6 +282,11 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="encstream007.phpt"/>
      <file role="test" name="encstream008.phpt"/>
      <file role="test" name="encstream009.phpt"/>
+     <file role="test" name="encstream015.phpt"/>
+     <file role="test" name="encstream016.phpt"/>
+     <file role="test" name="encstream017.phpt"/>
+     <file role="test" name="encstream018.phpt"/>
+     <file role="test" name="encstream019.phpt"/>
      <file role="test" name="envrequestbody001.phpt"/>
      <file role="test" name="envrequestcookie001.phpt"/>
      <file role="test" name="envrequestfiles001.phpt"/>
@@ -220,6 +294,7 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="envrequestform.phpt"/>
      <file role="test" name="envrequestheader001.phpt"/>
      <file role="test" name="envrequestquery.phpt"/>
+     <file role="test" name="envreset001.phpt"/>
      <file role="test" name="envresponse001.phpt"/>
      <file role="test" name="envresponse002.phpt"/>
      <file role="test" name="envresponse003.phpt"/>
@@ -245,11 +320,18 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="envresponseheader001.phpt"/>
      <file role="test" name="envresponseranges001.phpt"/>
      <file role="test" name="etag001.phpt"/>
+     <file role="test" name="filterbrotli.phpt"/>
      <file role="test" name="filterchunked.phpt"/>
      <file role="test" name="filterzlib.phpt"/>
      <file role="test" name="gh-issue6.phpt"/>
-     <file role="test" name="gh-issue7.phpt"/>
+     <file role="test" name="gh-issue11.phpt"/>
      <file role="test" name="gh-issue12.phpt"/>
+     <file role="test" name="gh-issue42.phpt"/>
+     <file role="test" name="gh-issue47.phpt"/>
+     <file role="test" name="gh-issue48.phpt"/>
+     <file role="test" name="gh-issue50.phpt"/>
+     <file role="test" name="gh-issue63.phpt"/>
+     <file role="test" name="gh-issue92.phpt"/>
      <file role="test" name="header001.phpt"/>
      <file role="test" name="header002.phpt"/>
      <file role="test" name="header003.phpt"/>
@@ -313,6 +395,7 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="phpinfo.phpt"/>
      <file role="test" name="propertyproxy001.phpt"/>
      <file role="test" name="querystring001.phpt"/>
+     <file role="test" name="querystring001_a.phpt"/>
      <file role="test" name="querystring002.phpt"/>
      <file role="test" name="querystring003.phpt"/>
      <file role="test" name="serialize001.phpt"/>
@@ -332,6 +415,8 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
      <file role="test" name="urlparser009.phpt"/>
      <file role="test" name="urlparser010.phpt"/>
      <file role="test" name="urlparser011.phpt"/>
+     <file role="test" name="urlparser012.phpt"/>
+     <file role="test" name="urlparser013.phpt"/>
      <file role="test" name="version001.phpt"/>
    </dir>
    <dir name="scripts">
@@ -339,7 +424,7 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
     <file role="src" name="check_package-xml.php"/>
     <file role="src" name="gen_curlinfo.php"/>
     <file role="src" name="gen_stubs.php"/>
-    <file role="src" name="gen_travis_yml.php"/>
+    <file role="src" name="gen_github_workflow_ci.php"/>
     <file role="src" name="gen_utf8.php"/>
    </dir>
   </dir>
@@ -347,7 +432,9 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
  <dependencies>
   <required>
    <php>
-    <min>7.0.0-dev</min>
+    <min>7.0.0</min>
+    <max>8.0.0</max>
+    <exclude>8.0.0</exclude>
    </php>
    <pearinstaller>
     <min>1.4.1</min>
@@ -384,10 +471,26 @@ PHP7 compatible release based on the 2.5.x series with the following backwards i
    name="with-http-libevent-dir"
    prompt="where to find libevent"
    default="/usr" />
+  <configureoption
+   name="with-http-libicu-dir"
+   prompt="where to find libicu"
+   default="/usr" />
+  <configureoption
+   name="with-http-libidn2-dir"
+   prompt="where to find libidn2"
+   default="/usr" />
   <configureoption
    name="with-http-libidn-dir"
    prompt="where to find libidn"
    default="/usr" />
+  <configureoption
+   name="with-http-libidnkit2-dir"
+   prompt="where to find libidnkit2"
+   default="/usr" />
+  <configureoption
+   name="with-http-libidnkit-dir"
+   prompt="where to find libidnkit"
+   default="/usr" />
   </extsrcrelease>
  <changelog />
 </package>