Skip to content

Releases: gggeek/phpxmlrpc

4.11.5

12 Nov 08:36

Choose a tag to compare

  • improved: make it easy to allow CORS requests to the demo server on hosts other than the altervista one

  • changed the default public demo server and debugger to be hosted at tanoconsulting.com

4.11.4

30 Oct 13:22

Choose a tag to compare

  • 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)
    and Wrapper::cloneClientForClosure($client). Made previously private method Client::_try_multicall protected.
    Added to Wrapper protected members $prefix = 'xmlrpc' and $allowedResponseClass.
    Allow '*' as argument for Wrapper::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.php demo file now works in 2 steps, to better exemplify real-world usage

  • fixed: the client/parallel.php demo was not sending separate requests when using curl "multi" mode

  • fixed: method PhpXmlRpc::setLogger was not resetting the Response Logger

  • fixed: the vm.sh script would not expose the http ports of the test container to the host

4.11.3

03 Oct 18:47

Choose a tag to compare

  • 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 /tmp as temporary dir in demo files

4.11.2

20 Jun 11:34

Choose a tag to compare

  • 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.sh to run the testsuite locally against a matrix of environments, kinda
    like the test matrix which is run on commit on github

4.11.1

17 Jan 17:07

Choose a tag to compare

  • fixed: removed one warning emitted by the Server on php 8.4 and later (issue #125, thanks @ziegenberg)

4.11.0

07 Sep 14:45

Choose a tag to compare

  • 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

27 Jun 08:38

Choose a tag to compare

fixed: Response returned from the library in case of HttpException did not have set the correct status_code member var ( issue #119 )

4.10.3

23 Apr 10:51

Choose a tag to compare

  • fixed: avoid emitting warnings when parsing some classes of malformed XML (issue #116)

  • fixed: the library will now return a Fault Response object with error code 2 whenever parsing some xml responses
    which do not conform to the specification, namely those having both fault and params elements inside methodResponse

4.10.2

14 Apr 22:49

Choose a tag to compare

  • fixed: allow Server subclasses 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 Response object whenever parsing some xml responses which do not conform
    to the specification, namely the for following cases:

    • a methodResponse element without either fault or params
    • a methodResponse element with a params child which does not have a single param
  • improved: test on php 8.3

4.10.1

22 Feb 12:31

Choose a tag to compare

  • 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 the xml_header method has been moved to the Request object)

  • fixed: let the Client create Requests whose class can be overridden by subclasses, within the _try_multicall method,
    which is called from multicall

  • fixed: declare the library not to be compatible with old versions of 'phpxmlrpc/extras' and 'phpxmlrpc/jsonrpc'