From: Michael Wallner Date: Mon, 12 Dec 2016 07:36:14 +0000 (+0100) Subject: prepare 3.1.0 X-Git-Tag: RELEASE_3_1_0~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=b2cddc09fda9358c7c2bdfaf487196cb3ff34749 prepare 3.1.0 --- b2cddc09fda9358c7c2bdfaf487196cb3ff34749 diff --cc CHANGELOG.md index 8428511,18e339f..9e2d12d --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -1,6 -1,43 +1,42 @@@ -# ChangeLog v2 - -## 2.6.0, 2016-12-12 +# ChangeLog v3 ++## 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 PHP-5.3 compatibility + * 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) + - -## 2.6.0RC1, 2016-10-04 +## 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 diff --cc package.xml index 3f08039,818eca9..ee711ea --- a/package.xml +++ b/package.xml @@@ -31,13 -31,13 +31,13 @@@ https://mdref.m6w6.name/htt mike@php.net yes - 2016-10-04 + 2016-12-12 - 3.1.0RC1 - 2.6.0 - 2.6.0 ++ 3.1.0 + 3.1.0 - beta + stable stable BSD-2-Clause @@@ -70,11 -70,10 +70,11 @@@ 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) + * 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) ]]> diff --cc php_http.h index fedc4cd,5f52c3b..eeb69e1 --- a/php_http.h +++ b/php_http.h @@@ -13,7 -13,7 +13,7 @@@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H - #define PHP_PECL_HTTP_VERSION "3.1.0RC1" -#define PHP_PECL_HTTP_VERSION "2.6.0" ++#define PHP_PECL_HTTP_VERSION "3.1.0" extern zend_module_entry http_module_entry; #define phpext_http_ptr &http_module_entry