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