X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=CHANGELOG.md;h=8624e70bce18666e7a07a788fc667f22f2faea2e;hp=a028ba4ff978c30aa019cab844b1b00751ad9cce;hb=refs%2Fheads%2Fv3.x;hpb=3a302b87f09c70006ea2070c67b906033f3912ec diff --git a/CHANGELOG.md b/CHANGELOG.md index a028ba4..95f3a77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,241 @@ -# ChangeLog v4 +# ChangeLog v3 -## 4.0.0beta2, TBR +## 3.3.0, 2022-06-10 +* 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 + +## 3.2.5, 2022-02-25 + +* Fixed gh-issue #123: Segfault with libcurl 7.81 + +## 3.2.4, 2021-01-13 + +* Fixed configure on systems which do not provide icu-config * Fixed gh-issue #89: Cookie handling cannot be disabled since v3.2.1 -## 4.0.0beta1, 2020-09-23 +## 3.2.3, 2019-10-29 + +* Fixed Windows build (Jan Ehrhardt) + +## 3.2.2, 2019-10-24 + +* PHP-7.4 compatibility +* Fixed gh-issue #92: http\Message\Body::addForm() discards numeric names +* Fixed gh-issue #95: typo in http\Message::getResponseCode()'s error message + +## 3.2.1, 2019-06-07 + +* Fixed gh-issue #88: Unable to run test suite (Remi Collet) +* Fixed gh-issue #86: test failure with curl 7.64 +* Fixed gh-issue #85: [-Wformat-extra-args] build warnings +* Fixed gh-issue #84: segfault and build failure since curl 7.62 +* Fixed gh-issue #82: Test harness improvements (Chris Wright) +* Fixed gh-issue #64: compress and connecttimeout interfere with low_speed_limit (@rcanavan) +* Fixed http\QueryString::getGlobalInstance() +* Fixed missing 2nd reflection argument info of http\Client::notify() +* Fixed PHP-7.4 compatibility + +## 3.2.0, 2018-07-19 + +* PHP-7.2 compatibility +* Fixed gh-issue #73: build fails with libidn and libidn2 ++ Added brotli compression support ++ Implemented gh-issue #58: Notify observers before any request is built + +Changes from RC1: +* Fixed gh-issue #78: PHP-7.3 build crashes + +## 3.2.0RC1, 2018-04-09 + +* PHP-7.2 compatibility +* Fixed gh-issue #73: build fails with libidn and libidn2 ++ Added brotli compression support ++ Implemented gh-issue #58: Notify observers before any request is built + +## 3.1.0, 2016-12-12 + ++ Added http\Client\Curl\User interface for userland event loops ++ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and http\Url::STDFLAGS ++ Added http\Client::setDebug(callable $debug) ++ Added http\Client\Curl\FEATURES constants and namespace ++ Added http\Client\Curl\VERSIONS constants and namespace ++ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to http\Client::configure() ++ http\Client uses curl_share handles to properly share cookies and SSL/TLS sessions between requests ++ Improved configure checks for default CA bundles ++ Improved negotiation precision +* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation using the params parser would receive param keys without the trailing asterisk, stripped by http\Params::PARSE_RFC5987. +* Fix gh-issue #50: http\Client::dequeue() within http\Client::setDebug() causes segfault (Mike, Maik Wagner) +* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value() (Mike, @rc0r) +* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl >= 7.49.1 (Mike) +* Fix gh-issue #43: Joining query with empty original variable in query (Mike, Sander Backus) +* Fix gh-issue #42: fatal error when using punycode in URLs (Mike, Sebastian Thielen) +* Fix gh-issue #41: Use curl_version_info_data.features when initializing options (Mike) +* Fix gh-issue #40: determinde the SSL backend used by curl at runtime (Mike, @rcanavan) +* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option proxy_service_name (Mike, @rcanavan) +* Fix gh-issue #38: Persistent curl handles: error code not properly reset (Mike, @afflerbach) +* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is used (Mike, @rcanavan, @afflerbach) +* Fix gh-issue #34: allow setting multiple headers with the same name (Mike, @rcanavan) +* Fix gh-issue #33: allow setting prodyhost request option to NULL (Mike, @rcanavan) +* Fix gh-issue #31: add/improve configure checks for default CA bundle/path (Mike, @rcanavan) + +Changes from beta1: +* Fixed recursive calls to the event loop dispatcher + +Changes from beta2: ++ Improved configure checks for IDNA libraries (added --with-http-libicu-dir, --with-http-libidnkit{,2}-dir, --with-http-libidn2-dir) +* Fix bug #73055: crash in http\QueryString (Mike, @rc0r) (CVE-2016-7398) +* Fix bug #73185: Buffer overflow in HTTP parse_hostinfo() (Mike, @rc0r) (CVE-2016-7961) +* Fix HTTP/2 version parser for older libcurl versions (Mike) +* Fix gh-issue #52: Underscores in host names: libidn Failed to parse IDN (Mike, @canavan) + +## 3.1.0RC1, 2016-10-04 + ++ Added http\Client\Curl\User interface for userland event loops ++ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and http\Url::STDFLAGS ++ Added http\Client::setDebug(callable $debug) ++ Added http\Client\Curl\FEATURES constants and namespace ++ Added http\Client\Curl\VERSIONS constants and namespace ++ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to http\Client::configure() ++ http\Client uses curl_share handles to properly share cookies and SSL/TLS sessions between requests ++ Improved configure checks for default CA bundles ++ Improved negotiation precision +* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation using the params parser would receive param keys without the trailing asterisk, stripped by http\Params::PARSE_RFC5987. +* Fix gh-issue #50: http\Client::dequeue() within http\Client::setDebug() causes segfault (Mike, Maik Wagner) +* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value() (Mike, @rc0r) +* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl >= 7.49.1 (Mike) +* Fix gh-issue #43: Joining query with empty original variable in query (Mike, Sander Backus) +* Fix gh-issue #42: fatal error when using punycode in URLs (Mike, Sebastian Thielen) +* Fix gh-issue #41: Use curl_version_info_data.features when initializing options (Mike) +* Fix gh-issue #40: determinde the SSL backend used by curl at runtime (Mike, @rcanavan) +* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option proxy_service_name (Mike, @rcanavan) +* Fix gh-issue #38: Persistent curl handles: error code not properly reset (Mike, @afflerbach) +* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is used (Mike, @rcanavan, @afflerbach) +* Fix gh-issue #34: allow setting multiple headers with the same name (Mike, @rcanavan) +* Fix gh-issue #33: allow setting prodyhost request option to NULL (Mike, @rcanavan) +* Fix gh-issue #31: add/improve configure checks for default CA bundle/path (Mike, @rcanavan) + +Changes from beta1: +* Fixed recursive calls to the event loop dispatcher + +Changes from beta2: ++ Improved configure checks for IDNA libraries (added --with-http-libicu-dir, --with-http-libidnkit{,2}-dir, --with-http-libidn2-dir) +* Fix bug #73055: crash in http\QueryString (Mike, @rc0r) (CVE-2016-7398) +* Fix bug #73185: Buffer overflow in HTTP parse_hostinfo() (Mike, @rc0r) (CVE-2016-7961) +* Fix HTTP/2 version parser for older libcurl versions (Mike) +* Fix gh-issue #52: Underscores in host names: libidn Failed to parse IDN (Mike, @canavan) + +## 3.1.0beta2, 2016-09-07 + ++ Added http\Client\Curl\User interface for userland event loops ++ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and http\Url::STDFLAGS ++ Added http\Client::setDebug(callable $debug) ++ Added http\Client\Curl\FEATURES constants and namespace ++ Added http\Client\Curl\VERSIONS constants and namespace ++ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to http\Client::configure() ++ http\Client uses curl_share handles to properly share cookies and SSL/TLS sessions between requests ++ Improved configure checks for default CA bundles ++ Improved negotiation precision +* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation using the params parser would receive param keys without the trailing asterisk, stripped by http\Params::PARSE_RFC5987. +* Fix gh-issue #50: http\Client::dequeue() within http\Client::setDebug() causes segfault (Mike, Maik Wagner) +* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value() (Mike, @rc0r) +* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl >= 7.49.1 (Mike) +* Fix gh-issue #43: Joining query with empty original variable in query (Mike, Sander Backus) +* Fix gh-issue #42: fatal error when using punycode in URLs (Mike, Sebastian Thielen) +* Fix gh-issue #41: Use curl_version_info_data.features when initializing options (Mike) +* Fix gh-issue #40: determinde the SSL backend used by curl at runtime (Mike, @rcanavan) +* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option proxy_service_name (Mike, @rcanavan) +* Fix gh-issue #38: Persistent curl handles: error code not properly reset (Mike, @afflerbach) +* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is used (Mike, @rcanavan, @afflerbach) +* Fix gh-issue #34: allow setting multiple headers with the same name (Mike, @rcanavan) +* Fix gh-issue #33: allow setting prodyhost request option to NULL (Mike, @rcanavan) +* Fix gh-issue #31: add/improve configure checks for default CA bundle/path (Mike, @rcanavan) + +Changes from beta1: +* Fixed recursive calls to the event loop dispatcher + +## 3.1.0beta1, 2016-08-22 + ++ Added http\Client\Curl\User interface for userland event loops ++ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and http\Url::STDFLAGS ++ Added http\Client::setDebug(callable $debug) ++ Added http\Client\Curl\FEATURES constants and namespace ++ Added http\Client\Curl\VERSIONS constants and namespace ++ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to http\Client::configure() ++ http\Client uses curl_share handles to properly share cookies and SSL/TLS sessions between requests ++ Improved configure checks for default CA bundles ++ Improved negotiation precision +* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation using the params parser would receive param keys without the trailing asterisk, stripped by http\Params::PARSE_RFC5987. +* Fix gh-issue #50: http\Client::dequeue() within http\Client::setDebug() causes segfault (Mike, Maik Wagner) +* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value() (Mike, @rc0r) +* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl >= 7.49.1 (Mike) +* Fix gh-issue #43: Joining query with empty original variable in query (Mike, Sander Backus) +* Fix gh-issue #42: fatal error when using punycode in URLs (Mike, Sebastian Thielen) +* Fix gh-issue #41: Use curl_version_info_data.features when initializing options (Mike) +* Fix gh-issue #40: determinde the SSL backend used by curl at runtime (Mike, @rcanavan) +* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option proxy_service_name (Mike, @rcanavan) +* Fix gh-issue #38: Persistent curl handles: error code not properly reset (Mike, @afflerbach) +* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is used (Mike, @rcanavan, @afflerbach) +* Fix gh-issue #34: allow setting multiple headers with the same name (Mike, @rcanavan) +* Fix gh-issue #33: allow setting prodyhost request option to NULL (Mike, @rcanavan) +* Fix gh-issue #31: add/improve configure checks for default CA bundle/path (Mike, @rcanavan) + +## 3.0.1, 2016-03-09 + +* Fix php-bug #71719: Buffer overflow in HTTP url parsing functions (Mike, rc0r) +* Fix gh-issue #28: Possible null pointer dereference in php_http_url_mod() (rc0r) +* Fix gh-issue #21: Fix PHP7 config.w32 (Jan Ehrhardt) +* Fix gh-issue #20: setSslOptions notice with curl 7.43 (Mike, Vitaliy Demidov) + +## 3.0.0, 2016-01-19 + +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 + +## 3.0.0RC1, 2015-12-07 -* PHP 8 compatibility - - Drop ext-propro support: - PHP 8 removes the object get/set API from the ZendEngine, which renders - that extension dysfunctional. As a consequence, the header property of - http\Message and derived classes cannot be modified in place, and thus - by reference. +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