Releases: gggeek/phpxmlrpc
4.11.5
4.11.4
-
improved: allow to force usage of HTTP 1.1. when using curl for calls, via usage of 'http11_only'
-
improved: when using "Interop" error codes, use error code -32700 when xml parsing fails server-side, instead of 100+X
-
improved: changed some error numbers to avoid conflicts - now errors related to http compression use the range 153-157,
while the range 103-107 is reserved for xml parsing errors -
improved: added new methods:
Server::generatePayload($resp, $respCharset),
Server::printPayload($payload, $respContentType, $respEncoding),HTTP::setAcceptedStatusCodes($statusCodes)
andWrapper::cloneClientForClosure($client). Made previously private methodClient::_try_multicallprotected.
Added toWrapperprotected members$prefix = 'xmlrpc'and$allowedResponseClass.
Allow '*' as argument forWrapper::holdObject().
All of this to help subclasses such as the Json-Rpc client, server, request and wrapper. -
improved: prepared the debugger for json-rpc 2.0 support, which will be in an upcoming release of the PhpJsonRpc library
-
improved: the
server/codegen.phpdemo file now works in 2 steps, to better exemplify real-world usage -
fixed: the
client/parallel.phpdemo was not sending separate requests when using curl "multi" mode -
fixed: method
PhpXmlRpc::setLoggerwas not resetting the Response Logger -
fixed: the
vm.shscript would not expose the http ports of the test container to the host
4.11.3
-
improved: fixed deprecation warnings on PHP 8.5
-
improved: added CI testing on PHP 8.5
-
improved: teach the vm.sh script how to properly configure test envs using PHP 8.5
-
improved: do not hardcode
/tmpas temporary dir in demo files
4.11.2
-
fixed: the Client would not honour the timeout when in Socket mode (issue #127, thanks to @dima-bzzz for PR #84)
-
fixed: the Client would use a timeout off by 1 second when in CURL mode
-
fixed: the Client would not honour options set via
OPT_EXTRA_SOCKET_OPTS -
fixed: teach the vm.sh script how to properly configure test envs using Ubuntu versions from xenial (16) to noble (24)
-
improved: default the local testing container to using PHP 8.1 on Ubuntu Jammy
-
improved: make the vm.sh script more amenable to be used in parallel / quickly switching between different test envs
-
improved: added script
tests/ci/matrix.shto run the testsuite locally against a matrix of environments, kinda
like the test matrix which is run on commit on github
4.11.1
- fixed: removed one warning emitted by the Server on php 8.4 and later (issue #125, thanks @ziegenberg)
4.11.0
-
new: added new Client option
Client::OPT_EXTRA_HEADERS, useful to set custom HTTP headers -
improved: compatibility with not-yet-released PHP version 8.4
4.10.4
4.10.3
-
fixed: avoid emitting warnings when parsing some classes of malformed XML (issue #116)
-
fixed: the library will now return a Fault
Responseobject with error code 2 whenever parsing some xml responses
which do not conform to the specification, namely those having bothfaultandparamselements insidemethodResponse
4.10.2
-
fixed: allow
Serversubclasses to use their own Parser to determine the Request's charset -
fixed: the Server would not swallow and log php warnings generated from end user's method handler functions unless
debug mode was set to 2 or higher. It now does that always. -
fixed: the library will now return a Fault
Responseobject whenever parsing some xml responses which do not conform
to the specification, namely the for following cases:- a
methodResponseelement without eitherfaultorparams - a
methodResponseelement with aparamschild which does not have a singleparam
- a
-
improved: test on php 8.3
4.10.1
-
fixed: class autoloading got broken in rel 4.10.0 for users of the legacy API (issue #111)
-
fixed: let the Server create Response objects whose class can be overridden by subclasses (this is required by the
json-rpc server now that thexml_headermethod has been moved to theRequestobject) -
fixed: let the Client create Requests whose class can be overridden by subclasses, within the
_try_multicallmethod,
which is called frommulticall -
fixed: declare the library not to be compatible with old versions of 'phpxmlrpc/extras' and 'phpxmlrpc/jsonrpc'