Share

XML-RPC for PHP

File Release Notes and Changelog

Release Name: 2.0

Notes:
I'm pleased to announce XML-RPC for PHP version 2.0, final.

With respect to the last release candidate, this release corrects a few small
bugs and adds a couple of new features: more authentication options (digest and
ntlm for servers, ntlm for proxies, and some https custom certificates stuff);
all the examples have been reviewed and some demo files added,
including a ready-made xmlrpc proxy (useful e.g. for ajax calls, when the xmlrpc
client is a browser); the server logs more warning messages for incorrect situations;
both client and server are more tolerant of commonly-found mistakes.
The debugger has been upgraded to reflect the new client capabilities.


Changes: * fixed bug: method xmlrpcval::structmemexists($value) would not work * fixed bug: wrap_xmlrpc_method would fail if invoked with a client object that has return_type=phpvals * fixed bug: in case of call to client::multicall without fallback and server error * fixed bug: recursive serialization of xmlrpcvals loosing specified UTF8 charset * fixed bug: serializing to ISO-8859-1 with php 5 would raise an error if non-ascii chars where found when decoding * new: client can use NTLM and Digest authentication methods for https and http 1.1 connections; authentication to proxy can be set to NTLM, too * new: server tolerates user functions returning a single xmlrpcval object instead of an xmlrpcresp * new: server does more checks for presence and correct return type of user coded method handling functions, and logs inconsistencies to php error log * new: client method SetCaCertificate($cert, $is_dir) to validate server against * new: both server and client tolerate receiving 'true' and 'false' for bool values (which btw are not valid according to the xmlrpc spec)