docs
authorgggeek <giunta.gaetano@gmail.com>
Sat, 21 Jan 2023 13:49:00 +0000 (13:49 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sat, 21 Jan 2023 13:49:00 +0000 (13:49 +0000)
NEWS.md
src/Server.php

diff --git a/NEWS.md b/NEWS.md
index c0e5d72..0035d2d 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
 
   An example of using this feature has been added to demo file `windowscharset.php`
 
-* new: allow the library to pass to the application DateTime objects instead of string for all received dateTime.iso8601
-  xml-rpc values. This includes both client-side, for data with the `$response->value()`, and server-side, for data
-  passed to xml-rpc method handlers, and works both in 'xmlrpcvals' and in 'phpvals' modes.
-  In order to enable this, you can set `PhpXmlRpc\PhpXmlRpc::$xmlrpc_return_datetimes = true`.
+* new: allow the library to pass to the application DateTime objects instead of string for all _received_ dateTime.iso8601
+  xml-rpc values. This includes both client-side, for data within the `$response->value()`, and server-side, for data
+  passed to xml-rpc method handlers, and works for both 'xmlrpcvals' and 'phpvals' modes.
+  In order to enable this, you should set `PhpXmlRpc\PhpXmlRpc::$xmlrpc_return_datetimes = true`.
   NB: since the xml-rpc spec mandates that no Timezone is used on the wire for dateTime values, the DateTime objects
   created by the library will be set to the default php timzeone, set using the 'date.timezone' ini setting.
 
@@ -46,6 +46,8 @@
 
 * improved: method `Server::add_to_map` has acquired a 6th parameter: `$parametersType = false`
 
+* improved: the `XMLParser` accepts more options in its constructor (see phpdocs for details)
+
 * improved: removed usage of `extension_loaded` in favour of `function_exists` when checking for mbstring. This allows
   for mbstring functions to be polyfilled
 
@@ -68,6 +70,7 @@
     set. We expect this to affect few users, as setting `PhpXmlRpc::$internal_encoding` to a custom character set did
     not make a lot of sense beforehand
   - parameters `$timeout` and `$method` are now considered deprecated in `Client::send()` and `Client::multicall()`
+  - Client properties `$errno` and `$errstring` are now deprecated
   - the code generated by the debugger when using "Generate stub for method call" will throw on errors instead of
     returning a Response object
 
index 8d82db6..d681364 100644 (file)
@@ -99,6 +99,7 @@ class Server
     /**
      * @var mixed
      * Extra data passed at runtime to method handling functions. Used only by EPI layer
+     * @internal
      */
     public $user_data = null;