5.8-SERIES

Support for PHP 5.3.12 / 5.4.2

at 2012-05-04 in 5.8-SERIES5.9-SERIESPHP5 by friebe

PHP 5With 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.



5.8.5RC2: REST

at 2012-04-17 in 5.8-SERIESAnnouncementsReleases by friebe

The 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
$ wget http://releases.xp-framework.net/setup/5.8.5RC2 -O - | php -- -d ~/bin/



5.8.4-RELEASE: Multiple config sources, selectable database drivers, SQLite3, MySQL local sockets, mocking library

at 2012-02-26 in ReleasesUnittestsDatabasesAnnouncements5.8-SERIES by friebe

The XP group is proud to announce the immediate availability of framework release 5.8.4. After four release candidates and about three and a half months, we deliver a bigger release, including the following:

Multiple config sources
This feature described in RFC #0221 enables combining properties from more than one source (e.g., ini-files). For example, one can now have a global, system-wide configuration and extend on that in your application. This feature is supported by "XPCLI" commands and the web runner - details can be found here.

Selectable database drivers
With more and more database protocols appearing as userland implementation (MySQL, Sybase, MSSQL), the urge to be able to chose between drivers has come up; and be it just for testing. To select a specific driver, append the implementation name to the driver, e.g. mysql+std to select ext/mysql. To retrieve the default MySQL driver, one can still use mysql://user@host DSN syntax.

SQLite3
With the deprecation of SQLIte2 in PHP 5.4, we have decided to implement SQLIte3 support in the XP Framework. At the same time, and because we now offer selectable drivers, the default is SQLIte3.

MySQL local sockets
We now support local socket connectivity in our MySQL driver implementation by using the special hostname ".": By using "mysql://./DATABASE", we connect through a local socket, while "mysql://localhost/DATABASE" uses TCP/IP. This has been unified throughout the various MySQL drivers.

Mocking library
The package unittest.mock contains the all-new mocking library. The API is modeled in a fashion similar to EasyMock (Java), Rhino Mocks (.Net). You can read all about the details in RFC #219.

...and more
We have almost 20 bugfixes and various features included in this release - all of which can be seen in the ChangeLog.



Go get it!
  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4 -O - | php -- -d ~/bin/

Enjoy:-)



5.8.4RC4: Scriptlet parameters

at 2012-02-10 in 5.8-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the fourth release candidate for XP 5.8.4. On top of the third RC, we have included the changes to the scriptlet API previously announced here.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC4 -O - | php -- -d ~/bin/

Enjoy:-)



5.8.4RC3: JSON, Configuration, Properties and FC

at 2012-02-03 in 5.8-SERIES5.9-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the third release candidate for XP 5.8.4. On top of the second RC, we have included JSON serialization for objects, the possibility to supply multiple configuration sources for both XPCLIs and web applications based on RFC #0221, extended the util.Properties class to be case-insensitive when parsing boolean values and added a method lang.reflect.Field::getTypeName() for forward compatibility with the upcoming 5.9-SERIES.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC3 -O - | php -- -d ~/bin/

Enjoy:-)



New method Field::getTypeName()

at 2012-01-28 in 5.8-SERIESAnnouncements by friebe

In preparation for the upcoming change of lang.reflect.Field::getType(), due to fix its inconsistency with other parts of the reflection API, we have added a forward-compatible lang.reflect.Field::getTypeName() method that you can start migrating your code to so it will work in both XP Framework versions.

For an example of what needs to be changed, see this pull request to the XP compiler.



5.8.4RC2

at 2012-01-23 in 5.8-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the second release candidate for XP 5.8.4. On top of the first RC, we have included fixes for the HTTP transport based on the curl extension and bugfixes for XMLRPC deserialization. We would like to thank the contributors from over at GamePay for these patches! Also, there have been several optimization to the XP compiler in generating dependencies.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC2 -O - | php -- -d ~/bin/

Enjoy:-)



RFC #0231: Remove xp.contrib's "dba" module

at 2012-01-22 in 5.8-SERIES5.9-SERIESRFCs by friebe

Scope of Change
The module "dba" will be completely removed.

Rationale
The io.dba classes where deprecated in the 5.8-SERIES and moved to the ports repository (what is now "xp.contrib") for backwards compatibility on 2010-02-14, almost two years ago at the time of writing.

Read the full RFC here



XP 5.9 branch created

at 2011-12-21 in 5.9-SERIES5.8-SERIES by friebe

With a growing number of pull requests and feature requests stacking up which affect the XP Framework in a way that requires a series change, we've decided to create a branch for you to be able to preview the upcoming features.

After a git pull, you can set up a local branch by typing git branch --track xp5_9 origin/xp5_9. Afterwards, changing branches is as easy as git checkout xp5_9.

Shell screenshot

Features intended for the 5.8 series will be continued to be developed in the master branch and then merged to xp5_9.



5.8.0 Re-released

at 2011-01-18 in Releases5.8-SERIES by friebe

We discovered a bug in the 5.8.0 release files which lead to the XP compiler classes not being available in xp-tools.xar, and effectively the xcc command yielding:

  Uncaught exception: Exception lang.ClassNotFoundException
(Class "xp.compiler.Runner" could not be found)
This has been fixed and if you re-install the release everything will work as expected. Happy compiling!:-)



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