Scorpio 0.6.4 Released for Download

Posted by Dave Redfern (Writer), News on 19 Sep 2012 @ 02:52

We are pleased to announce a new point release in the 0.6 branch. This is a maintenance and bug fix release addressing a number of bugs and issues in the docblock comments.

The bug fixes include the following main items:

  1. utilityInputFilter now expressly sets the flag FILTER_FLAG_NO_ENCODE_QUOTES on filterString and filterStringArray as some versions of PHP 5.3 enable quote encoding by default - even when it is supposed to be disabled. This possibly started from 5.3.8 and this change ensures consistent behaviour across PHP versions.

  2. systemDateTime and systemDateTimeZone had changes made to prevent performance degradation when being used within data access objects. It turns out that calls into the DateTime object are actually expensive (in terms of process execution, verified via profiling under ZendDebugger) and the timezone checking was particularly slow. The timezone check has now been removed entirely so invalid timezones will result in errors.

    If dealing with many DateTime objects e.g. in DAOs for create/update dates or other dates within the same object, it is quicker to create one instance and then clone this and update the date/time via setters than instantiating new objects.

  3. Several classes required fixes for better PHP 5.3 compatibility e.g. Text_Diff was calling a non-static method, statically that would cause errors if E_STRICT is enabled.

Please note that the Scorpio Framework has now been migrated to the new SourceForge platform and the SVN repo address has changed. Please update any checkouts / links and take note that access via a secure connection now requires an SF login, however straight http will work fine for read-only access. If using an svn:external to pull in just the libraries, this should now be set to:

libraries http://svn.code.sf.net/p/scorpiofwork/code/scorpio/tags/0.6.4/libraries

Substitute the version number for your particular needs.

The full list of changes since 0.6.1 is listed below.

0.6.4

0.6.3

0.6.2

< Return to article