5.6.4-RELEASE: Merry X-Mas

at 2007-12-25 in ReleasesAnnouncements by friebe (0 comments)

X-Mas TreeThis release contains numerous bugfixes, features and performance improvements but also cleans up deprecated methods like lang.reflect.Routine::returnsReference() and rdbms.Criteria::newInstance().


XP 5.6.4
Requires PHP 5 (5.2.0 - ...) - Download.

ChangeLog



Heads up!
  • Removed deprecated rdbms.Criteria::newInstance() method (friebe)
  • Removed deprecated lang.reflect.Routine::returnsReference() method (friebe)
  • Refactored unittest.TestSuite / unittest.TestCase for added listener API. With these changes, test cases cannot be run on their own but must always be added to a suite before - it can run single tests via runTest() (friebe)
  • An implementation of scriptlet.rpc.AbstractRpcRequest::getMessage() must set the message's encoding on it's own now, the router does not do this anymore (kiesel)
  • Removed constant SKELETON_PATH (friebe)
  • Changed stack trace elements generated from PHP error message to no longer contain the class. The filename cannot really be translated to the fully qualified class name in a consistent and fast-enough manner (friebe)
  • Made util.Properties::fromFile() throw an IOException when the given file cannot be read (friebe)
  • Deprecated lang.archive.ArchiveReader in favor of lang.archive.Archive - see entry #226 (friebe)

RFCs

Bugfixes
  • Fixed util.collections.HashSet::addAll() to not change the list if one of the array elements is of invalid type (friebe)
  • Fixed lang.reflect.Routine::getExceptionTypes() always throwing exceptions. (friebe)
  • Fixed lang.Primitive::boxed() for NULL values (friebe)
  • Fixed a bug in peer.ldap which occurred when the size-limit for the results
    was exceeded.. (hinckel, doebele)
  • Fixed webservices.soap API to fix problem with SOAP clients that send UTF-8 encoded values (kiesel)
  • Fixed webservices.soap API to properly read timezone from serialized SOAP dateTime values and also pass timezone information (kiesel)
  • Fixed util.Properties class to throw IOExceptions in case the ini file cannot be read (friebe)
  • Fixed lang.archive.ArchiveClassLoader::providesPackage() method (friebe)
  • Fixed rdbms.util.DBXmlGenerator::getSource() - (bug #25) (friebe)
  • Fixed security.cert.X509Certificate::getSubjectDN() and security.cert.X509Certificate::getIssuerDN() to decode DNs correctly (friebe)
  • Fixed notices and warnings in various places (E_ALL conformance). (friebe)

Features
  • Changed raise() functionality to support more than one argument to be passed to exception's constructor via varargs (kiesel, friebe)
  • Made rdbms.DriverManager::register() throw an IllegalArgumentException when an incorrect driver class was given (friebe)
  • Improved performance of lang.types.ArrayList::equals() method (friebe)
  • Improved performance of XPClass::getFields() and XPClass::getField() (friebe)
  • Added API to listen to events during a unit test run (friebe)
  • Made it possible to run multiple unittests at once with the unittest cli runner - see "unittest -?" for examples. (friebe)
  • Added option to choose target encoding in xml.parser.XMLParser with the setEncoding() method. Default encoding still is ISO-8859-1. (kiesel)
  • Added 'd' (diff) instruction to xar command (kiesel)
  • Added setters for all elements of an URL to peer.URL class (kiesel)
  • Added support for XARs inside XARs (friebe)
  • Added lang.ClassLoader::removeLoader() method to complement its registerLoader() method. (friebe)
  • Made lang.archive.ArchiveClassLoader use xar loader provided by lang.base.php instead of having to use an extra ArchiveReader class (friebe, kiesel)
  • Improved performance of xml.XSLCallback class (friebe)
  • Improved performance of XPClass::getMethods(), XPClass::getMethod(), XPClass::hasMethod() and XPClass::getConstructor() / XPClass::hasConstructor() (friebe)



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES

Related

Find related articles by a search for «5.6.4-RELEASE:».