X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NEWS;h=34bdcd805c08b2a2374c63afbc64ee1ca57351b6;hb=9d2e97ba11a758c1af241ef467edb8e7d7519798;hp=3ddc9eecbbf4a9dd395c4cec87489b22ad09d162;hpb=affe41f5f2420693ea08b1b9496b6fc5dd786e20;p=plcapi.git diff --git a/NEWS b/NEWS index 3ddc9ee..34bdcd8 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,28 @@ -XML-RPC for PHP version 4.6.0 - unreleased +XML-RPC for PHP version 4.6.0 - 2021/12/9 + +* fixed: compatibility with php 8.1 * 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 + +* new: method `Wrapper::wrapPhpClass` allows to customize the names of the phpxmlrpc methods by stripping the original + class name and accompanying namespace and replace it with a user-defined prefix, via option `replace_class_name` + +* improved: Continuous Integration is now running on Github Actions instead of Travis + XML-RPC for PHP version 4.5.2 - 2021/1/11