NewsSupport for PHP 5.3.12 / 5.4.2at 2012-05-04 in 5.8-SERIES, 5.9-SERIES, PHP5 by friebe With the release of PHP 5.3.12 and PHP 5.4.2, the current 5.8-SERIES's supported PHP versions now include all of PHP 5.2.10 through PHP 5.4.2. The 5.9-SERIES supports all PHP versions between PHP 5.3.0 and PHP 5.4.2. New util.UUID classat 2012-04-23 in 5.9-SERIES by friebeIn the course of implementing RFC #0229, the UUID class from the old org.ietf package was moved to the XP Framework. At the same time, its API was changed and now not only implements time-based UUIDs (v1), but also name-based (v3, md5 and v5, sha1) as well as random (v4) UUIDs. For details on the new API, see here. Heads up: If you have previously used the old UUID class, please be aware that you will need to change your code! 5.8.5RC2: RESTat 2012-04-17 in 5.8-SERIES, Announcements, Releases by friebeThe second release candidate for 5.8.5 contains improvements to the REST server API's type and error handling, new handler finalization specializations (reloaded, cancel, success), extension method fixes for lang.Throwable instances and the ability to use SSL versions in conjuction with CURL transports. Go get it! $ cd ~/xp RFC #0210 prerequisitesat 2012-04-15 in RFCs, 5.9-SERIES by friebeA while ago we blogged about the cleanup work in xp.contrib. This was now structured in three different pull requests: Renaming This is handled in pull request #12 and includes renaming of the ecma, xmlrpc, img, google, microsoft and cyrus packages. Removing This is handled in pull request #13 and includes removal of the ajp, tar and gettext packages. IETF package split RFC #0229 consists of two parts:
Split xp.contrib's "ietf"at 2012-04-15 in 5.9-SERIES, RFCs by friebeScope of Change The UUID class will be merged into XP Framework core (as util.UUID) and the ietf package will be renamed to punycode. Rationale The "ietf" module contains both PunyCode and UUID implementations, which are completely unrelated. Read the full RFC here RFC #0235: CsvMapReader / CsvMapWriterat 2012-04-15 in RFCs by friebeScope of Change Instead of working with integers describing the cell offsets in CSV files, we will add a class CsvMapReader to read data into a map, and a class CsvMapWriter to write data from a map to CSV files. Rationale Enable writing code to flexibly deal with changing field order. Read the full RFC here Closures and "this"at 2012-04-08 in PHP5, Language by friebeWhat does the following (plain PHP) do? class Lambda { Well, we'd say it should print Hello World. And that, indeed, is what it does when invoked with PHP 5.4. Unfortunately, with PHP 5.3, this does not work (support for $this was first removed and then re-added again after a lengthy discussion on the php-internals mailing list). To make things , in other languages and platforms, things work even more differently. This is why we've started an RFC on this topic. Its goal is to define consistent behaviour over all platforms XP language runs on. For details, see here. New method peer.URL::getCanonicalURL()at 2012-04-06 in Announcements by friebeThe peer.URL class now features a new method getCanonicalURL. URL canonicalization, or normalization, consist of:
For more details, see pull request 143. XP on NodeJS: Class constants, annotations, stacktracesat 2012-03-21 in Language, Experiments by friebeMore work has been put into the XP on NodeJS experiment: The compiler now knows how to correctly emit class constants and annotations, and a couple of minor bugs have been fixed. The bigger efforts have gone into stabilizing the XP "Microkernel" (which is what I've decied to call the miniature XP Framework implementation written in JavaScript and adopted to NodeJS as well as Windows Scripting Host):
![]() Finally, now, also the emitter dictates the file extension instead of it being hardcoded, so compiling is now completely hassle-free, no more moving the generated .class.php files around. To get started, visit https://github.com/thekid/xp-js ! XP on NodeJS: Flow control, exceptions, loopsat 2012-03-11 in Experiments, Language by friebeThe XP on NodeJS experiment continues to grow, with the following now implemented:
A full list of changes can be seen in the compare view. |
|