X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NEWS;h=edd310625f9daaa1ebfbe7ae20bc464da206b661;hb=fb82ab40b1db1a1d37f41c3a81bc97655ee1627d;hp=eff567390c9c730376b04ee491297d69d7e8d55d;hpb=5d63c263e763338952815b6724ffa4469061afc4;p=plcapi.git diff --git a/NEWS b/NEWS index eff5673..edd3106 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,25 @@ -XML-RPC for PHP version 4.XX - unreleased +XML-RPC for PHP version 4.6.0 - unreleased + +* 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 + +* improved: Continuous Integration is now running on Github Actions instead of Travis + XML-RPC for PHP version 4.5.2 - 2021/1/11