wip github actions CI
[plcapi.git] / NEWS
1 XML-RPC for PHP version 4.6.0 - unreleased
2
3 * fixed: compatibility with php 8.1
4
5 * improved: when encoding utf8 text into us-ascii xml, use character entity references for characters number 0-31
6   (ascii non printable characters), as we were already doing when encoding iso-8859-1 text into us-ascii xml
7
8 * new: method `Server::getDispatchMap()`. Useful for non-child classes which want to f.e. introspect the server
9
10 * new: increase flexibility in class composition by adopting a Dependency Injection (...ish) pattern:
11   it is now possible to swap out the Logger, XMLParser and Charset classes with similar ones of your own making.
12   Example code:
13       // 1. create an instance of a custom character encoder
14       // $myCharsetEncoder = ...
15       // 2. then use it while serializing a Request:
16       Request::setCharsetEncoder($myCharsetEncoder);
17       $request->serialize($funkyCharset);
18
19 * new: method `XMLParser::parse()` acquired a 4th argument
20
21 * improved: Continuous Integration is now running on Github Actions instead of Travis
22
23
24 XML-RPC for PHP version 4.5.2 - 2021/1/11
25
26 * improved: better phpdocs in the the php code generated by the Wrapper class
27
28 * improved: debugger favicon and page title when used from the phpjsonrpc library
29
30 * fixed: allow `Encoder::decode` to properly support different target character sets for polyfill-xmlrpc decode functions
31
32 * improved: allow usage of 'epivals' for the 'parameters_type' member of methods definitions in the Server dispatch map
33
34
35 XML-RPC for PHP version 4.5.1 - 2021/1/3
36
37 * improved: made it easier to subclass the Helper\Charset class by allowing `instance` to use late static binding
38
39 * fixed: reinstated access to xmlrpc_server->dmap (for users of the v3 API)
40
41 * fixed: method `xmlrpc_encode_entitites` (for users of the v3 API)
42
43 * improved: split the code of the demo server in multiple files, describing better the purpose of each
44
45
46 XML-RPC for PHP version 4.5.0 - 2020/12/31
47
48 * new: it is now possible to control the precision used when serializing DOUBLE values via usage of
49   `PhpXmlRpc::$xmlpc_double_precision`
50
51 * fixed: `Encoder::encode` would not correctly encode DateTime and DateTimeImmutable objects
52
53 * improvements to to the Helper\Date class in rejecting invalid date strings
54
55 * improvements to the Wrapper class in identifying required arguments types from source code phpdoc: support 'array[]',
56   'DateTime' and 'DateTimeImmutable'
57
58 * improvements to the support of the XMLRPC extension emulation (now provided by the phpxmlrpc/polyfill-xmlrpc package)
59
60 * minor improvements to the Charset helper: it now loads character set conversion  tables on demand, leading to
61   slightly lower memory usage and faster execution time when using UTF8 everywhere.
62   NB: take care if you have subclassed it!
63
64 * new method: `Server::isSyscall` - mostly of use to Server subclasses and friend classes such as introspectors
65
66 * internal method `XMLParser::xmlrpc_ee` now accepts 3 states for its 3rd parameter instead of a bool
67
68 * improvements in the inline phpdoc: tagged many methods and class member as reserved for internal usage only
69
70 * minor improvements in the debugger to allow easier integration of phpxmlrpc/jsonrpc and friends
71
72 * reorganized the test suite to be more manageable
73
74 * removed obsolete files from the 'extras' folder; updated and moved to the 'demo' folders the perl and python
75   client scripts; moved benchmark.php and verify_compat.php to the 'extras' folder
76
77
78 XML-RPC for PHP version 4.4.3 - 2020/12/17
79
80 * fixed: compatibility with PHP 8.0 (fixes to the debugger, to the server's 'system.methodHelp' method and to the
81   PhpXmlRpc\Wrapper class).
82   Note that method `Value::structeach` has not been removed from the API, but it is _not_ supported when running
83   on PHP 8.0 or later - in that case it will always throw an Error.
84
85 * improvements to the test stack: it is now possible to run it via Docker besides Travis; avoid using _any_ external
86   server when running tests; run Travis tests also on php 8.0; bump PHPUnit versions in use
87
88
89 XML-RPC for PHP version 4.4.2 - 2020/3/4
90
91 * fixed: `client->setCookie()` bug: cookie values that contain spaces are now properly encoded in a way that gets them
92   decoded back to spaces on the receiving end if the server running on php 7.4 (or does RFC-compliant cookie decoding).
93   Beforehand we were encoding spaces to '+' characters.
94
95
96 XML-RPC for PHP version 4.4.1 - 2019/7/29
97
98 * fixed: allow handling huge xml messages (>=10MB) (issue #71)
99
100 * improved: make it easier to overtake the library's usage of `error_log`
101
102
103 XML-RPC for PHP version 4.3.2 - 2019/5/27
104
105 * fixed: remove one php 7.2 warning when using the v3 api
106
107 * improved: the Travis tests are now run with all php versions from 5.6 to 7.3. We dropped tests with php 5.3, 5.4 and 5.5
108
109
110 XML-RPC for PHP version 4.3.1 - 2018/1/20
111
112 * fixed: error when using https in non-curl mode
113
114 * fixed: compatibility of tests with php 7.2
115
116 * fixed: html injection in sample code
117
118 * fixed: warnings emitted by the *legacy* server in xmlrpcs.inc
119
120 * fixed: encoding of php variables of type 'resource' when using xmlrpc_encode in php-compatibility mode
121
122 * fixed: bad html tag in sample code
123
124 * improved: text of error messages
125
126
127 XML-RPC for PHP version 4.3.0 - 2017/11/6
128
129 * fixed: compatibility with Basic/Digest/NTLM auth when using client in cURL mode (issue #58)
130
131 * improved: added unit tests for Basic and Digest http auth. Also improved tests suite
132
133 * new: allow to force usage of curl for http 1.0 calls, as well as plain socket for https calls, via the method
134     `Client::setUseCurl()`
135
136
137 XML-RPC for PHP version 4.2.2 - 2017/10/15
138
139 * fixed: compatibility with Lighttpd target servers when using client in cURL mode and request body size > 1024 bytes (issue #56)
140
141
142 XML-RPC for PHP version 4.2.1 - 2017/9/3
143
144 * fixed: compatibility with php 7.2 (issue #55)
145
146
147 XML-RPC for PHP version 4.2.0 - 2017/6/30
148
149 * improved: allow also DateTimeImmutable objects to be detected as a date when encoding
150
151
152 XML-RPC for PHP version 4.1.1 - 2016/10/1
153
154 * fixed: error in server class: undefined function php_xmlrpc_encode (only triggered when not using the compatibility
155     shim with old versions)
156
157
158 XML-RPC for PHP version 4.1.0 - 2016/6/26
159
160 * improved: Added support for receiving <I8> and <EX:I8> integers, sending <I8>
161
162     If php is compiled in 32 bit mode, and an i8 int is received from a 3rd party, and error will be emitted.
163     Integers sent from the library to 3rd parties can be encoded using the i8 tag, but default to using 'int' by default;
164     the developer will have to create values as i8 explicitly if needed.
165     The library does *not* check if an outgoing integer is too big to fit in 4 bytes and convert it to an i8 automatically.
166
167
168 XML-RPC for PHP version 4.0.1 - 2016/3/27
169
170 * improved: all of the API documentation has been moved out of the manual and into the source code phpdoc comments
171
172 * fixed: when the internal character set is set to UTF-8 and the client sends requests (or the server responses), too
173   many characters were encoded as numeric entities, whereas some, like åäö, needed not not be
174
175 * fixed: the 'valtyp' property of Response was not present in all cases; the ValType property had been added by error
176   and has been removed
177
178
179 XML-RPC for PHP version 4.0.0 - 2016/1/20
180
181 This release does away with the past and starts a transition to modern-world php.
182
183 Code has been heavily refactored, taking care to preserve backwards compatibility as much as possible,
184 but some breackage is to be expected.
185
186 The minimum required php version has been increased to 5.3, even though we strongly urge you to use
187 more recent versions.
188
189 PLEASE READ CAREFULLY THE NOTES BELOW to insure a smooth upgrade.
190
191 * new: introduction of namespaces and full OOP.
192
193   All php classes have been renamed and moved to separate files.
194   Class autoloading can now be done in accord with the PSR-4 standard.
195   All global variables and global functions have been removed.
196   Iterating over xmlrpc value objects is now easier thank to support for ArrayAccess and Traversable interfaces.
197
198   Backward compatibility is maintained via lib/xmlrpc.inc, lib/xmlrpcs.inc and lib/xmlrpc_wrappers.inc.
199   For more details, head on to doc/api_changes_v4.md
200
201 * changed: the default character encoding delivered from the library to your code is now utf8.
202   It can be changed at any time setting a value to PhpXmlRpc\PhpXmlRpc::$xmlrpc_internalencoding
203
204 * improved: the library now accepts requests/responses sent using other character sets than UTF-8/ISO-8859-1/ASCII.
205   This only works when the mbstring php extension is enabled.
206
207 * improved: no need to call anymore $client->setSSLVerifyHost(2) to silence a curl warning when using https
208   with recent curl builds
209
210 * improved: the xmlrpcval class now supports the interfaces Countable and IteratorAggregate
211
212 * improved: a specific option allows users to decide the version of SSL to use for https calls.
213   This is useful f.e. for the testing suite, when the server target of calls has no proper ssl certificate,
214   and the cURL extension has been compiled with GnuTLS (such as on Travis VMs)
215
216 * improved: the function wrap_php_function() now can be used to wrap closures (it is now a method btw)
217
218 * improved: all wrap_something() functions now return a closure by default instead of a function name
219
220 * improved: debug messages are not html-escaped any more when executing from the command line
221
222 * improved: the library is now tested using Travis ( https://travis-ci.org/ ).
223   Tests are executed using all php versions from 5.3 to 7.2; code-coverage information
224   is generated using php 5.6 and uploaded to both Code Coverage and Scrutinizer online services
225
226 * improved: phpunit is now installed via composer, not bundled anymore
227
228 * improved: when phpunit is used to generate code-coverage data, the code executed server-side is accounted for
229
230 * improved: the test suite has basic checks for the debugger and demo files
231
232 * improved: more tests in the test suite
233
234 * fixed: the server would not reset the user-set debug messages between subsequent service() calls
235
236 * fixed: the server would not reset previous php error handlers when an exception was thrown by user code and
237   exception_handling set to 2
238
239 * fixed: the server would fail to decode a request with ISO-8859-1 payload and character set declaration in the xml
240   prolog only
241
242 * fixed: the client would fail to decode a response with ISO-8859-1 payload and character set declaration in the xml
243   prolog only
244
245 * fixed: the function decode_xml() would not decode an xml with character set declaration in the xml prolog
246
247 * fixed: the client can now successfully call methods using ISO-8859-1 or UTF-8 characters in their name
248
249 * fixed: the debugger would fail sending a request with ISO-8859-1 payload (it missed the character set declaration).
250   It would have a hard time coping with ISO-8859-1 in other fields, such as e.g. the remote method name
251
252 * fixed: the debugger would generate a bad payload via the 'load method synopsis' button for signatures containing NULL
253   or undefined parameters
254
255 * fixed: the debugger would generate a bad payload via the 'load method synopsis' button for methods with multiple
256   signatures
257
258 * improved: the debugger is displayed using UTF-8, making it more useful to debug any kind of service
259
260 * improved: echo all debug messages even when there are characters in them which php deems to be in a wrong encoding;
261   previously those messages would just disappear (this is visible e.g. in the debugger)
262
263 * changed: debug info handling
264     - at debug level 1, the rebuilt php objects are not dumped to screen (server-side already did that)
265     - at debug level 1, curl communication info are not dumped to screen
266     - at debug level 1, the tests echo payloads of failures; at debug level 2 all payloads
267
268 * improved: makefiles have been replaced with a php_based pakefile
269
270 * improved: the source for the manual is stored in asciidoc format, which can be displayed natively by GitHub
271   with nice html formatting. Also the HTML version generated by hand and bundled in tarballs is much nicer
272   to look at than previous versions
273
274 * improved: all php code is now formatted according to the PSR-2 standard
275
276
277 XML-RPC for PHP version 3.0.0 - 2014/6/15
278
279 This release corrects all bugs that have been reported and successfully reproduced since
280 version 3.0.0 beta.
281
282 The requirements have increased to php 5.1.0 - which is still way older than what you should be running for any serious
283 purpose, really.
284
285 It also is the first release to be installable via composer.
286
287 See the Changelog file or the pdf docs for a complete list of changes.
288
289
290 XML-RPC for PHP version 3.0.0 beta - 2009/09/05
291
292 This is the first release of the library to only support PHP 5.
293 Some legacy code has been removed, and support for features such as exceptions
294 and dateTime objects introduced.
295
296 The "beta" tag is meant to indicate the fact that the refactoring has been more widespread
297 than in precedent releases and that more changes are likely to be introduced with time -
298 the library is still considered to be production quality.
299
300 * improved: removed all usage of php functions deprecated in php 5.3, usage of assign-by-ref when creating new objects
301   etc...
302 * improved: add support for the <ex:nil/> tag used by the apache library, both in input and output
303 * improved: add support for dateTime objects in both in php_xmlrpc_encode and as parameter for constructor of xmlrpcval
304 * improved: add support for timestamps as parameter for constructor of xmlrpcval
305 * improved: add option 'dates_as_objects' to php_xmlrpc_decode to return dateTime objects for xmlrpc datetimes
306 * improved: add new method SetCurlOptions to xmrlpc_client to allow extra flexibility in tweaking http config, such as
307   explicitly binding to an ip address
308 * improved: add new method SetUserAgent to xmrlpc_client to to allow having different user-agent http headers
309 * improved: add a new member variable in server class to allow fine-tuning of the encoding of returned values when the
310   server is in 'phpvals' mode
311 * improved: allow servers in 'xmlrpcvals' mode to also register plain php functions by defining them in the dispatch map
312   with an added option
313 * improved: catch exceptions thrown during execution of php functions exposed as methods by the server
314 * fixed: bad encoding if same object is encoded twice using php_xmlrpc_encode
315
316
317 XML-RPC for PHP version 2.2.2 - 2009/03/16
318
319 This release corrects all bugs that have been reported and sucesfully reproduced since
320 version 2.2.1.
321 Regardless of the intimidating message about dropping PHP 4 support, it still does
322 support that ancient, broken and insecure platform.
323
324
325 * fixed: php warning when receiving 'false' in a bool value
326 * fixed: improve robustness of the debugger when parsing weird results from non-compliant servers
327 * fixed: format floating point values using the correct decimal separator even when php locale is set to one that uses
328   comma
329 * fixed: use feof() to test if socket connections are to be closed instead of the number of bytes read (rare bug when
330   communicating with some servers)
331 * fixed: be more tolerant in detection of charset in http headers
332 * fixed: fix encoding of UTF8 chars outside of the BMP plane
333 * fixed: fix detection of zlib.output_compression
334 * improved: allow the add_to_map server method to add docs for single params too
335 * improved: added the possibility to wrap for exposure as xmlrpc methods plain php class methods, object methods and
336   even whole classes
337
338
339 XML-RPC for PHP version 2.2.1 - 2008/03/06
340
341 This release corrects all bugs that have been reported and sucesfully reproduced.
342 It is the last release of the library that will support PHP 4.
343
344 * fixed: work around bug in php 5.2.2 which broke support of HTTP_RAW_POST_DATA
345 * fixed: is_dir parameter of setCaCertificate() method is reversed
346 * fixed: a php warning in xmlrpc_client creator method
347 * fixed: parsing of '1e+1' as valid float
348 * fixed: allow errorlevel 3 to work when prev. error handler was a static method
349 * fixed: usage of client::setcookie() for multiple cookies in non-ssl mode
350 * improved: support for CP1252 charset is not part or the library but almost possible
351 * improved: more info when curl is enabled and debug mode is on
352
353
354 XML-RPC for PHP version 2.2 - 2007/02/25
355
356 This release corrects a couple of bugs and adds a few minor features.
357
358 * fixed: debugger errors on php installs with magic_quotes_gpc on
359 * fixed: support for https connections via proxy
360 * fixed: wrap_xmlrpc_method() generated code failed to properly encode php objects
361 * improved: slightly faster encoding of data which is internally UTF-8
362 * improved: debugger always generates a 'null' id for jsonrpc if user omits it
363 * new: debugger can take advantage of a graphical value builder
364   (it has to be downloaded separately, as part of jsxmlrpc package)
365 * new: support for the <NIL/> xmlrpc extension
366 * new: server support for the system.getCapabilities xmlrpc extension
367 * new: wrap_xmlrpc_method() accepts two new options: debug and return_on_fault
368
369
370 XML-RPC for PHP version 2.1 - 2006/08/28
371
372 This release corrects quite a few bugs and adds some interesting new features.
373 There is a minor security enhancement and overall speedup too.
374
375 It has been tested with PHP 4.0.5 up to 4.4.4 and 5.1.5.
376 Please note that 404pl1 is NOT supported, and has not been since 2.0.
377
378 *** PLEASE READ CAREFULLY BELOW ***
379
380 CHANGES THAT MIGHT AFFECT DEPLOYED APPLICATIONS:
381
382 The wrap_php_function and wrap_xmlrpc_method functions have been moved out of
383 the base library file xmlrpc.inc into a file of their own: xmlrpc_wrappers.inc.
384 You will have to include() / require() it in your scripts if you have been using
385 those functions.
386
387 For increased security, the automatic rebuilding of php object instances out of
388 received xmlrpc structs in wrap_xmlrpc_method() has been disabled (but it can be
389 optionally reenabled).
390
391 The constructor of xmlrpcval() values has seen major changes, and it will not
392 throw a php warning anymore when invoked using an unknown xmlrpc type: the
393 error will only be written to php error log. Also new xmlrpcval('true', 'boolean')
394 is not supported anymore.
395
396 MAJOR IMPROVEMENTS:
397
398 The new function php_xmlrpc_decode_xml() will take the xml representation of
399 either an xmlrpc request, response or single value and return the corresponding
400 php-xmlrpc object instance.
401
402 Both wrap_php_function() and wrap_xmlrpc_method() functions accept many more
403 options to fine tune their behaviour, including one to return the php code to
404 be saved and later used as standalone php script.
405
406 A new function wrap_xmlrpc_server() has been added, to wrap all (or some) of the
407 methods exposed by a remote xmlrpc server into a php class.
408
409 Lib internals have been modified to provide better support for grafting extra
410 functionality on top of it. Stay tuned for future releases of the EXTRAS package.
411
412 Last but not least a new file has been added: verify_compat.php, to help users
413 diagnose the level of compliance of the current php install with the library.
414
415 CHANGELOG IN DETAIL:
416
417 * fixed bug 1311927: client not playing nice with some proxy/firewall on ports != 80
418 * fixed bug 1334340: all ereg_ functions have been replaced with corresponding preg_
419 * fixed bug: wrong handling of 'deflate' http encoding, both server and client side
420 * fixed bug: sending compressed responses when php output compression is enabled was not working
421 * fixed bug: addarray() and addstruct() where not returning 1 when adding data to already initialized values
422 * fixed bug: non-ascii chars used in struct element names where not being encoded correctly
423 * restored compatibility with php 4.0.5 (for those poor souls still stuck on it)
424 * server->service() now returns either the payload or xmlrpcresp instance
425 * server->add_to_map() now accepts methods with no param definitions
426 * added new function: php_xmlrpc_decode_xml()
427 * added new function: wrap_xmlrpc_server()
428 * major improvements and security enhancements to wrap_php_function() and wrap_xmlrpc_method()
429 * documentation for single parameters of exposed methods can be added to the dispatch map
430   (and turned into html docs in conjunction with a future release of the extras package)
431 * full response payload is saved into xmlrpcresp object for further debugging
432 * stricter parsing of incoming xmlrpc messages: two more invalid cases are now detected
433   (double data element inside array and struct/array after scalar inside value element)
434 * debugger can now generate code that wraps a remote method into php function (works for jsonrpc, too)
435 * debugger has better support for being activated via a single GET call (for integration into other tools?)
436 * more logging of errors in a lot of situations
437 * javadoc documentation of lib files almost complete
438 * the usual amount of new testcases in the testsuite
439 * many performance tweaks and code cleanups
440 * added foundation for emulating the API of the xmlrpc extension (extras package needed)
441
442
443 XML-RPC for PHP version 2.0 - 2006/04/24
444
445 I'm pleased to announce XML-RPC for PHP version 2.0, final.
446
447 With respect to the last release candidate, this release corrects a few small
448 bugs and adds a couple of new features: more authentication options (digest and
449 ntlm for servers, ntlm for proxies, and some https custom certificates stuff);
450 all the examples have been reviewed and some demo files added,
451 including a ready-made xmlrpc proxy (useful e.g. for ajax calls, when the xmlrpc
452 client is a browser); the server logs more warning messages for incorrect situations;
453 both client and server are more tolerant of commonly-found mistakes.
454 The debugger has been upgraded to reflect the new client capabilities.
455
456 In greater detail:
457
458 * fixed bug: method xmlrpcval::structmemexists($value) would not work
459 * fixed bug: wrap_xmlrpc_method would fail if invoked with a client object that
460   has return_type=phpvals
461 * fixed bug: in case of call to client::multicall without fallback and server error
462 * fixed bug: recursive serialization of xmlrpcvals loosing specified UTF8 charset
463 * fixed bug: serializing to ISO-8859-1 with php 5 would raise an error if non-ascii
464   chars where found when decoding
465 * new: client can use NTLM and Digest authentication methods for https and http 1.1
466   connections; authentication to proxy can be set to NTLM, too
467 * new: server tolerates user functions returning a single xmlrpcval object instead
468   of an xmlrpcresp
469 * new: server does more checks for presence and correct return type of user
470   coded method handling functions, and logs inconsistencies to php error log
471 * new: client method SetCaCertificate($cert, $is_dir) to validate server against
472 * new: both server and client tolerate receiving 'true' and 'false' for bool values
473   (which btw are not valid according to the xmlrpc spec)
474
475
476 XML-RPC for PHP version 2.0RC3 - 2006/01/22
477
478 This release corrects a few bugs and adds some interesting new features.
479 It has been tested with PHP up to 4.4.2 and 5.1.2.
480
481 * fixed bug: server not recognizing clients that declare support for http compression
482 * fixed bug: serialization of new xmlrpcval (8, 'string') when internal encoding
483   set to UTF-8
484 * fixed bug: serialization of new xmlrpcval ('hello', 'int') would produce
485   invalid xml-rpc
486 * new: let the server accept 'class::method' syntax in the dispatch map
487 * new: php_xmlrpc_decode() can decode xmlrpcmessage objects
488 * new: both client and server can specify a charset to be used for serializing
489   values instead of the default 'US-ASCII+xml-entities-for-other-characters'.
490   Values allowed: ISO-8859-1 and UTF-8
491 * new: the server object can register 'plain' php functions instead of functions
492   that accept a single parameter of type xmlrpcmsg. Faster, uses less memory
493   (but comes with minor drawbacks as well, read the manual for more details)
494 * new: client::setDebug(2) can be used to have the request payload printed to
495   screen before being sent
496 * new: server::service($data) lets user parse data other than POST body, for
497   easier testing / subclassing
498 * changed: framework-generated debug messages are sent back by the server base64
499   encoded, to avoid any charset/xml compatibility problem
500 * other minor fixes
501
502 The usual refactoring of a lot of (private) methods has taken place, with new
503 parameters added to some functions.
504 Javadoc documentation has been improved a lot.
505 The HTML documentation has been shuffled around a bit, hoping to give it a more
506 logical organization.
507
508 The experimental support for the JSON protocol has been removed, and will be
509 packaged as a separate download with some extra very interesting stuff (human
510 readable auto-generated documentation, anyone?).
511
512
513 XML-RPC for PHP version 2.0RC2 - 2005/11/22
514
515 This release corrects a few bugs and adds basically one new method for better
516 HTTPS support:
517
518  * fixed two bugs that prevented xmlrpc calls to take place over https
519  * fixed two bugs that prevented proper recognition of xml character set
520    when it was declared inside the xml prologue
521  * added xmlrpc_client::setKey($key, $keypass) method, to allow using client
522    side certificates for https connections
523  * fixed bug that prevented proper serialization of string xmlrpcvals when
524    $xmlrpc_internalencoding was set to UTF-8
525  * fixed bug in xmlrpc_server::echoInput() (and marked method as deprecated)
526  * correctly set cookies/http headers into xmlrpcresp objects even when the
527    send() method call fails for some reason
528  * added a benchmark file in the testsuite directory
529
530 A couple of (private/protected) methods have been refactored, as well as a
531 couple of extra parameters added to some (private) functions - this has no
532 impact on the public API and should be of interest primarily to people extending
533 / subclassing the lib.
534
535 There is also new, PARTIAL support for the JSON-RPC protocol, implemented in
536 two files in the extras dir (more info about json-rpc at http://json-rpc.org)
537
538
539 XML-RPC for PHP version 2.0RC1 - 2005/10/03
540
541 I'm pleased to announce XML-RPC for PHP version 2.0, release candidate 1.
542
543 This release introduces so many new features it is almost impossible to list them
544 here, making the library finally on pair with, if not more advanced than, any other
545 similar offer (e.g. the PEAR XMLRPC package or the Incutio IXR library).
546 No, really, trust me.
547
548 The minimum supported PHP version is now 4.2 - natively - or 4.0.4pl1 - by usage of
549 a couple of compatibility classes (code taken from PEAR php_compat package).
550
551 The placement of files and directories in the distribution has been deeply modified,
552 in the hope of making it more clear, now that the file count has increased.
553 I hope you find it easy.
554
555 Support for "advanced" HTTP features such as cookies, proxies and keep-alives has
556 been added at last.
557
558 It is now much easier to convert between xmlrpcval objects and php values, and
559 in fact php_xmlrpc_encode and php_xmlrpc_decode are now the recommended methods
560 for all cases, except when encoding base64 data.
561
562 Two new (experimental) functions have been added, allowing automagic conversion
563 of a php function into an xmlrpc method to be exposed and vice-versa.
564
565 PHP objects can be now automatically serialized as xmlrpc struct values and
566 correctly deserialized on the other end of the transmission, provided that the
567 same class definition is present on both sides and no object members are of
568 type resource.
569
570 A lot of the existing class methods have been overloaded with extra parameters
571 or new functionality, and a few added ex-novo, making usage easier than ever.
572
573 A complete debugger solution is included in the distribution. It needs a web server
574 to run (a freely available version of the same debugger is accessible online, it
575 can be found at http://phpxmlrpc.sourceforge.net).
576
577 For a more detailed list of changes, please read carefully chapter 2 of the
578 included documentation, or, even better, take a look at the source code, which
579 is commented in javadoc style quite a bit.
580
581
582 XML-RPC for PHP version 1.2 - 2005/08/14
583
584 This removes all use of eval(), which is a potential security problem.
585 All users are encouraged to upgrade as soon as possible.
586 As of this release we are no longer php3-compatible.
587
588
589 XML-RPC for PHP version 1.1.1 - 2005/06/30
590
591 This is a security vulnerability fix release.
592 All users are invited to upgrade as soon as possible.
593
594
595 XML-RPC for PHP version 1.1 - 2005/05/03
596
597 I'm pleased to announce XML-RPC for PHP version 1.1
598 It's taken two years to get to the this point, but here we are, finally.
599
600 This is a bugfix and maintenance release. No major new features have been added.
601 All known bugs have been ironed out, unless fixing would have meant breaking
602 the API.
603 The code has been tested with PHP 3, 4 and 5, even tough PHP 4 is the main
604 development platform (and some warnings will be emitted when running PHP5).
605
606 Noteworthy changes include:
607
608  * do not clash any more with the EPI xmlrpc extension bundled with PHP 4 and 5
609  * fixed the unicode/charset problems that have been plaguing the lib for years
610  * proper parsing of int and float values prepended with zeroes or the '+' char
611  * accept float values in exponential notation
612  * configurable http user-agent string
613  * use the same timeout on client socket reads as used for connecting
614  * more explicative error messages in xmlrpcresponse in many cases
615  * much more tolerant parsing of malformed http responses from xmlrpc servers
616  * fixed memleak that prevented the client to be used in never-ending scripts
617  * parse bigger xmlrpc messages without crashing (1MB in size or more)
618  * be tolerant to xmlrpc responses generated on public servers that add
619    javascript advertising at the end of hosted content
620  * the lib generates quite a few less PHP warnings during standard operation
621
622 This is the last release that will support PHP 3.
623 The next release will include better support for PHP 5 and (possibly) a slew of
624 new features.
625
626 The changelog is available at:
627 http://cvs.sourceforge.net/viewcvs.py/phpxmlrpc/xmlrpc/ChangeLog?view=markup
628
629 Please report bugs to the XML-RPC PHP mailing list or to the sourceforge project
630 pages at http://sourceforge.net/projects/phpxmlrpc/
631
632
633 XML-RPC for PHP version 1.0
634
635 I'm pleased to announce XML-RPC for PHP version 1.0 (final). It's taken
636 two years to get to the 1.0 point, but here we are, finally.  The major change
637 is re-licensing with the BSD open source license, a move from the custom
638 license previously used.
639
640 After this release I expect to move the project to SourceForge and find
641 another primary maintainer for the code.  More details will follow to the
642 mailing list.
643
644 It can be downloaded from http://xmlrpc.usefulinc.com/php.html
645
646 Comprehensive documentation is available in the distribution, but you
647 can also browse it at http://xmlrpc.usefulinc.com/doc/
648
649 Bugfixes in this release include:
650
651  * Small fixes and tidying up.
652
653 New features include:
654
655  * experimental support for SSL via the curl extensions to PHP.  Needs
656    PHP 4.0.2 or greater, but not PHP 4.0.6 which has broken SSL support.
657
658 The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt
659
660 Please report bugs to the XML-RPC PHP mailing list, of which more details are
661 available at http://xmlrpc.usefulinc.com/list.html, or to
662 <xmlrpc@usefulinc.com>.
663
664
665 XML-RPC for PHP version 1.0 beta 9
666
667 I'm pleased to announce XML-RPC for PHP version 1.0 beta 9. This is
668 is largely a bugfix release.
669
670 It can be downloaded from http://xmlrpc.usefulinc.com/php.html
671
672 Comprehensive documentation is available in the distribution, but you
673 can also browse it at http://xmlrpc.usefulinc.com/doc/
674
675 Bugfixes in this release include:
676
677  * Fixed string handling bug where characters between a </string>
678    and </value> tag were not ignored.
679
680  * Added in support for PHP's native boolean type.
681
682 New features include:
683
684  * new getval() method (experimental only) which has support for
685    recreating nested arrays.
686  * fledgling unit test suite
687  * server.php has support for basic interop test suite
688
689 The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt
690
691 Please test this as hard as possible and report bugs to the XML-RPC PHP
692 mailing list, of which more details are available at
693 http://xmlrpc.usefulinc.com/list.html, or to <xmlrpc@usefulinc.com>.
694
695
696 XML-RPC for PHP version 1.0 beta 8
697
698 I'm pleased to announce XML-RPC for PHP version 1.0 beta 8.
699
700 This release fixes several bugs and adds a couple of new helper
701 functions. The most critical change in this release is that you can no
702 longer print debug info in comments inside a server method -- you must
703 now use the new xmlrpc_debugmsg() function.
704
705 It can be downloaded from http://xmlrpc.usefulinc.com/php.html
706
707 Comprehensive documentation is available in the distribution, but you
708 can also browse it at http://xmlrpc.usefulinc.com/doc/
709
710 Bugfixes in this release include:
711
712  * fixed whitespace handling in values
713  * correct sending of Content-length from the server
714
715 New features include:
716
717  * xmlrpc_debugmsg() method allows sending of debug info in comments in
718    the return payload from a server
719
720  * xmlrpc_encode() and xmlrpc_decode() translate between xmlrpcval
721    objects and PHP language arrays. They aren't suitable for all
722    datatypes, but can speed up coding in simple scenarios. Thanks to Dan
723    Libby for these.
724
725 The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt
726
727 Please test this as hard as possible and report bugs to the XML-RPC PHP
728 mailing list, of which more details are available at
729 http://xmlrpc.usefulinc.com/list.html, or to <xmlrpc@usefulinc.com>.
730
731
732 XML-RPC for PHP version 1.0 beta 7
733
734 I'm pleased to announce XML-RPC for PHP version 1.0 beta 7. This is
735 fixes some critical bugs that crept in. If it shows itself to be stable
736 then it'll become the 1.0 release.
737
738 It can be downloaded from http://xmlrpc.usefulinc.com/php.html
739
740 Comprehensive documentation is available in the distribution, but you
741 can also browse it at http://xmlrpc.usefulinc.com/doc/
742
743 Bugfixes in this release include:
744
745  * Passing of booleans should now work as expected
746  * Dollar signs and backslashes in strings should pass OK
747  * addScalar() now works properly to append to array vals
748
749 New features include:
750
751  * Added support for HTTP Basic authorization through the
752    xmlrpc_client::setCredentials method.
753
754  * Added test script and method for verifying correct passing of
755    booleans
756
757 The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt
758
759 Please test this as hard as possible and report bugs to the XML-RPC PHP
760 mailing list, of which more details are available at
761 http://xmlrpc.usefulinc.com/list.html, or to <xmlrpc@usefulinc.com>.
762
763
764 XML-RPC for PHP version 1.0 beta 6
765
766 I'm pleased to announce XML-RPC for PHP version 1.0 beta 6. This is the
767 final beta before the 1.0 release.
768
769 It can be downloaded from http://xmlrpc.usefulinc.com/php.html
770
771 Comprehensive documentation is available in the distribution, but you
772 can also browse it at http://xmlrpc.usefulinc.com/doc/
773
774 New features in this release include:
775
776  * Perl and Python test programs for the demo server
777  * Proper fault generation on a non-"200 OK" response from a remote host
778  * Bugfixed base64 decoding
779  * ISO8601 helper routines for translation to and from UNIX timestamps
780  * reorganization of code to allow eventual integration of alternative
781    transports
782
783 The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt
784
785 Please test this as hard as possible and report bugs to the XML-RPC PHP
786 mailing list, of which more details are available at
787 http://xmlrpc.usefulinc.com/list.html, or to <xmlrpc@usefulinc.com>.