Tag release 4.2.0 4.2.0
authorgggeek <giunta.gaetano@gmail.com>
Fri, 30 Jun 2017 22:22:59 +0000 (23:22 +0100)
committergggeek <giunta.gaetano@gmail.com>
Fri, 30 Jun 2017 22:22:59 +0000 (23:22 +0100)
NEWS
src/PhpXmlRpc.php
src/Request.php

diff --git a/NEWS b/NEWS
index 9868a1e..b206cc1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+XML-RPC for PHP version 4.2.0 - 2017/6/30
+
+* improved: allow a DateTimeImmutable object also be detected as a date when encoding
+
+
+XML-RPC for PHP version 4.1.1 - 2016/10/1
+
+* fixed: error in server class: undefined function php_xmlrpc_encode (only triggered when not using the compatibility
+    shim with old versions)
+
+
 XML-RPC for PHP version 4.1.0 - 2016/6/26
 
 * improved: Added support for receiving <I8> and <EX:I8> integers, sending <I8>
@@ -7,6 +18,7 @@ XML-RPC for PHP version 4.1.0 - 2016/6/26
     the developer will have to create values as i8 explicitly if needed.
     The library does *not* check if an outgoing integer is too big to fit in 4 bytes and convert it to an i8 automatically.
 
+
 XML-RPC for PHP version 4.0.1 - 2016/3/27
 
 * improved: all of the API documentation has been moved out of the manual and into the source code phpdoc comments
index c9b12ad..1f31b54 100644 (file)
@@ -79,7 +79,7 @@ class PhpXmlRpc
     public static $xmlrpc_internalencoding = "UTF-8";
 
     public static $xmlrpcName = "XML-RPC for PHP";
-    public static $xmlrpcVersion = "4.1.0";
+    public static $xmlrpcVersion = "4.2.0";
 
     // let user errors start at 800
     public static $xmlrpcerruser = 800;
index 0051e46..4714489 100644 (file)
@@ -109,7 +109,7 @@ class Request
      */
     public function addParam($param)
     {
-        // add check: do not add to self params which are not xmlrpc values
+        // check: do not add to self params which are not xmlrpc values
         if (is_object($param) && is_a($param, 'PhpXmlRpc\Value')) {
             $this->params[] = $param;