From: Michael Wallner Date: Wed, 18 Mar 2015 07:01:39 +0000 (+0100) Subject: 2.4.0 notes X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7c78b1269a57a9342ed7a4eb6d268ffcd28eab5f;p=mdref%2Fmdref-http 2.4.0 notes --- diff --git a/http.md b/http.md index e78795a..01a6e73 100644 --- a/http.md +++ b/http.md @@ -62,7 +62,7 @@ If configured ```--with-http-shared-deps``` (default) it depends on the pre-load * hash * iconv -* json +* json (only until < 2.4.0) Please ensure that all extension on which pecl/http depends, are loaded before it, e.g in your `php.ini`: @@ -108,3 +108,4 @@ The http extension registers the ```http.*``` namespace for its stream filters. Version | Change --------|------- 2.0.4 | Dropped the pecl/event conflict. +2.4.0 | Dropped the ext/json dependency. diff --git a/http/Env.md b/http/Env.md index 5571b9d..255c81a 100644 --- a/http/Env.md +++ b/http/Env.md @@ -2,10 +2,15 @@ The http\Env class provides static methods to manipulate and inspect the server's current request's HTTP environment. +## Changelog: + +| Version | Change +|---------|-------- +| 2.4.0 | Split off pecl/[apfd](apfd) and pecl/[json_post](json_post) + ## Request startup -The http\Env module extends PHP's builtin POST data parser to be run also if -the request method is not POST. Additionally it will handle -application/json payloads if ext/json is available. Successfully -parsed JSON will be put right into the $_POST array. +In versions lower than 2.4.0, the http\Env module extends PHP's builtin POST data parser to be run also if the request method is not POST. Additionally it will handle application/json payloads if ext/json is available. Successfully parsed JSON will be put right into the $_POST array. + +This functionality has been separated into two distict extensions, pecl/[apfd](apfd) and pecl/[json_post](json_post).