release 1.1.0
[m6w6/ext-json_post] / package.xml
index 213d9e054bed7ac79c05141861bc18ed58286903..4af449ba03fa6c7355b6ce8815322becacd51f37 100644 (file)
@@ -11,9 +11,9 @@
  <channel>pecl.php.net</channel>
  <summary>JSON POST handler</summary>
  <description><![CDATA[
-This extension provides a PHP content type handler for "application/json" and 
-"text/json" to PHP's form data parser. If the `Content-Type` of an incoming 
-request is `text/json`, the JSON contents of the request body will by parsed 
+This extension provides a PHP content type handler for "application/json" and
+"text/json" to PHP's form data parser. If the `Content-Type` of an incoming
+request is `text/json`, the JSON contents of the request body will by parsed
 into `$_POST`.
 
 This extension does not provide any constants, functions or classes.
@@ -24,23 +24,33 @@ This extension does not provide any constants, functions or classes.
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2015-07-28</date>
+ <date>2021-09-23</date>
  <version>
-  <release>1.0.1</release>
+  <release>1.1.0</release>
   <api>1.0.0</api>
  </version>
  <stability>
   <release>stable</release>
   <api>stable</api>
  </stability>
- <license>BSD, revised</license>
+ <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
  <notes><![CDATA[
- * Fix: json_post.flags=2 ignored with php7 (Remi)
+* Fix gh-issue #3:
+    * Add json_post.onerror.response INI entry, specifying whether and which
+      response code to send when `json_decode` fails.
+    * Add json_post.onerror.exit INI entry, specifying whether to exit PHP
+      without running the script when `json_decode` fails.
+    * Add json_post.onerror.warning INI entry, specifying whether to raise
+      a WARNING when `json_decode` fails.
 ]]></notes>
  <contents>
   <dir name="/">
-   <file role="doc" name="LICENSE"/>
+   <file role="doc" name="AUTHORS"/>
+   <file role="doc" name="CONTRIBUTING.md"/>
    <file role="doc" name="CREDITS"/>
+   <file role="doc" name="LICENSE"/>
+   <file role="doc" name="README.md"/>
+   <file role="doc" name="THANKS"/>
    <file role="src" name="config.m4"/>
    <file role="src" name="config.w32"/>
 
@@ -52,7 +62,15 @@ This extension does not provide any constants, functions or classes.
      <file role="test" name="002.phpt"/>
      <file role="test" name="003.phpt"/>
      <file role="test" name="004.phpt"/>
+     <file role="test" name="005.phpt"/>
      <file role="test" name="application.phpt"/>
+     <file role="test" name="error.inc"/>
+     <file role="test" name="error001.phpt"/>
+     <file role="test" name="error002.phpt"/>
+     <file role="test" name="error003.phpt"/>
+     <file role="test" name="error004.phpt"/>
+     <file role="test" name="error005.phpt"/>
+     <file role="test" name="error006.phpt"/>
    </dir>
   </dir>
  </contents>