XP Language and compiler, 1.10.2-RELEASE

at 2013-05-20 in ReleasesLanguage by friebe

We are proud to announce the immediate availability of XP Language and compiler, version 1.10.2. This release contains a bugfix for fatal error during compilation of the following:

  class Test {
public
static [:ChangeLogParser] $changeLogs= [
'ChangeLog.md' : new MarkdownChangeLogParser(),
'ChangeLog' : new DefaultChangeLogParser()
];
}
Upgrade using xpi upgrade xp-framework/xp-language.



5.8.14-RELEASE: Finalizing XP 5.8

at 2013-05-17 in Releases5.8-SERIES by friebe

The XP group is proud to announce the immediate availability of XP Framework, version 5.8.14. This is the last planned release on the xp5_8 branch

It includes only two minor changes, a quickfix for issue #302 (Exception when not specifying a context class) and a changed to the REST routing mechanism to allow any character in path segments (see pull request #288).

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



XP Release procedure

at 2013-05-16 in EditorialReleases by friebe

After introducing the new build system a while ago, we've produced quite a number of releases already. Time for some documentation, now that we know the procedure works as expected.

The XP Wiki now contains a step by step howto for creating releases and release candidates. Here it is!



5.9.2-RELEASE

at 2013-05-16 in 5.9-SERIESAnnouncementsReleases by kiesel

The XP Framework group is proud to announce the immediate availability of the 5.9.2-RELEASE. In this release we focussed on refactoring the test suite to use the new unittest parametrization features introduced in 5.9.1 and generally added some fine tuning to the code.

5.9.2 is out and ready to be used:

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

Requires: Any PHP version between 5.3.0 and 5.5.0 - Enjoy!



XP Language and compiler, 1.10.1-RELEASE: xcc -e

at 2013-05-14 in ReleasesLanguage by friebe

We are proud to announce the immediate availability of XP Language and compiler, version 1.10.1. This release includes:

  • RFC #0249: Exponentiation operator. See here for details.
  • RFC #0238: xcc -e and xcc -w (command line code evaluation). See here for details.
  • Various bugfixes for PHP syntax
  • A command line option -q which will show only compilation errors
Upgrading / installation is done via XPI.



XP Language and compiler, 1.10.0-RELEASE: Compact syntax

at 2013-05-12 in ReleasesLanguage by friebe

After the release candidate two days ago, the XP group is proud to announce the immediate availability of the XP Language and compiler, version 1.10.0. This release includes:

  • Compact method, assignment and fluent interface syntax (the implementations of RFC #0240, #0241 and #0252. For details, see here
  • A dependency on XP 5.9.1 due to the usage of parameterized unittests. See the release announcement
  • Bugfixes for errors resolving abstract enums, problems with PHP 5.3

Furthermore, the complete code base has been converted to PHP 5.3 namespaces and the new coding standards.

Upgrading / installation is done via XPI. Enjoy:-)



5.9.1-RELEASE: Unittest parameterization, generics fixes

at 2013-05-10 in ReleasesAnnouncements5.9-SERIES by friebe

Roughly a week after releasing 5.9.0, we're already bumping the version to 5.9.1. This is due to the fact that RFC #0267 - Unittest parameterization, which we're now including, was opened after the feature freeze we announced with the availability of 5.9.0RC7. We're also including a series of fixes (and quite a bit of tests accompanying them) for generics.

Long story short, here we are, 5.9.1 is out and ready to be used:

  $ cd ~/xp
$ wget http://xp-framework.net/setup/5.9.1 -O - | php -- -d ~/bin/
Requires: Any PHP version between 5.3.0 and 5.5.0, full ChangeLog here - Enjoy!



XP Language and compiler, 1.10.0RC1: Compact syntax

at 2013-05-10 in ReleasesPHP5Language5.9-SERIES by friebe

After releasing version 1.9.0 last week, we've finally pushed forward the long-planned "compact syntax" feature which allows you to write value objects more concisely.

  public class Person {
protected string
$name;

public __construct
($this.name) { }
public void setName
($this.name) { }
public this withName
($this.name) { }
public string getName
() -> $this.name;
}
For details, see this pull request.

Upgrading / installation is done via XPI.



XP Compiler, 1.9.0

at 2013-05-05 in ReleasesLanguageAnnouncements5.9-SERIES by friebe

The XP group is proud to announce the immediate availability of XP Compiler, r1.9.0. This release is the first release to depend on XP 5.9.0 (hence we use the .9.0 in the version to give a hint) and the first in the now-separated release cycle. Besides this infrastrure change, this release includes support for the self keyword in parameters and return types and a bugfix for uniqid() no longer generating unique ids.

XP Language is available as an "xpi"-installable module named xp-framework/xp-language.



XPI - Install XP Modules

at 2013-05-05 in ReleasesRFCs5.9-SERIES by friebe

With their release cycles separated, our contrib modules cannot be downloaded alongside the XP Framework's releases anymore. In order to work around this, we now provide the "xpi" utility.

Basic usage

  # This will search for modules
$ xpi search query

# This will show information about a module, and its releases (newest first)
$ xpi info vendor/module

# This will install the newest release of the specified module
$ xpi add vendor/module

# This will upgrade the module to the newest release
$ xpi upgrade vendor/module

# This will list installed modules
$ xpi list

Local and global modules
The "xpi" utility works on a per-directory basis: Modules installed inside directory "project-a" will only be added to that class path, and not to the global one. While this is the desired behaviour for most situations (you want to use a library such as stomp inside one project, but not all of them), some XP modules should be made available globally. An example would be the XP Compiler and language. We recommend using the ~/.xp directory for this, and adding that to your xp.ini's use directive. Global modules can then be easily installed by typing:

  $ cd ~/.xp

# First usage
$ xpi add xp-framework/xp-language

# Later on
$ xpi upgrade xp-framework/xp-language

Further reading
For a complete overview of the XPI capabilities, see RFC #0270: XPI - Install XP modules.



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