X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NEWS;h=f10f1efe2cf11ea6218a8659d32ace1bbe71b953;hb=76321b4eac8def8ccae28a467752ec30d637cf97;hp=a297ec163f962911ea35520a376b748c0463b1fe;hpb=d641b4528e289b7859780f770e8decf9dbfeb909;p=plcapi.git diff --git a/NEWS b/NEWS index a297ec1..f10f1ef 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,44 @@ +XML-RPC for PHP version 4.6.0 - unreleased + +* improved: when encoding utf8 text into us-ascii xml, use character entity references for characters number 0-31 + (ascii non printable characters), as we were already doing when encoding iso-8859-1 text into us-ascii xml + +* new: method `Server::getDispatchMap()`. Useful for non-child classes which want to f.e. introspect the server + +* new: increase flexibility in class composition by adopting a Dependency Injection (...ish) pattern: + it is now possible to swap out the Logger, XMLParser and Charset classes with similar ones of your own making. + Example code: + // 1. create an instance of a custom character encoder + // $myCharsetEncoder = ... + // 2. then use it while serializing a Request: + Request::setCharsetEncoder($myCharsetEncoder); + $request->serialize($funkyCharset); + +* new: method `XMLParser::parse()` acquired a 4th argument + + +XML-RPC for PHP version 4.5.2 - 2021/1/11 + +* improved: better phpdocs in the the php code generated by the Wrapper class + +* improved: debugger favicon and page title when used from the phpjsonrpc library + +* fixed: allow `Encoder::decode` to properly support different target character sets for polyfill-xmlrpc decode functions + +* improved: allow usage of 'epivals' for the 'parameters_type' member of methods definitions in the Server dispatch map + + +XML-RPC for PHP version 4.5.1 - 2021/1/3 + +* improved: made it easier to subclass the Helper\Charset class by allowing `instance` to use late static binding + +* fixed: reinstated access to xmlrpc_server->dmap (for users of the v3 API) + +* fixed: method `xmlrpc_encode_entitites` (for users of the v3 API) + +* improved: split the code of the demo server in multiple files, describing better the purpose of each + + XML-RPC for PHP version 4.5.0 - 2020/12/31 * new: it is now possible to control the precision used when serializing DOUBLE values via usage of @@ -7,12 +48,20 @@ XML-RPC for PHP version 4.5.0 - 2020/12/31 * improvements to to the Helper\Date class in rejecting invalid date strings -* improvements to the Wrapper class in identifying the required arguments types from phpdoc: support 'array[]', +* improvements to the Wrapper class in identifying required arguments types from source code phpdoc: support 'array[]', 'DateTime' and 'DateTimeImmutable' -* improvements to the support of the XMLRPC extension emulation (as provided by the phpxmlrpc/polyfill-xmlrpc package) +* improvements to the support of the XMLRPC extension emulation (now provided by the phpxmlrpc/polyfill-xmlrpc package) + +* minor improvements to the Charset helper: it now loads character set conversion tables on demand, leading to + slightly lower memory usage and faster execution time when using UTF8 everywhere. + NB: take care if you have subclassed it! + +* new method: `Server::isSyscall` - mostly of use to Server subclasses and friend classes such as introspectors + +* internal method `XMLParser::xmlrpc_ee` now accepts 3 states for its 3rd parameter instead of a bool -* improvements in the inline phpdoc: tagged many methods and class member as for internal usage only +* improvements in the inline phpdoc: tagged many methods and class member as reserved for internal usage only * minor improvements in the debugger to allow easier integration of phpxmlrpc/jsonrpc and friends