X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NEWS;h=f10f1efe2cf11ea6218a8659d32ace1bbe71b953;hb=720942f33f637b87727d464069aeebef3a0209e9;hp=0ff0d6d018d46563ad5d23536bfd533ee3756f9b;hpb=81718c9d09a3be92fe37fa0ed0f2254d5e65eeb2;p=plcapi.git diff --git a/NEWS b/NEWS index 0ff0d6d..f10f1ef 100644 --- a/NEWS +++ b/NEWS @@ -1,13 +1,32 @@ -XML-RPC for PHP version 4.5.2 - 2021/1/9 +XML-RPC for PHP version 4.6.0 - unreleased -* improved: better phpdocs in the the php code generated by the Wrapper class +* 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 -* 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.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